forked from americanexpress/one-app-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.82 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "one-app-cli",
"scripts": {
"postinstall": "lerna bootstrap",
"test:lint": "eslint --ext js,jsx,snap,md .",
"test:unit": "NODE_ENV=production jest",
"test": "npm run test:unit",
"test:git-history": "commitlint --from origin/master --to HEAD",
"test:lockfile": "node lockFileLint.js",
"posttest": "npm run test:lint && npm run test:git-history && npm run test:lockfile",
"lerna:version": "lerna version",
"lerna:publish": "lerna publish from-package --yes",
"lerna:deploy":"node lernaDeploy.js"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"amex-jest-preset": "^5.0.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.2.2",
"eslint": "^6.8.0",
"eslint-config-amex": "^11.0.1",
"husky": "^3.1.0",
"jest": "^25.1.0",
"lerna": "^3.20.2",
"lockfile-lint": "^4.1.0",
"mock-fs": "^4.7.0",
"prop-types": "*"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/one-app-cli.git"
},
"jest": {
"preset": "amex-jest-preset",
"collectCoverageFrom": [
"packages/**/*.{js,jsx}",
"!**/node_modules/**",
"!**/build/**",
"!packages/*/lib/**",
"!packages/*/bin/**",
"!packages/*/test-utils.js",
"!packages/*/test-results/**",
"!packages/generator-one-app-module/generators/app/templates/**"
],
"coverageThreshold": {
"global": {
"statements": 99.44,
"branches": 99.15,
"lines": 99.71,
"functions": 97.67
}
},
"testPathIgnorePatterns": [
"packages/generator-one-app-module/generators/app/templates"
]
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}