-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
59 lines (59 loc) · 1.83 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
{
"name": "budgetpascal-wasm",
"version": "1.0.0",
"repository": "git@github.com:faizilham/budgetpascal-wasm.git",
"author": "Faiz Ilham <faizilham.faizz@gmail.com>",
"license": "MIT",
"scripts": {
"start": "node dist/cmd/index.js",
"typecheck": "tsc -p tsconfig.check.json",
"build": "yarn typecheck && parcel build --no-cache --target cmd --no-optimize",
"build-cmd": "yarn typecheck && rimraf dist/cmd && parcel build --no-cache --target cmd",
"start-web": "sh ./tools/copydemo.sh dist/web-live && parcel serve --no-cache --dist-dir dist/web-live --target web",
"build-web": "yarn typecheck && rimraf dist/web && sh ./tools/copydemo.sh dist/web && parcel build --no-cache --target web --detailed-report --public-url ./",
"test": "mocha -r ts-node/register 'src/tests/*.test.ts'",
"clean": "rimraf dist/cmd",
"clean-live": "rimraf dist/web-live"
},
"targets": {
"cmd": {
"context": "node",
"source": [
"src-cmd/index.js",
"src-cmd/runner.js"
],
"outputFormat": "commonjs",
"sourceMap": false
},
"web": {
"context": "browser",
"source": "src-web/index.html",
"outputFormat": "commonjs",
"sourceMap": false
}
},
"devDependencies": {
"@parcel/transformer-sass": "^2.0.1",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.10",
"chai": "^4.3.4",
"child_process": "^1.0.2",
"mocha": "^9.1.3",
"parcel": "^2.0.1",
"rimraf": "^3.0.2",
"ts-node": "^10.4.0",
"typescript": "^4.4.4"
},
"dependencies": {
"@types/codemirror": "^5.60.5",
"@types/mithril": "^2.0.8",
"ansi-escapes": "^5.0.0",
"binaryen": "^102.0.0",
"codemirror": "^5.63.3",
"dexie": "^3.2.0",
"mithril": "^2.0.4",
"readline": "^1.3.0",
"xterm": "^4.15.0"
}
}