-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
80 lines (80 loc) · 2.56 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
{
"name": "@galacean/engine-toolkit-root",
"version": "1.3.9",
"packageManager": "[email protected]",
"private": true,
"workspaces": [
"packages/*"
],
"homepage": "https://oasisengine.cn/",
"repository": "https://github.com/galacean/engine-toolkit",
"bugs": "https://github.com/galacean/engine-toolkit/issues",
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "cross-env TS_NODE_PROJECT=tsconfig.tests.json floss --path tests -r ts-node/register",
"test-debug": "cross-env TS_NODE_PROJECT=tsconfig.tests.json floss --path tests -r ts-node/register --debug",
"test-cov": "cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc --reporter=lcov floss --path tests -r ts-node/register",
"ci": "pnpm install && npm run build && npm run b:types && npm run test-cov",
"lint": "eslint packages/*/src --ext .ts",
"watch": "rollup -cw -m inline",
"b:types": "pnpm -r --filter=./packages/* run b:types",
"build": "rollup -c",
"b:all": "pnpm run b:types && cross-env BUILD_TYPE=ALL rollup -c",
"clean": "pnpm -r exec rm -rf dist && pnpm -r exec rm -rf types",
"release": "bumpp -r"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-inject": "^5.0.3",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@swc/core": "^1.3.49",
"@swc/helpers": "^0.5.0",
"@types/chai": "^4.3.3",
"@types/mocha": "^8.2.3",
"@types/node": "^18.7.18",
"@types/offscreencanvas": "^2019.7.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"bumpp": "^9.5.2",
"camelcase": "^7.0.1",
"chai": "^4.3.6",
"cross-env": "^5.2.1",
"electron": "^13.6.9",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.4.1",
"floss": "^5.0.1",
"husky": "^8.0.3",
"lint-staged": "^10.5.4",
"nyc": "^15.1.0",
"prettier": "^2.7.1",
"rollup": "^3",
"rollup-plugin-binary2base64": "1.0.3",
"rollup-plugin-glslify": "^1.3.1",
"rollup-plugin-modify": "^3.0.0",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-swc3": "^0.8.0",
"ts-node": "^10",
"typescript": "^4.8.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts}": [
"eslint --fix",
"git add"
]
},
"pnpm": {
"overrides": {
"@galacean/engine": "^1.3.0-beta.6"
}
}
}