forked from canonical/maas-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 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
61
62
63
64
65
66
67
68
69
70
71
{
"name": "maas-ui-monorepo",
"version": "1.3.1-monorepo",
"private": true,
"license": "AGPL-3.0",
"scripts": {
"betterer": "yarn --cwd ui betterer",
"build": "yarn build-shared",
"build-all": "yarn clean-all && yarn build-shared && yarn build-legacy && yarn build-ui && yarn build-root && yarn copy-build",
"build-shared": "cd shared && yarn install && yarn build",
"build-legacy": "cd legacy && yarn install && yarn build",
"build-root": "cd root && yarn install && yarn build",
"build-ui": "cd ui && yarn install && yarn build",
"cypress-open": "yarn --cwd integration cypress-open",
"cypress-run": "yarn --cwd integration cypress-run",
"copy-build": "mkdir -p build && yarn copy-root && yarn copy-legacy-assets && yarn copy-ui-css",
"copy-legacy-assets": "cp -R legacy/dist/assets build/",
"copy-root": "cp -R root/dist/* build/",
"copy-ui-css": "cp ui/dist/static/css/* build/assets/css/",
"commit": "git-cz",
"release": "cd ui && yarn run release",
"serve": "cd proxy && yarn start",
"start": "yarn serve",
"clean": "yarn clean-all",
"clean-all": "rm -rf build && yarn clean-monorepo && yarn clean-proxy && yarn clean-shared && yarn clean-legacy && yarn clean-ui && yarn clean-root",
"clean-monorepo": "rm -rf node_modules",
"clean-legacy": "cd legacy && yarn run clean",
"clean-ui": "cd ui && yarn run clean",
"clean-proxy": "cd proxy && yarn run clean",
"clean-shared": "cd shared && yarn run clean",
"clean-root": "cd root && yarn run clean",
"link-components": "yarn link \"@canonical/react-components\" && yarn link \"react\" && yarn install",
"unlink-components": "yarn unlink react && yarn unlink \"@canonical/react-components\"",
"lint-legacy": "cd legacy && yarn run lint",
"lint-ui": "cd ui && yarn run lint",
"lint-shared": "cd shared && yarn run lint",
"lint-root": "cd root && yarn run lint",
"lint": "yarn lint-legacy && yarn lint-ui && yarn lint-shared && yarn lint-root",
"test-cypress": "yarn --cwd integration run cypress-test",
"test-legacy": "cd legacy && yarn run test",
"test-ui": "cd ui && yarn run test --watchAll=false",
"test-shared": "cd shared && yarn run test",
"test": "yarn build-shared && yarn test-legacy && yarn test-ui && yarn test-shared",
"ui": "cd proxy && yarn start-ui"
},
"workspaces": {
"packages": [
"integration",
"legacy",
"proxy",
"shared",
"ui",
"root"
],
"nohoist": [
"**/babel**",
"**/eslint**",
"**/react-scripts**",
"**/jest",
"**/webpack**"
]
},
"devDependencies": {
"cz-conventional-changelog": "3.3.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}