forked from google/swissgl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.09 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
{
"name": "@pluvial/swissgl",
"description": "SwissGL is a minimalistic wrapper on top of WebGL2 JS API. It's designed to reduce the amount of boilerplate code required to manage GLSL shaders, textures and framebuffers when making procedural visualizations or simulations.",
"license": "Apache-2.0",
"version": "0.0.0",
"author": "Alexander Mordvintsev, João Paquim",
"bugs": {
"url": "https://github.com/pluvial/swissgl/issues"
},
"homepage": "https://github.com/pluvial/swissgl#readme",
"repository": {
"type": "git",
"url": "https://github.com/pluvial/swissgl"
},
"type": "module",
"exports": {
".": {
"import": "./dist/swissgl.js",
"types": "./dist/swissgl.d.ts"
},
"./dist/swissgl.min.js": {
"import": "./dist/swissgl.min.js",
"types": "./dist/swissgl.d.ts"
},
"./dist/swissgl.terser.js": {
"import": "./dist/swissgl.terser.js",
"types": "./dist/swissgl.d.ts"
}
},
"files": [
"dist",
"package.json",
"LICENSE",
"README.md"
],
"devDependencies": {
"@types/audioworklet": "^0.0.52",
"@types/webxr": "^0.5.10",
"lil-gui": "^0.19.1",
"prettier": "^3.1.0",
"prettier-plugin-glsl": "^0.1.3",
"terser": "^5.26.0",
"typescript": "^5.3.3",
"vite": "^5.0.7",
"vite-plugin-glsl": "^1.2.0"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"build:esbuild": "ESBUILD=1 vite build",
"build:terser": "TERSER=1 vite build",
"check": "tsc",
"preview": "vite preview",
"lib": "vite build -c vite.lib.config.ts",
"lib:all": "pnpm lib && pnpm lib:esbuild && pnpm lib:terser && pnpm lib:types",
"lib:esbuild": "esbuild --minify --platform=neutral dist/swissgl.js --outfile=dist/swissgl.min.js",
"lib:terser": "terser dist/swissgl.js -c -m --module --comments false -o dist/swissgl.terser.js",
"lib:types": "tsc -p tsconfig.lib.json",
"lint": "prettier --check '**/*.(css|html|js|json|md|ts|frag|glsl|vert)'",
"format": "prettier --write '**/*.(css|html|js|json|md|ts|frag|glsl|vert)'",
"prepublishOnly": "pnpm lint && pnpm lib:all"
}
}