-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
26 lines (26 loc) · 1.25 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
{
"name": "twpub-tools",
"version": "0.1.0",
"description": "Tools for working with TWPUBs",
"main": "index.js",
"author": "",
"license": "BSD-3-Clause",
"dependencies": {
"css": "^3.0.0",
"jszip": "^3.10.1",
"node-fetch": "^2.6.7",
"playwright": "^1.28.1",
"tiddlywiki": "github:Jermolene/TiddlyWiki5#parameterised-transclusions",
"xmldom": "^0.5.0"
},
"scripts": {
"test": "node epub2twpub/test.js",
"start": "npx tiddlywiki --version && npm run build && npx http-server ./output",
"quick-start": "npx tiddlywiki ++plugins/twpub-tools/ ++twpubs/using-twpub/ ./wikis/twpub-tools.org/ --output ./output --rendertiddler $:/core/save/all index.html text/plain && npx http-server ./output",
"build": "npm run build-gutenberg && ./bin/slice-epubs.sh ./epubs/library ./tmp/twpubs && node ./bin/make-twpub-library.js ./tmp/twpubs ./output/library && ./bin/build-wiki.sh ./output",
"download-gutenberg": "node bin/download-gutenberg-top-100.js",
"build-gutenberg": "./bin/slice-epubs.sh ./epubs/gutenberg100 ./tmp/twpubs && find ./tmp/twpubs -size +99M -delete",
"slice-and-stitch-wiki": "./bin/slice-and-stitch-wiki.sh ./epubs/library/Great\\ Expectations.epub ./tmp/index.html",
"clean": "./bin/clean.sh"
}
}