-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
52 lines (52 loc) · 2.33 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
{
"name": "easy-peasy-ebook",
"version": "0.0.1",
"description": "",
"main": "index.js",
"directories": {
"doc": "docs"
},
"dependencies": {},
"config": {
"bookdata": "./docs/bookdata.json",
"epubfiles": "./epub-originals/.",
"builddir": "./epubdata",
"images": "./docs/images",
"contentdir": "./epubdata/OEBPS",
"publishdir": "./dist"
},
"scripts": {
"now-build": "yarn setupdirs && yarn opf && yarn cover && yarn content && yarn package",
"build": "yarn setupdirs && yarn opf && yarn cover && yarn content && yarn package && yarn pdf && yarn test",
"presetupdirs": "cross-var rimraf $npm_package_config_builddir && mkdir $npm_package_config_builddir && rimraf $npm_package_config_publishdir && mkdir $npm_package_config_publishdir",
"setupdirs": "cross-var cp -r $npm_package_config_epubfiles $npm_package_config_builddir && cp -r $npm_package_config_images $npm_package_config_contentdir",
"opf": "cross-var node generate-opf-file $npm_package_config_bookdata $npm_package_config_contentdir",
"cover": "cross-var node generate-cover-file $npm_package_config_bookdata $npm_package_config_contentdir",
"content": "yarn maintext && yarn toc && yarn ncx",
"maintext": "cross-var node generate-content-file $npm_package_config_bookdata $npm_package_config_contentdir",
"toc": "cross-var node generate-toc-file $npm_package_config_bookdata $npm_package_config_contentdir",
"ncx": "cross-var node generate-ncx-file $npm_package_config_bookdata $npm_package_config_contentdir",
"pdf": "cross-var node generate-pdf-file $npm_package_config_bookdata $npm_package_config_publishdir",
"package": "cross-var node generate-package $npm_package_config_builddir $npm_package_config_publishdir",
"test": "cross-var node epubcheck $npm_package_config_publishdir"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kjartanm/easy-peasy-ebook.git"
},
"author": "https://github.com/kjartanm",
"license": "",
"bugs": {
"url": "https://github.com/kjartanm/easy-peasy-ebook/issues"
},
"homepage": "https://github.com/kjartanm/easy-peasy-ebook#readme",
"devDependencies": {
"archiver": "^3.0.0",
"cross-var": "^1.1.0",
"epubchecker": "^1.2.0",
"markdown-it": "^8.4.2",
"pdf-puppeteer": "^1.1.4",
"rimraf": "^2.6.2",
"slugify": "^1.3.1"
}
}