-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
45 lines (45 loc) · 1.51 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"name": "fetchye-project",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "yarn workspaces run build",
"lint": "eslint --ignore-path .gitignore --ext js,jsx,md .",
"test": "yarn test:unit",
"test:unit": "jest",
"test:git-history": "commitlint --from origin/main --to HEAD",
"test:lockfile": "lockfile-lint --path yarn.lock --allowed-hosts registry.yarnpkg.com --validate-https",
"posttest": "yarn lint && yarn test:git-history && yarn test:lockfile",
"postinstall": "yarn build",
"lerna:beta": "lerna version prerelease --preid beta --no-push",
"lerna:version": "lerna version",
"lerna:publish": "lerna publish from-package --yes",
"lerna:deploy": "node lernaDeploy.js",
"packit": "find ./packages/* -type d -name fetchye\\* | xargs -L1 bash -c 'cd \"$0\" && yarn build && yarn pack'"
},
"devDependencies": {
"@babel/plugin-transform-react-jsx": "^7.12.1",
"@babel/polyfill": "^7.10.4",
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^9.1.1",
"amex-jest-preset-react": "^6.1.0",
"babel-preset-amex": "^3.4.1",
"core-js-compat": "3.6.5",
"eslint": "^8.19.0",
"eslint-config-amex": "^15.3.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-jest-dom": "^4.0.2",
"husky": "^4.2.5",
"jest": "^26.5.2",
"lerna": "^3.22.1",
"lockfile-lint": "^4.3.7"
},
"husky": {
"hooks": {
"pre-commit": "yarn test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}