-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
77 lines (77 loc) · 4.14 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
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "root",
"private": true,
"engines": {
"node": ">=12",
"npm": ">=6"
},
"devDependencies": {
"@antora/cli": "^2.3.3",
"@antora/site-generator-default": "^2.3.3",
"@commitlint/cli": "^8.3.4",
"@commitlint/config-conventional": "^8.3.4",
"@commitlint/travis-cli": "^8.3.4",
"commitizen": "^4.1.2",
"cz-lerna-changelog": "^2.0.2",
"fs-extra": "^8.1.0",
"husky": "^4.0.6",
"js-yaml": "^3.13.1",
"lerna": "^3.19.0",
"mkdirp": "^1.0.4",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"semantic-release": "^15.13.31",
"snyk": "^1.299.0"
},
"scripts": {
"lerna": "lerna",
"antora": "antora",
"antora:gen": "antora --fetch",
"commit": "node node_modules/commitizen/bin/git-cz",
"pack-given-client-libs": "node scripts/pack-given-client-libs.js",
"pack-react-client-libs": "node scripts/pack-react-client-libs.js",
"pack-react-native-client-libs": "node scripts/pack-react-native-client-libs.js",
"update-given-client-libs": "node scripts/update-given-client-libs.js",
"update-react-client-libs": "npm run pack-react-client-libs && node scripts/update-react-client-libs.js",
"update-react-native-client-libs": "npm run pack-react-native-client-libs && node scripts/update-react-native-client-libs.js",
"update-react-ui": "npm run pack-given-client-libs @cuba-platform/react-ui && npm run update-given-client-libs react-client-scr react-ui",
"update-react-core": "npm run pack-given-client-libs @cuba-platform/react-core && npm run update-given-client-libs react-client-scr react-core",
"update-react-core-and-ui": "npm run pack-given-client-libs @cuba-platform/react-ui @cuba-platform/react-core && npm run update-given-client-libs react-client-scr react-core react-ui",
"bootstrap-react-app": "node scripts/generate-react-client-scr.js && npm run update-react-client-libs",
"bootstrap-react-native-app": "node scripts/generate-react-native-client-scr.js && npm run update-react-native-client-libs",
"bootstrap-cuba-app": "node scripts/run-gradle.js -p sample-car-rent setupTomcat createDb",
"start-react-app": "npm run start --prefix react-client-scr",
"start-react-native-app": "npm run web --prefix react-native-client-scr -- -c",
"start-cuba-app": "node scripts/run-gradle.js -p sample-car-rent assemble deploy start",
"react-all": "npm run bootstrap-react-app && npm run bootstrap-cuba-app && npm run start-cuba-app && npm run start-react-app",
"react-native-all": "npm run bootstrap-react-native-app && npm run bootstrap-cuba-app && npm run start-cuba-app && npm run start-react-native-app",
"test:all": "npm run test:coverage && npm run test:integration && npm run test:e2e",
"test:coverage": "echo 'UNIT TESTS AND COVERAGE' && lerna run coverage",
"test:integration": "echo 'INTEGRATION TESTS ON GENERATED APP' && lerna run test:e2e --scope @cuba-platform/front-generator",
"test:e2e": "echo 'PUPPETEER E2E TESTS' && npm test react-client-scr/ --prefix test-pup",
"snyk": "snyk",
"snyk:auth": "snyk auth",
"snyk:test": "node scripts/audit/snyk.js test",
"snyk:monitor": "node scripts/audit/snyk.js monitor",
"snyk:wizard": "export NODE_OPTIONS=--max-old-space-size=8192 && node scripts/audit/snyk.js wizard",
"snyk:wizard-scr": "export NODE_OPTIONS=--max-old-space-size=8192 && node scripts/audit/snyk.js wizard react-client-scr true .snyk-react-client-scr",
"doc:site": "node scripts/docs/generate-docs-site.js",
"doc:site-cn": "node scripts/docs/generate-docs-site.js docs-src-cn",
"doc:manual-cn": "node scripts/docs/generate-docs-site.js docs-src-cn manualOnly",
"doc:src": "node scripts/docs/update-docs-src.js",
"validate-react-app": "prettier --check react-client-scr/**/*.ts && CI=true npm test --prefix react-client-scr",
"publish:versions": "lerna version -m 'chore: bump versions' --no-push --conventional-commits"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-lerna-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"license": "Apache-2.0",
"author": "CUBA Platform Team <info@cuba-platform.com>"
}