forked from stackrox/stackrox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 2.76 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
{
"name": "@stackrox/ui",
"description": "Lerna-controlled monorepo for StackRox UI packages",
"version": "0.0.0",
"license": "UNLICENSED",
"private": true,
"workspaces": {
"packages": [
"apps/platform"
],
"nohoist": [
"**/mocha-multi-reporters",
"**/mocha-multi-reporters/**",
"**/@tailwindcss/**"
]
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"lerna:version": "lerna version --no-git-tag-version --no-push --yes",
"postlerna:version": "chalk bold red 'Please commit the changes and create a PR!'",
"prelerna:publish": "if [ ! \"$CI\" = true ]; then chalk bold red 'Not expected to be used outside of CI context.'; exit 1; fi",
"lerna:publish": "lerna publish from-package --yes",
"clean": "rm -rf build test-results; lerna run clean --stream",
"prestart": "chalk italic yellowBright 'Why CI=true? See https://github.com/facebook/create-react-app/issues/8685'",
"start": "CI=true lerna run start --parallel --stream",
"start:coverage": "CI=true lerna run start:coverage --scope @stackrox/platform-app --stream",
"lint": "lerna run lint --parallel --stream",
"test": "CI=true TEST_RESULTS_OUTPUT_DIR=../../test-results lerna run test --parallel --no-bail --stream",
"test-e2e": "TEST_RESULTS_OUTPUT_DIR=../../test-results lerna run test-e2e --parallel --no-bail --stream",
"test-e2e:coverage": "TEST_RESULTS_OUTPUT_DIR=../../test-results lerna run test-e2e:coverage --parallel --stream",
"test-component": "TEST_RESULTS_OUTPUT_DIR=../../test-results lerna run test-component --parallel --no-bail --stream",
"posttest-e2e:coverage": "mv apps/platform/coverage/ ./test-results/artifacts/",
"test-e2e-demo": "TEST_RESULTS_OUTPUT_DIR=../../test-results lerna run test-e2e-demo --scope @stackrox/platform-app --stream",
"prebuild": "yarn clean",
"build": "lerna run build --stream",
"postbuild": "mv apps/platform/build/ .",
"connect": "../scripts/connect-ui.sh ${1}",
"deploy": "../deploy/k8s/deploy.sh",
"deploy-local": "../deploy/k8s/deploy-local.sh",
"forward": "../scripts/port-forward-ui.sh"
},
"resolutions": {
"@jest/types": "^29.6.3",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"autoprefixer": "10.4.5",
"babel-jest": "^29.7.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-testing-library": "^6.2.0",
"jest": "^29.7.0",
"jest-resolve": "^29.7.0",
"jest-watch-typeahead": "^2.2.2"
},
"devDependencies": {
"chalk-cli": "^5.0.0",
"lerna": "^3.22.1"
}
}