forked from google/swissgl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.14 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
{
"name": "@pluvial/zgl",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/pluvial/zgl"
},
"version": "0.0.2",
"type": "module",
"exports": {
".": {
"import": "./dist/zgl.js",
"types": "./dist/zgl.d.ts"
},
"./dist/zgl.min.js": {
"import": "./dist/zgl.min.js",
"types": "./dist/zgl.d.ts"
},
"./dist/zgl.terser.js": {
"import": "./dist/zgl.terser.js",
"types": "./dist/zgl.d.ts"
}
},
"files": [
"dist",
"package.json",
"patches",
"LICENSE",
"README.md"
],
"devDependencies": {
"@eslint/js": "^8.53.0",
"@sergeymakinen/vite-plugin-html-minimize": "^1.0.6",
"@types/eslint": "^8.44.7",
"@types/node": "^20.9.0",
"@types/webxr": "^0.5.7",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"globals": "^13.23.0",
"lil-gui": "^0.19.0",
"prettier": "^3.0.3",
"prettier-plugin-glsl": "^0.1.3",
"terser": "^5.21.0",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vite-plugin-glsl": "^1.1.2",
"vite-plugin-singlefile": "^0.13.5"
},
"pnpm": {
"patchedDependencies": {
"lil-gui@0.19.0": "patches/lil-gui@0.19.0.patch"
}
},
"scripts": {
"dev": "vite",
"build": "ESBUILD=1 pnpm build:esm",
"build:esm": "tsc && vite build",
"build:terser": "TERSER=1 pnpm build:esm",
"lib": "pnpm lib:esm && pnpm lib:min && pnpm lib:terser && pnpm lib:tsc",
"lib:esm": "vite build -c vite.lib.config.js",
"lib:min": "esbuild --minify --platform=neutral dist/zgl.js --outfile=dist/zgl.min.js",
"lib:terser": "terser dist/zgl.js -c -m --mangle-props --module --comments false -o dist/zgl.terser.js",
"lib:tsc": "tsc -p tsconfig.lib.json",
"lint": "prettier --check . && pnpm eslint",
"eslint": "eslint .",
"lint:fix": "pnpm format && pnpm eslint:fix",
"eslint:fix": "eslint --fix .",
"format": "prettier --write '**/*.(css|html|js|json|md|ts|frag|glsl|vert)'",
"prepublishOnly": "pnpm lint && pnpm lib",
"preview": "vite preview"
}
}