forked from jupyterlab/jupyterlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 5.51 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"private": true,
"workspaces": {
"packages": [
"dev_mode",
"examples/*",
"packages/*",
"packages/services/examples/node",
"packages/services/examples/browser",
"packages/services/examples/typescript-browser-with-output",
"buildutils",
"buildutils/template",
"buildutils/test-template",
"tests",
"tests/test-*",
"testutils",
"jupyterlab/tests/mock_packages/extension"
]
},
"scripts": {
"add:sibling": "node buildutils/lib/add-sibling.js",
"analyze": "jlpm run analyze:dev",
"analyze:dev": "cd dev_mode && jlpm run build --analyze",
"analyze:prod": "cd dev_mode && jlpm run build:prod --analyze",
"build": "jlpm run build:dev",
"build:core": "cd jupyterlab/staging && jlpm && (jlpm deduplicate || jlpm) && jlpm run build",
"build:dev": "jlpm run integrity && jlpm run build:vega && jlpm run build:packages && cd dev_mode && jlpm run build",
"build:dev:prod": "jlpm run integrity && jlpm run build:packages && cd dev_mode && jlpm run build:prod",
"build:examples": "lerna run build --scope \"@jupyterlab/example-*\"",
"build:packages": "cd packages/metapackage && jlpm run build",
"build:src": "lerna run build --scope \"@jupyterlab/!(test-|example-|application-top)*\" --concurrency 1",
"build:test": "lerna run build --scope \"@jupyterlab/test-*\" --concurrency 1",
"build:testutils": "cd testutils && jlpm run build",
"build:utils": "cd buildutils && jlpm run build",
"build:vega": "jlpm run build:vega:4 && jlpm run build:vega:5",
"build:vega:4": "cd prebuild/vega4 && jlpm && jlpm run build",
"build:vega:5": "cd prebuild/vega5 && jlpm && jlpm run build",
"bump:js:major": "node buildutils/lib/bump-js-major.js",
"bumpversion": "node buildutils/lib/bumpversion.js",
"clean": "jlpm run clean:dev && jlpm run clean:packages",
"clean:core": "cd jupyterlab/staging && jlpm run clean",
"clean:dev": "cd dev_mode && jlpm run clean",
"clean:examples": "node buildutils/lib/clean-packages.js examples",
"clean:packages": "node buildutils/lib/clean-packages.js packages",
"clean:slate": "python clean.py && python -m pip install -v -e .",
"clean:src": "jlpm run clean",
"clean:test": "lerna run clean --scope \"@jupyterlab/test-*\"",
"clean:utils": "cd buildutils && jlpm run clean",
"coverage": "lerna run coverage --scope \"@jupyterlab/test-*\" --stream --concurrency 1",
"create:package": "node buildutils/lib/create-package.js",
"create:test": "node buildutils/lib/create-test-package.js",
"create:theme": "node buildutils/lib/create-theme.js",
"deduplicate": "jlpm yarn-deduplicate -s fewer",
"docs": "lerna run docs",
"eslint": "eslint --fix .",
"eslint:check": "eslint .",
"get:dependency": "node buildutils/lib/get-dependency.js",
"postinstall": "node scripts/ensure-buildutils.js",
"integrity": "node scripts/ensure-buildutils.js && node buildutils/lib/ensure-repo.js",
"lighthouse": "lighthouse http://localhost:8888/ --chrome-flags='--headless' --emulated-form-factor=none --throttling-method=provided --only-categories performance",
"lighthouse:compare": "node testutils/lib/compare-lighthouse.js",
"lighthouse:throttling:start": "comcast --latency=40 --target-bw=30000 --packet-loss=0.2%",
"lighthouse:throttling:stop": "comcast --stop",
"lint": "jlpm && jlpm run prettier && jlpm run eslint && jlpm run tslint",
"lint:check": "jlpm run prettier:check && jlpm run eslint:check && jlpm run tslint:check",
"patch:release": "node buildutils/lib/patch-release.js",
"prepublish:check": "node buildutils/lib/prepublish-check.js",
"prettier": "prettier --write '**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}'",
"prettier:check": "prettier --list-different '**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}'",
"publish:all": "node buildutils/lib/publish.js",
"remove:dependency": "node buildutils/lib/remove-dependency.js",
"remove:package": "node buildutils/lib/remove-package.js",
"remove:sibling": "node buildutils/lib/remove-package.js",
"test": "lerna run test --scope \"@jupyterlab/test-*\" --concurrency 1 --stream",
"test:chrome": "lerna run test:chrome --scope \"@jupyterlab/test-*\" --concurrency 1 --stream",
"test:chrome-headless": "lerna run test:chrome-headless --scope \"@jupyterlab/test-*\" --concurrency 1 --stream",
"test:examples": "python examples/test_examples.py",
"test:firefox": "lerna run test:firefox --scope \"@jupyterlab/test-*\" --concurrency 1 --stream",
"test:ie": "lerna run test:ie --scope \"@jupyterlab/test-*\" --concurrency 1 --stream",
"tslint": "tslint --fix -c tslint.json --project tsconfigbase.json '**/*{.ts,.tsx}'",
"tslint:check": "tslint -c tslint.json --project tsconfigbase.json '**/*{.ts,.tsx}'",
"update:dependency": "node buildutils/lib/update-dependency.js --lerna",
"watch": "python scripts/watch_dev.py",
"watch:main": "jlpm run watch",
"watch:packages": "python scripts/watch_packages.py"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "jlpm run integrity"
}
},
"dependencies": {},
"devDependencies": {
"@types/mocha": "^5.2.6",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-prettier": "^3.0.1",
"husky": "^2.3.0",
"lerna": "^3.13.2",
"lint-staged": "^8.1.5",
"prettier": "^1.18.2",
"tslint": "^5.15.0",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.1",
"tslint-react": "^4.0.0",
"yarn": "1.15.2"
}
}