-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
40 lines (40 loc) · 2.11 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
{
"private": true,
"workspaces": [
"services/*",
"frontend"
],
"scripts": {
"build:frontend": "lerna run build --scope frontend",
"lint": "lerna exec yarn lint",
"test": "lerna exec yarn test",
"test:ci": "lerna exec --concurrency 1 yarn test:ci",
"test:e2e": "lerna run --concurrency 1 test:e2e",
"coverage": "lerna exec --concurrency 1 yarn coverage",
"deploy:dev": "lerna run --concurrency 1 deploy --ignore 'frontend' -- --stage dev && lerna run deploy --scope frontend -- --stage dev",
"deploy:qa": "lerna run --concurrency 1 deploy --ignore 'frontend' -- --stage qa && lerna run deploy --scope frontend -- --stage qa",
"deploy:prod": "lerna run --concurrency 1 deploy --ignore 'frontend' -- --stage prod && lerna run deploy --scope frontend -- --stage prod",
"publish:frontend:dev": "lerna run publish --scope frontend -- --stage dev",
"publish:frontend:qa": "lerna run publish --scope frontend -- --stage qa",
"publish:frontend:prod": "lerna run publish --scope frontend -- --stage prod",
"run:all:dev": "yarn deploy:dev && yarn build:frontend && yarn publish:frontend:dev",
"run:all:qa": "yarn deploy:qa && yarn build:frontend && yarn publish:frontend:qa",
"run:all:prod": "yarn deploy:prod && yarn build:frontend && yarn publish:frontend:prod",
"remove:all:dev": "lerna run --concurrency 1 remove --scope 'frontend' -- --stage dev && lerna run --concurrency 1 remove --ignore 'frontend' -- --stage dev",
"remove:all:qa": "lerna run --concurrency 1 remove --scope 'frontend' -- --stage qa && lerna run --concurrency 1 remove --ignore 'frontend' -- --stage qa",
"remove:all:prod": "lerna run --concurrency 1 remove --scope 'frontend' -- --stage prod && lerna run --concurrency 1 remove --ignore 'frontend' -- --stage prod",
"prettier": "lerna exec yarn prettier",
"prettier:ci": "lerna exec yarn prettier:ci"
},
"devDependencies": {
"jest-junit": "^13.0.0",
"lerna": "^4.0.0",
"prettier": "^2.0.0"
},
"author": "Erez Rokah",
"license": "MIT",
"name": "serverless-monorepo-app",
"resolutions": {
"@types/react": "17.0.83"
}
}