-
Notifications
You must be signed in to change notification settings - Fork 45
/
package.json
73 lines (73 loc) · 2.67 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
{
"name": "glas",
"version": "0.0.1",
"type": "module",
"ascMain": "src/as/index.ts",
"main": "dist/ts/index.js",
"types": "dist/ts/index.d.ts",
"module": "dist/ts/glas.esm.js",
"description": "WebGL engine for AssemblyScript",
"homepage": "https://github.com/lume/glas#readme",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lume/glas"
},
"bugs": {
"url": "https://github.com/lume/glas/issues",
"email": "bugs@lume.io"
},
"scripts": {
"/////////////////// TESTING /////////////////////////": "",
"test": "npm run test:format && if uname -a | grep -v arm64 &>/dev/null; then npm run asp; fi",
"test:format": "prettier --check \"./**/*.{ts,js}\"",
"test:verbose": "npm run asp -- --verbose",
"test:trace": "npm run 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",
"asp": "xvfb-maybe asp --config=as-pect.config.cjs",
"// ^ asp": "Running asp under xvfb-maybe allows a headless X11 server to be spawned in case there's no DISPLAY. This is needed for webgl-raub which will open a window with GLFW.",
"/////////////////// BUILDS //////////////////////////": "",
"build:as": "asc src/as/index.ts --config --target debug",
"build:as:optimized": "asc src/as/index.ts --config --target optimized",
"build:ts": "tsc -p src/ts/tsconfig.json && npm run build:webpack",
"build:prep": "make-dir dist --mode=0744",
"build:webpack": "webpack --mode development",
"prebuild": "npm run clean && npm run build:prep",
"build": "npm run build:as && npm run build:ts",
"build:optimized": "npm run build:as:optimized && npm run build:ts",
"prettier": "prettier --write \"./**/?*.*\"",
"clean": "rimraf dist",
"/////////////////// RUNTIME /////////////////////////": "",
"server": "five-server --watch=dist,examples --open=examples/ ./",
"prestart": "npm run build",
"start": "npm run server",
"prepare": "npm rebuild --build-from-source gl"
},
"dependencies": {
"@assemblyscript/loader": "^0.19.3",
"@lume/as-loader": "^0.18.10",
"aswebglue": "lume/aswebglue#653897e69c6d7f74a7dcf71cdb5e4cea1d3f322d"
},
"devDependencies": {
"@as-pect/cli": "^6.2.4",
"@types/node": "^15.12.4",
"assemblyscript": "^0.19.3",
"deasync": "^0.1.21",
"five-server": "^0.3.1",
"glfw-raub": "4.6.0",
"make-dir-cli": "^3.0.0",
"prettier": "3.0.3",
"rimraf": "^3.0.2",
"source-map-loader": "4.0.1",
"ts-loader": "9.4.4",
"ts-node": "^10.0.0",
"tslib": "^2.3.0",
"typescript": "^4.3.4",
"webgl-raub": "2.2.4",
"webpack": "5.88.2",
"webpack-cli": "5.1.4",
"webpack-dev-server": "4.15.1",
"xvfb-maybe": "^0.2.1",
"yaml": "^1.10.2"
}
}