forked from linode/manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 3.68 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
{
"name": "root",
"private": true,
"license": "Apache-2.0",
"devDependencies": {
"audit-ci": "^2.4.2",
"husky": "^3.0.1",
"postinstall": "^0.6.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^4.1.0",
"tslint-react-a11y": "^1.1.0",
"tslint-react-hooks": "^2.2.1",
"typescript": "~3.7.3",
"wait-on": "^4.0.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn workspaces run precommit",
"pre-push": "yarn workspace linode-manager prepush"
}
},
"scripts": {
"cost-of-modules": "yarn global add cost-of-modules && cost-of-modules --less --no-install --include-dev",
"install:all": "yarn install --frozen-lockfile",
"up": "yarn install:all && yarn start:all",
"postinstall": "yarn workspaces run postinstall",
"build": "yarn workspaces run build",
"build:analyze": "yarn build --bundle-analyze",
"up:manager": "yarn install:all && yarn start:manager",
"start:manager": "yarn workspace linode-js-sdk build && yarn workspace linode-manager start --color",
"start:docker": "yarn workspace linode-js-sdk build && yarn start:all",
"start:all": "concurrently \"yarn workspace linode-js-sdk start\" \"yarn workspace linode-manager start\"",
"clean": "rm -rf node_modules && rm -rf packages/linode-js-sdk/node_modules && rm -rf packages/manager/node_modules",
"test": "yarn workspace linode-manager test",
"selenium": "yarn workspace linode-manager selenium",
"selenium:install": "yarn workspace linode-manager selenium:install",
"storybook": "yarn workspace linode-manager storybook",
"storybook:e2e": "yarn workspace linode-manager run storybook:e2e",
"storybook:debug": "yarn workspace linode-manager storybook:e2e --color --debug",
"e2e": "yarn workspace linode-manager e2e --color",
"e2e:all": "yarn workspace linode-manager e2e:all --color",
"e2e:modified": "yarn workspace linode-manager e2e:modified --color",
"cy:stage2e": "yarn workspace linode-manager cy:stage2e",
"cy:stagedebug": "yarn workspace linode-manager cy:stagedebug",
"cy:e2e": "yarn workspace linode-manager cy:e2e",
"cy:debug": "yarn workspace linode-manager cy:debug",
"docker:cy": "docker build -t cloudcy -f Dockerfile-e2e . && docker run --rm cloudcy",
"docker:sb": "docker build -t cloudsb -f Dockerfile-storybook . && docker run --rm cloudsb",
"docker:e2e": "docker-compose -f integration-test.yml up --exit-code-from manager-e2e",
"docker:test": "docker build -f Dockerfile . -t 'manager' && docker run -it cloud --rm -v $(pwd)/packages/manager/src:/home/node/app/packages/manager/src -v $(pwd)/packages/linode-js-sdk/src:/home/node/app/packages/linode-js-sdk/src manager test",
"docker:local": "docker build -f Dockerfile . -t 'manager' -t 'dev' && docker run -it --rm -p 3000:3000 -v $(pwd)/packages/manager/src:/home/node/app/packages/manager/src -v $(pwd)/packages/linode-js-sdk/src:/home/node/app/packages/linode-js-sdk/src manager start:docker",
"docker:storybook": "docker build -f Dockerfile . -t 'storybook' && docker run -it --rm -p 6006:6006 -v $(pwd)/packages/manager/src:/home/node/app/packages/manager/src -v $(pwd)/packages/linode-js-sdk/src:/home/node/app/packages/linode-js-sdk/src storybook storybook",
"docker:storybook:test": "docker-compose -f packages/manager/storybook-test.yml up --build --exit-code-from storybook-test",
"start:nginx": "docker run --rm --name www -p 3000:80 -v $(pwd)/packages/manager/build:/usr/share/nginx/html -v $(pwd)/nginx-e2e.conf:/etc/nginx/conf.d/default.conf:ro -d nginx"
},
"resolutions": {
"handlebars": "^4.4.3"
},
"workspaces": {
"packages": [
"packages/*"
]
},
"version": "0.0.0"
}