-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.91 KB
/
Copy pathpackage.json
File metadata and controls
29 lines (29 loc) · 1.91 KB
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
{
"name": "tiny-qbn",
"version": "0.1.0",
"description": "Twine 2/Sugarcube support for filtered-card-deck stories.",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run minify-js && npm run build-widgets",
"minify-js": "(sed -e \"1i /*\" -e \"$a */\" LICENSE && minify story-javascript.js) > story-javascript.min.js",
"build-tinyqbn-widgets": "node -e \"console.log('::TinyQBN widgets [widget]')\" | cat - widgets.txt > widgets.tw",
"build-basic-ability": "node -e \"console.log('::BasicAbility code [widget]')\" | cat - basic-ability.txt > basic-ability.tw",
"build-widgets": "npm run build-tinyqbn-widgets && npm run build-basic-ability",
"copy-common": "cp story-javascript.min.js examples/common/tiny-qbn.js && cp widgets.tw examples/common/tiny-qbn.tw && cp story-javascript.min.js examples/common/tiny-qbn.txt",
"ex-localvore1": "cd examples && tweego -o tutorial-1.html tutorial-1.tw common",
"ex-localvore2": "cd examples && tweego -o tutorial-2.html tutorial-2.tw common",
"ex-localvore": "cd examples && tweego -o localvore.html localvore.tw common",
"ex-covers": "cd examples && tweego -o covers.html covers.tw common",
"ex-choices": "cd examples && tweego -o choices.html choices.tw common",
"ex-priority": "cd examples && tweego -o priority.html priority.tw common",
"ex-progress": "cd examples && tweego -o progress.html progress.tw common",
"ex-sprawl": "cd examples && tweego -o sprawl.html sprawl.tw sprawl.css common",
"ex-dice-rolls": "cd examples && tweego -o dice-rolls.html dice-rolls.tw common",
"examples": "npm run copy-common && npm run ex-localvore1 && npm run ex-localvore2 && npm run ex-localvore && npm run ex-covers && npm run ex-choices && npm run ex-priority && npm run ex-progress && npm run ex-sprawl && npm run ex-dice-rolls"
},
"author": "Josh Grams <josh@qualdan.com>",
"license": "ISC",
"devDependencies": {
"babel-minify": "^0.5.1"
}
}