-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
52 lines (52 loc) · 1.73 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
{
"name": "polaris.gl",
"_name": "@polaris.gl/root",
"private": true,
"workspaces": {
"packages": [
"packages-gsi/**",
"packages/**",
"examples-vite",
"examples-vite-*"
],
"nohoist": [
"**/@polaris.gl/examples-vite/**",
"**/@polaris.gl/examples-vite-*/**",
"**/@types/**"
]
},
"scripts": {
"start": "npm run start:vite",
"start:webpack": "npx concurrently --kill-others --names \"watch,examples\" \"npm run watch\" \"cd ./examples && npm start\" ",
"start:vite": "npx concurrently --kill-others --names \"watch,examples\" \"npm run watch\" \"cd ./examples-vite && npm start\" ",
"setup": "node scripts/setup.mjs",
"updateStructure": "rm -rf ./yarn.lock && npm run setup && node scripts/copyFiles.mjs && node scripts/fixTsReferences.mjs",
"clean": "rm -rf ./yarn.lock && rm -rf gsi-packages && rm -rf ./node_modules && lerna clean -y && lerna run --no-private --stream --parallel clean",
"build": "lerna run build --ignore @gs.i/* --stream --no-private",
"rebuild": "lerna run --no-private --stream rebuild",
"watch": "node scripts/watch.mjs --fast",
"prepare": "husky install"
},
"lint-staged": {
"**/*.{js,ts,cjs,cts,mjs,mts,jsx,tsx}": [
"eslint",
"prettier --write --ignore-unknown"
]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"chokidar": "^3.5.2",
"colors": "=1.4.0",
"concurrently": "^6.4.0",
"eslint": "^8.41.0",
"eslint-config-prettier": "8.3.0",
"husky": "^7.0.4",
"jsonc-parser": "^3.0.0",
"lint-staged": "^12.3.7",
"prettier": "^2.6.1",
"shelljs": "^0.8.5",
"typescript": "^5.0.0",
"vite": "*"
}
}