-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
29 lines (29 loc) · 1.17 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
{
"name": "web-texture-tool",
"version": "0.0.1",
"repository": "https://github.com/toji/web-texture-tool",
"authors": [
"Brandon Jones <[email protected]>"
],
"description": "Utility to efficiently handle loading of a wide variety of texture formats",
"devDependencies": {
"copyfiles": "^2.4.1",
"esbuild": "^0.8.34",
"eslint": "^7.18.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-jsdoc": "^28.7.0",
"jsdoc": "^3.6.6"
},
"license": "MIT",
"scripts": {
"lint": "npx eslint src",
"build": "npm run lint && npm run build-all",
"build-all": "npm run clean && npm run build-webgl && npm run build-webgpu && npm run copy-workers",
"build-webgl": "npx esbuild --bundle src/webgl-texture-loader.js --outdir=build --minify --sourcemap --format=esm",
"build-webgpu": "npx esbuild --bundle src/webgpu-texture-loader.js --outdir=build --minify --sourcemap --format=esm",
"copy-workers": "copyfiles -u 2 src/workers/* build/workers && copyfiles -u 2 src/workers/**/* build/workers",
"build-docs": "jsdoc -c jsdoc.config.json",
"clean": "rm -rf build",
"old-build-docs": "documentation build src/** -f html -o docs"
}
}