-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
83 lines (83 loc) · 6.17 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"/*": "----------------------------------------------------------------------------",
"..": "This package.json (JSON) is automatically generated from package.cson (CSON)",
".-": "DO NOT invoke 'npm init' or 'npm install --save' ('--save-dev' / '--save-optional')",
"._": "as this would overwrite / update the JSON, not the master CSON!",
"*/": "----------------------------------------------------------------------------",
"name": "readium-js",
"version": "0.31.1",
"engines": {
"node": ">=4",
"npm": ">=2",
"yarn": ">=0.23"
},
"description": "Readium - core javascript module",
"keywords": [
"readium",
"epub",
"epub3"
],
"author": {
"name": "Readium (Daniel Weck)",
"email": "[email protected]",
"url": "http://github.com/readium"
},
"license": "BSD-3-Clause",
"licenses": [
{
"type": "BSD-3-Clause",
"url": "http://opensource.org/licenses/BSD-3-Clause"
}
],
"homepage": "http://github.com/readium/readium-js",
"bugs": {
"url": "http://github.com/readium/readium-js/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git://github.com/readium/readium-js.git"
},
"files": [
"build-output/",
"dev/",
"license.txt",
"README.md"
],
"devDependencies": {
"concurrently": "^3.6.0",
"npm-run-all": "^4.1.3",
"opener": "^1.4.3",
"bowser": "^1.9.3",
"crypto-js": "^3.1.9-1",
"zip-js": "github:miledivovic/zip-js#master",
"requirejs-text": "^2.0.15",
"gift": "^0.10.1"
},
"scripts": {
"cson2json": "node ./readium-shared-js/node_modules/cson/bin/cson2json package.cson > package.json && node readium-shared-js/readium-build-tools/optimizePackageJsonScripts.js",
"prepare:all": "npm run prepare:submodule && npm run prepare:local",
"prepare:local": "(npm outdated || echo outdated) && (npm ci || npm install) && npm run prepare:local:common",
"prepare:yarn:all": "yarn run prepare:yarn:submodule && yarn run prepare:yarn:local",
"prepare:yarn:local": "(yarn outdated || echo outdated) && yarn install && yarn run prepare:local:common",
"prepare:local:common": "node readium-shared-js/readium-build-tools/gitHubForksUpdater.js",
"prepare:submodule": "cd readium-shared-js && npm run prepare:all && cd .. && ls",
"prepare:yarn:submodule": "cd readium-shared-js && yarn run prepare:yarn:all && cd .. && ls",
"clean": "(yarn --version || echo noyarn) && node --version && npm --version && node ./readium-shared-js/node_modules/rimraf/bin.js build-output/* && node ./readium-shared-js/node_modules/rimraf/bin.js api-docs/*",
"apidocs": "node ./readium-shared-js/node_modules/yuidocjs/lib/cli.js -N -C -c yuidocs.json",
"prebuild": "npm run clean",
"build": "npm run build:styles && npm run build:scripts",
"lint": "node ./readium-shared-js/readium-build-tools/jshint_glob.js \"js/**.js\"",
"genPluginsConfig": "cd readium-shared-js/ && node readium-build-tools/pluginsConfigMaker.js && cd ..",
"prebuild:scripts": "npm run genPluginsConfig",
"preversioning": "node ./readium-shared-js/node_modules/mkdirp/bin/cmd.js build-output/_multiple-bundles && node ./readium-shared-js/node_modules/mkdirp/bin/cmd.js build-output/_single-bundle && node ./readium-shared-js/node_modules/mkdirp/bin/cmd.js build-output/XXX",
"versioning": "node build-config/versioning.js build-output/version.json && node ./readium-shared-js/node_modules/cpy-cli/cli.js build-output/version.json build-output/XXX/",
"build:scripts": "npm run versioning && npm run build:scripts:multiple && npm run build:scripts:single",
"postbuild:scripts": "node ./readium-shared-js/node_modules/rimraf/bin.js build-output/XXX && node ./readium-shared-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/version.json && node ./readium-shared-js/node_modules/cpy-cli/cli.js build-output/_multiple-bundles/z-worker.js build-output/ && node ./readium-shared-js/node_modules/cpy-cli/cli.js build-output/_multiple-bundles/deflate.js build-output/ && node ./readium-shared-js/node_modules/cpy-cli/cli.js build-output/_multiple-bundles/inflate.js build-output/ && node ./readium-shared-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/z-worker.js && node ./readium-shared-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/deflate.js && node ./readium-shared-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/inflate.js && ( node ./readium-shared-js/node_modules/cpy-cli/cli.js build-output/_multiple-bundles/z-worker.js.map build-output/ && ( node ./readium-shared-js/node_modules/cpy-cli/cli.js build-output/_multiple-bundles/deflate.js.map build-output/ && node ./readium-shared-js/node_modules/cpy-cli/cli.js build-output/_multiple-bundles/inflate.js.map build-output/ && node ./readium-shared-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/z-worker.js.map && node ./readium-shared-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/deflate.js.map && node ./readium-shared-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/inflate.js.map ) || echo \"=== SUCCESS [ignore previous error]: no sourcemaps were generated for zip web-worker, deflate, inflate (no uglification).\" )",
"build:scripts:multiple": "node ./readium-shared-js/node_modules/requirejs/bin/r.js -o ./readium-shared-js/readium-build-tools/RequireJS_config.js --rjs_bundle=multiple",
"postbuild:scripts:multiple": "node ./readium-shared-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/RequireJS.js.src.js && node ./readium-shared-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/inflate.js.src.js && node ./readium-shared-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/deflate.js.src.js && node ./readium-shared-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/z-worker.js.src.js",
"build:scripts:single": "node ./readium-shared-js/node_modules/requirejs/bin/r.js -o ./readium-shared-js/readium-build-tools/RequireJS_config.js --rjs_bundle=single",
"prebuild:styles": "node ./readium-shared-js/node_modules/mkdirp/bin/cmd.js build-output/css/",
"build:styles": "node ./readium-shared-js/node_modules/cpy-cli/cli.js readium-shared-js/static/sdk.css build-output/css/"
}
}