forked from jupyterlab/jupyterlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 5.53 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
110
111
112
{
"private": true,
"workspaces": {
"packages": [
"dev_mode",
"examples/*",
"examples/federated/*",
"packages/*",
"packages/services/examples/node",
"packages/services/examples/browser",
"packages/services/examples/typescript-browser-with-output",
"builder",
"buildutils",
"buildutils/template",
"buildutils/test-template",
"tests",
"tests/test-*",
"testutils",
"jupyterlab/tests/mock_packages/extension",
"jupyterlab/tests/mock_packages/interop/*"
]
},
"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:builder": "cd builder && jlpm run build",
"build:core": "cd jupyterlab/staging && jlpm && (jlpm deduplicate || jlpm) && jlpm run build",
"build:dev": "jlpm run integrity && jlpm run build:packages && jlpm run build:builder && cd dev_mode && jlpm run build",
"build:dev:prod": "jlpm run integrity && jlpm run build:packages && cd dev_mode && jlpm run build:prod",
"build:dev:prod:release": "jlpm run integrity && jlpm run build:packages && cd dev_mode && jlpm run build:prod:release",
"build:examples": "lerna run build --scope \"@jupyterlab/example-*\"",
"build:packages": "cd packages/metapackage && jlpm run build",
"build:packages:scope": "lerna run build",
"build:src": "lerna run build --scope \"@jupyterlab/!(test-|example-|application-top)*\" --concurrency 1",
"build:storybook": "lerna run build:storybook --concurrency 1",
"build:test:scope": "lerna run build --concurrency 1",
"build:testutils": "cd testutils && jlpm run build",
"build:utils": "cd buildutils && 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 --fail",
"docs": "typedoc --options typedoc.js",
"docs:init": "lerna run docs:init",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx --fix .",
"eslint:check": "eslint --ext .js,.jsx,.ts,.tsx .",
"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",
"lint:check": "jlpm run prettier:check && jlpm run eslint: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/*\" --concurrency 1 --stream",
"test:all": "lerna run test --scope \"@jupyterlab/*\" --concurrency 1 --stream --no-bail",
"test:examples": "python examples/test_examples.py",
"test:scope": "lerna run test --concurrency 1 --stream",
"test:summary": "lerna run test --scope \"@jupyterlab/*\" --parallel --no-bail | grep -Ei '.* test.*(failed|passed|total|completed|skipped)' | sort",
"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 --force"
}
},
"dependencies": {},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"husky": "^4.2.5",
"lerna": "^3.19.0",
"lint-staged": "^10.2.13",
"prettier": "^2.1.1",
"shell-quote": "^1.7.2",
"typedoc": "~0.20.0-beta.27",
"yarn": "1.21.1"
}
}