-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
90 lines (90 loc) · 2.3 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
{
"name": "unity",
"private": true,
"scripts": {
"clean": "rimraf dist",
"format": "prettier --write --cache .",
"format-check": "prettier --check --cache .",
"build:core": "pnpm --filter unity-webgl run build",
"build:components": "pnpm --filter components run build",
"build:all": "pnpm -r --filter=./lib/* run build",
"build": "pnpm run build:core && pnpm run build:components",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"demo": "pnpm --filter html run dev",
"demo:vue2": "pnpm --filter vue2 run dev",
"demo:vue3": "pnpm --filter vue3 run dev",
"bump": "bumpp lib/core/package.json",
"publish": "pnpm -r --filter unity-webgl publish --no-git-checks",
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "node scripts/verifyCommit.mjs"
},
"lint-staged": {
"*.{js,mjs,json,cjs}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"changelogithub": {
"types": {
"feat": {
"title": "🎉 Features"
},
"fix": {
"title": "🐞 Bug Fixes"
},
"perf": {
"title": "🚀 Performance"
},
"docs": {
"title": "📝 Documentation"
},
"refactor": {
"title": "♻️ Code Refactoring"
}
}
},
"keywords": [],
"author": "Mariner <[email protected]>",
"license": "Apache-2.0",
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"@testing-library/jest-dom": "^6.6.3",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.2",
"bumpp": "^9.9.0",
"changelogithub": "^0.13.11",
"diy-log": "^2.5.2",
"execa": "^9.5.2",
"fast-glob": "^3.3.2",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.11",
"minimist": "^1.2.8",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"rollup": "^4.28.1",
"rollup-plugin-dts": "^6.1.1",
"simple-git-hooks": "^2.11.1",
"ts-jest": "^29.2.5",
"tslib": "^2.8.1",
"typescript": "^5.7.2"
}
}