forked from lume/glas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.55 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
{
"name": "glas",
"description": "WebGL in WebAssembly with AssemblyScript",
"homepage": "https://github.com/lume/glas#readme",
"version": "0.0.1",
"license": "MIT",
"bugs": {
"url": "https://github.com/lume/glas/issues",
"email": "[email protected]"
},
"scripts": {
"test": "asp",
"test:verbose": "asp --verbose",
"test:trace": "asp --verbose 2>&1 | grep \"\\[Fail\\]\" -A 5",
"^ test:trace comment": "This shows only failed tests, along with a few stack traces lines if any",
"build:as:untouched": "asc src/as/index.ts -b build/as/untouched.wasm -t build/as/untouched.wat --sourceMap --validate --debug",
"build:as:optimized": "asc src/as/index.ts -b build/as/optimized.wasm -t build/as/optimized.wat --sourceMap --validate --optimize",
"build:as": "npm run build:as:untouched && npm run build:as:optimized",
"build:ts": "tsc -p src/ts/tsconfig.json",
"build:html": "mkdir -p build/ && cp -R src/index.html build/",
"build:infra": "mkdir -p build/ && tsc -p src/infra/tsconfig.json",
"build": "echo 'TODO glas build' && exit 0 && rimraf build && npm run build:infra && npm run build:html && npm run build:ts && npm run build:as",
"server": "live-server --watch=build --middleware=../../../build/infra/live-server-middleware ./build",
"prettier": "prettier --write './**/?*.*'"
},
"devDependencies": {
"@as-pect/cli": "4.0.0",
"@types/node": "^14.0.13",
"assemblyscript": "0.13.0",
"live-server": "^1.2.1",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"typescript": "^3.9.5"
},
"dependencies": {
"@assemblyscript/loader": "^0.10.0"
}
}