-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.58 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
{
"name": "ubur",
"version": "1.0.0",
"type": "module",
"engines": {
"node": ">=14"
},
"scripts": {
"dev": "npm run wasm && run-p wasm-watch vite-dev",
"build": "npm run wasm && npm run wasm-opt && tsc && vite build",
"preview": "vite preview",
"lint": "eslint src",
"lint-staged": "lint-staged",
"size": "size-limit",
"vite-dev": "vite",
"wasm": "rm -rf pkg && wasm-pack build --target web",
"wasm-watch": "onchange 'rust/**/*.rs' 'Cargo.toml' -- npm run wasm",
"wasm-opt": "wasm-opt -Oz ./pkg/ubur_bg.wasm -o ./pkg/ubur_bg.wasm",
"prepare": "husky install"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"gl-matrix": "^3.4.3"
},
"devDependencies": {
"@size-limit/file": "^8.1.0",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"autoprefixer": "^10.4.12",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"postcss": "^8.4.17",
"prettier": "^2.7.1",
"size-limit": "^8.1.0",
"tailwindcss": "^3.1.8",
"typescript": "^4.8.4",
"vite": "^3.1.6",
"vite-plugin-glsl": "^0.5.1",
"vite-plugin-minify": "^1.5.2",
"wasm-opt": "^1.3.0",
"wasm-pack": "^0.10.3"
},
"lint-staged": {
"src/**/*.{js,ts}": [
"eslint"
],
"*.{html,css}": [
"prettier --write"
]
},
"size-limit": [
{
"path": "dist",
"limit": "100 kB"
}
]
}