-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
30 lines (30 loc) · 1.37 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
{
"name": "storyharp-js",
"version": "3.0.0",
"description": "StoryHarp Interactive Fiction Editor and Player",
"main": "index.js",
"scripts": {
"test": "tsc -p tsconfig-test.json && cd dist-test && ../node_modules/ospec/bin/ospec",
"test-interactive": "tsc --watch & echo \"browse to: http://localhost:8080/tests-interactive/\" && http-server -c-1 && fg",
"build": "npm run copy-lib && npm run copy-data && npm run copy-index && npm run copy-resources && tsc",
"copy-lib": "mkdir -p dist/source/lib && cp node_modules/systemjs/dist/system.src.js node_modules/tachyons/css/tachyons.css node_modules/mithril/mithril.js dist/source/lib/",
"copy-data": "mkdir -p dist/source/data/media && cp data/*.wld data/*.json dist/source/data/ && cp data/media/* dist/source/data/media/",
"copy-index": "cp source/index.html dist/source/",
"copy-resources": "mkdir -p dist/source/resources && cp source/resources/*.png source/resources/template.html dist/source/resources/"
},
"author": "Paul D. Fernhout <[email protected]>",
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@types/mithril": "^1.1.12",
"@types/node": "^9.4.6",
"eslint": "^4.18.0",
"http-server": "^0.11.1",
"ospec": "^1.4.0",
"typescript": "^2.7.2"
},
"dependencies": {
"mithril": "^1.1.6",
"systemjs": "^0.21.0",
"tachyons": "^4.9.1"
}
}