-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
68 lines (68 loc) · 1.94 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
{
"name": "jsspeccy",
"version": "3.2.0",
"description": "a ZX Spectrum emulator in the browser",
"main": "jsspeccy.js",
"type": "module",
"scripts": {
"test": "npm run build && node --experimental-wasm-modules test/test.js test/tests.in test/tests.expected",
"build:core": "node generator/gencore.js generator/core.ts.in build/core.ts",
"build:wasm:debug": "asc build/core.ts --target debug",
"build:wasm:release": "asc build/core.ts --target release",
"build:js": "mkdir -p dist/jsspeccy && webpack",
"build:static": "mkdir -p dist/jsspeccy && cp static/index.html dist/ && cp static/favicon.ico dist/ && cp README.md dist/ && cp COPYING dist/ && cp CHANGELOG.md dist/ && cp -r static/roms dist/jsspeccy && cp -r static/tapeloaders dist/jsspeccy",
"build": "npm run build:core && npm run build:wasm:debug && npm run build:js && npm run build:static",
"build:release": "npm run build:core && npm run build:wasm:release && npm run build:js && npm run build:static",
"watch": "npm-watch"
},
"watch": {
"build:core": {
"patterns": [
"generator/*.js",
"generator/*.ts.in"
],
"extensions": [
"js",
"in"
]
},
"build:wasm:debug": {
"patterns": [
"build/core.ts"
],
"extensions": "ts"
},
"build:js": {
"patterns": [
"runtime/*.js",
"runtime/icons/*.svg",
"build/*.js"
],
"extensions": ["js", "svg"]
},
"build:static": {
"patterns": [
"static/*.html",
"static/*.rom"
],
"extensions": [
"html",
"rom"
]
}
},
"author": "Matt Westcott",
"license": "ISC",
"devDependencies": {
"assemblyscript": "^0.19.6",
"npm-watch": "^0.10.0",
"svg-inline-loader": "^0.8.2",
"webpack": "^5.44.0",
"webpack-cli": "^4.7.2"
},
"dependencies": {
"file-dialog": "^0.0.8",
"jszip": "^3.7.1",
"pako": "^2.0.4"
}
}