forked from stackrox/stackrox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 2.61 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
{
"name": "@stackrox/ui",
"description": "Lerna-controlled monorepo for StackRox UI packages",
"version": "0.0.0",
"license": "UNLICENSED",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"apps/*"
],
"nohoist": [
"**/mocha-multi-reporters",
"**/mocha-multi-reporters/**",
"**/@tailwindcss/**"
]
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"postinstall": "./scripts/patch-deps.sh",
"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": "yarn build:packages && lerna run lint --parallel --stream",
"test": "yarn build:packages && 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",
"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",
"build:packages": "lerna run build --stream --ignore @stackrox/*-app",
"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": {
"@typescript-eslint/parser": "^4.32.0",
"autoprefixer": "10.4.5",
"eslint-plugin-testing-library": "^6.0.1"
},
"devDependencies": {
"chalk-cli": "^5.0.0",
"lerna": "^3.22.1",
"postinstall-postinstall": "^2.1.0"
}
}