forked from jupyterlab/jupyterlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 6.7 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "@jupyterlab/repo-top",
"version": "0.0.1",
"private": true,
"files": [],
"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",
"galata",
"tests",
"tests/test-*",
"testutils",
"jupyterlab/tests/mock_packages/extension",
"jupyterlab/tests/mock_packages/interop/*"
]
},
"scripts": {
"after:publish:assets": "jlpm && jlpm run build:utils && node buildutils/lib/publish --skip-publish",
"analyze": "jlpm run analyze:dev",
"analyze:dev": "cd dev_mode && jlpm run build --analyze",
"analyze:prod": "cd dev_mode && jlpm run build:prod --analyze",
"before:build:python": "node buildutils/lib/local-repository.js publish-dists --path ./dist && node buildutils/lib/update-core-mode.js",
"build": "jlpm run build:dev",
"build:all": "lerna run build:all",
"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:all && cd dev_mode && jlpm run build",
"build:dev:prod": "jlpm run integrity && jlpm run build:all && cd dev_mode && jlpm run build:prod",
"build:dev:prod:release": "jlpm run integrity && jlpm run build:all && cd dev_mode && jlpm run build:prod:release",
"build:examples": "lerna run build --scope \"@jupyterlab/example-*\"",
"build:galata": "cd galata && jlpm run build",
"build:nbconvert:css": "cd packages/nbconvert-css && jlpm run build",
"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:test": "lerna run build:test",
"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:galata": "cd galata && jlpm run clean",
"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",
"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 --cache --fix .",
"eslint:check": "eslint --ext .js,.jsx,.ts,.tsx --cache .",
"eslint:check:typed": "eslint --config .eslintrc.typecheck.js --ext .js,.jsx,.ts,.tsx .",
"eslint:typed": "eslint --config .eslintrc.typecheck.js --cache --ext .js,.jsx,.ts,.tsx --fix .",
"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 prettier && jlpm eslint && jlpm stylelint",
"lint:check": "jlpm prettier:check && jlpm eslint:check && jlpm stylelint:check",
"patch:release": "node buildutils/lib/patch-release.js",
"prepare:python-release": "node buildutils/lib/prepare-python-release.js",
"prepublish:check": "node buildutils/lib/prepublish-check.js",
"prettier": "prettier --write \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
"prettier:check": "prettier --check \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
"publish:js": "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",
"stylelint": "jlpm stylelint:check --fix",
"stylelint:check": "stylelint --cache \"{packages/*,galata}/style/**/*.css\" \"{examples/*,docs/**}/*.css\"",
"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:galata": "lerna run test --scope \"@jupyterlab/galata\" --concurrency 1 --stream",
"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"
}
},
"resolutions": {
"@types/node": "^14.6.1",
"react": "^17.0.1"
},
"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": "^4.0.0",
"lint-staged": "^10.2.13",
"prettier": "~2.1.1",
"shell-quote": "^1.7.2",
"stylelint": "^14.3.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended": "^6.0.0",
"stylelint-config-standard": "~24.0.0",
"stylelint-prettier": "^2.0.0",
"typedoc": "~0.22.10",
"yarn": "1.22.17"
}
}