forked from readium/readium-js-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
160 lines (160 loc) · 24.8 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"/*": "----------------------------------------------------------------------------",
"..": "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-viewer",
"version": "0.22.0-alpha",
"engines": {
"node": ">=0.12",
"npm": ">2.10"
},
"description": "Readium web app - online cloud reader, offline Chrome extension/app",
"keywords": [
"readium",
"epub",
"epub3"
],
"author": {
"name": "Readium (Daniel Weck)",
"email": "daniel.weck@gmail.com",
"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-viewer",
"bugs": {
"url": "http://github.com/readium/readium-js-viewer/issues",
"email": "daniel.weck@gmail.com"
},
"repository": {
"type": "git",
"url": "git://github.com/readium/readium-js-viewer.git"
},
"files": [
"build-output/",
"dev/",
"dist/",
"license.txt",
"README.md"
],
"dependencies": {
"parallelshell": "latest",
"opener": "latest",
"http-server": "danielweck/http-server"
},
"devDependencies": {
"keymaster": "danielweck/keymaster",
"jath": "danielweck/jath",
"MathJax-grunt-concatenator": "pkra/MathJax-single-file",
"bootstrap": "latest",
"bootstrap-accessibility-plugin": "latest",
"hammerjs": "latest",
"jquery-hammerjs": "latest",
"screenfull": "latest",
"JSON2": "latest",
"hogan": "latest",
"requirejs-hogan-plugin": "latest",
"remotestoragejs": "latest",
"spin.js": "latest",
"gift": "latest",
"clean-css": "latest",
"uglify-js": "latest",
"mocha": "latest",
"wd": "latest",
"phantomjs": "latest",
"grunt-selenium-webdriver": "latest",
"crx": "latest",
"chai": "latest",
"chai-as-promised": "latest",
"github": "latest",
"hogan.js": "latest",
"httpreq": "latest",
"xml2js": "latest",
"decompress-zip": "latest"
},
"scripts": {
"cson2json": "node ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/concat.js \"package/*.cson\" package.cson && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cson/bin/cson2json package.cson > package.json && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js package.cson && node readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/optimizePackageJsonScripts.js",
"prepare": "npm run prepare:submodule && npm run prepare:dependencies",
"prepare:dependencies": "npm install && npm update && node readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/gitHubForksUpdater.js",
"prepare:submodule": "cd readium-js && npm run prepare && cd .. && ls",
"clean": "node --version && npm --version && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist",
"prebuild": "npm run clean",
"build": "npm run build:scripts",
"lint": "node ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/jshint_glob.js js/**.js",
"preversioning": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output",
"versioning": "node build-config/versioning.js build-output/version.json",
"genPluginsConfig": "cd readium-js/readium-shared-js/ && node readium-cfi-js/readium-build-tools/pluginsConfigMaker.js && cd ../..",
"prebuild:scripts": "npm run genPluginsConfig",
"build:scripts": "npm run versioning && npm run build:scripts:multiple && npm run build:scripts:single && npm run build:scripts:single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no",
"build:scripts:single": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=single",
"build:scripts:single:LITE": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=single --rjs_configCustomTarget=_LITE",
"build:scripts:single:CHROMEAPP": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=single --rjs_configCustomTarget=_CHROMEAPP",
"build:scripts:single:CHROMEAPPWORKER": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=single --rjs_configOverrideTarget=_CHROMEAPP-WORKER",
"prebuild:scripts:multiple": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output/XXX && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/templates/ build-output/XXX/templates/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/i18n/ build-output/XXX/i18n/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/version.json build-output/XXX/",
"build:scripts:multiple": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=multiple",
"postbuild:scripts:multiple": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/XXX && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/version.json && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/templates && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/i18n && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/migration && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/storage && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/versioning && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/workers && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/mathjax && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_multiple-bundles/z-worker.js build-output/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_multiple-bundles/deflate.js build-output/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_multiple-bundles/inflate.js build-output/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/deflate.js && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/inflate.js && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/z-worker.js && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_multiple-bundles/z-worker.js.map build-output/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_multiple-bundles/deflate.js.map build-output/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_multiple-bundles/inflate.js.map build-output/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/deflate.js.map && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/inflate.js.map && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/z-worker.js.map && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/RequireJS.js.src.js && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/inflate.js.src.js && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/deflate.js.src.js && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/z-worker.js.src.js",
"dist:cssoptimize": "node node_modules/clean-css/bin/cleancss --skip-rebase --skip-advanced --skip-aggressive-merging --skip-media-merging --skip-restructuring --skip-shorthand-compacting \"node_modules/bootstrap/dist/css/bootstrap.css\" \"node_modules/bootstrap-accessibility-plugin/plugins/css/bootstrap-accessibility.css\" \"src/css/sourcesanspro.css\" \"src/css/readium_js.css\" \"src/css/viewer.css\" \"src/css/viewer_audio.css\" \"src/css/settings.css\" \"src/css/dzb.css\" \"src/css/a11y.css\"",
"predist": "npm run build && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist",
"dist": "npm run dist:copy && npm run dist:cloudReaderLite && npm run dist:cloudReader && npm run dist:chromeApp",
"dist+sourcemap": "npm run dist && npm run deploy:cloudReader:copy:sourcemap && npm run deploy:cloudReaderLite:copy:sourcemap && npm run deploy:chromeApp:copy:sourcemap",
"dist:copy": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/zip_sourcemap && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/z-worker.js.map dist/zip_sourcemap && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/deflate.js.map dist/zip_sourcemap && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/inflate.js.map dist/zip_sourcemap",
"chromeApp": "npm run clean && npm run versioning && npm run genPluginsConfig && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/cloud-reader/css && npm run dist:cssoptimize -- \"src/css/library.css\" \"-o\" \"dist/cloud-reader/css/readium-all.css\" && npm run dist:chromeApp && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist/cloud-reader && npm run deploy:chromeApp:copy:sourcemap && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist/chrome-app_sourcemap",
"predist:chromeApp": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist/chrome-app && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist/chrome-app_sourcemap",
"dist:chromeApp": "npm run dist:chromeApp:copy && node build-config/updateChromeManifest.js && npm run dist:chromeApp:css && npm run dist:chromeApp:js",
"dist:chromeApp:copy": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/chrome-app/scripts/zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/chrome-app/scripts/mathjax && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js src/chrome-app/index.html dist/chrome-app/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js readium-js/node_modules/zip-js/WebContent/z-worker.js dist/chrome-app/scripts/zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js readium-js/node_modules/zip-js/WebContent/deflate.js dist/chrome-app/scripts/zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js readium-js/node_modules/zip-js/WebContent/inflate.js dist/chrome-app/scripts/zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/images/ dist/chrome-app/images/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js node_modules/MathJax-grunt-concatenator/MathJax.js dist/chrome-app/scripts/mathjax && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp node_modules/bootstrap/fonts/ dist/chrome-app/fonts/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js src/css/annotations.css dist/chrome-app/css/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js src/chrome-app/epubReadingSystem.js dist/chrome-app/scripts/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js src/chrome-app/background.js dist/chrome-app/scripts/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js src/chrome-app/requirejs-config.js dist/chrome-app/scripts/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/chrome-app/icons/ dist/chrome-app/icons/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/i18n/_locales/ dist/chrome-app/_locales/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js src/chrome-app/manifest.json dist/chrome-app/",
"dist:chromeApp:css": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js dist/cloud-reader/css/readium-all.css dist/chrome-app/css/",
"dist:chromeApp:js": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/chrome-app_sourcemap && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_single-bundle/readium-js-viewer_all_CHROMEAPP.js dist/chrome-app/scripts/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_single-bundle/readium-js-viewer_all_CHROMEAPP.js.map dist/chrome-app_sourcemap/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_single-bundle/readium-js-viewer_CHROMEAPP-WORKER.js dist/chrome-app/scripts/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_single-bundle/readium-js-viewer_CHROMEAPP-WORKER.js.map dist/chrome-app_sourcemap/",
"crx": "node node_modules/crx/bin/crx pack dist/chrome-app/ --output dist/Readium.crx --private-key tests/test.pem",
"predist:cloudReader": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist/cloud-reader && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist/cloud-reader_sourcemap",
"dist:cloudReader": "npm run dist:cloudReader:copy && npm run dist:cloudReader:css && npm run dist:cloudReader:js",
"dist:cloudReader:copy": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/cloud-reader/scripts/zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/cloud-reader/scripts/mathjax && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js src/cloud-reader/index.html dist/cloud-reader/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/z-worker.js dist/cloud-reader/scripts/zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/deflate.js dist/cloud-reader/scripts/zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/inflate.js dist/cloud-reader/scripts/zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/images/ dist/cloud-reader/images/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js node_modules/MathJax-grunt-concatenator/MathJax.js dist/cloud-reader/scripts/mathjax && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp node_modules/bootstrap/fonts/ dist/cloud-reader/fonts/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js src/css/annotations.css dist/cloud-reader/css/",
"dist:cloudReader:css": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/cloud-reader/css && npm run dist:cssoptimize -- \"src/css/library.css\" \"-o\" \"dist/cloud-reader/css/readium-all.css\"",
"dist:cloudReader:js": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/cloud-reader_sourcemap && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_single-bundle/readium-js-viewer_all.js dist/cloud-reader/scripts/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_single-bundle/readium-js-viewer_all.js.map dist/cloud-reader_sourcemap/",
"predist:cloudReaderLite": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist/cloud-reader-lite && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist/cloud-reader-lite_sourcemap",
"dist:cloudReaderLite": "npm run dist:cloudReaderLite:copy && npm run dist:cloudReaderLite:css && npm run dist:cloudReaderLite:js",
"dist:cloudReaderLite:copy": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/cloud-reader-lite/scripts/zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/cloud-reader-lite/scripts/mathjax && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js src/cloud-reader-lite/index.html dist/cloud-reader-lite/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/z-worker.js dist/cloud-reader-lite/scripts/zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/deflate.js dist/cloud-reader-lite/scripts/zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/inflate.js dist/cloud-reader-lite/scripts/zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/images/ dist/cloud-reader-lite/images/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js node_modules/MathJax-grunt-concatenator/MathJax.js dist/cloud-reader-lite/scripts/mathjax && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp node_modules/bootstrap/fonts/ dist/cloud-reader-lite/fonts/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js src/css/annotations.css dist/cloud-reader-lite/css/",
"dist:cloudReaderLite:css": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/cloud-reader-lite/css && npm run dist:cssoptimize -- \"-o\" \"dist/cloud-reader-lite/css/readium-all.css\"",
"dist:cloudReaderLite:js": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist/cloud-reader-lite_sourcemap && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_single-bundle/readium-js-viewer_all_LITE.js dist/cloud-reader-lite/scripts/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy/cli.js build-output/_single-bundle/readium-js-viewer_all_LITE.js.map dist/cloud-reader-lite_sourcemap/",
"http:watch": "echo > open_webbrowser.js && parallelshell \"npm run dowatch\" \"npm run http:app_ebooks\"",
"http": "echo > open_webbrowser.js && parallelshell \"npm run dowatch:plugins\" \"npm run http:app_ebooks\"",
"http:nowatch": "npm run http:app_ebooks",
"http2:watch": "echo > open_webbrowser.js && parallelshell \"npm run dowatch\" \"npm run http:ebooks\" \"npm run http:app\"",
"http2": "echo > open_webbrowser.js && parallelshell \"npm run dowatch:plugins\" \"npm run http:ebooks\" \"npm run http:app\"",
"http2:nowatch": "parallelshell \"npm run http:ebooks\" \"npm run http:app\"",
"dowatch:plugins": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/watch/cli.js \"npm run genPluginsConfig && node readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/webbrowser.js && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js open_webbrowser.js\" readium-js/readium-shared-js/plugins/",
"dowatch": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/watch/cli.js \"npm run build && node readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/webbrowser.js && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js open_webbrowser.js\" dev/ src/ readium-js/js/ readium-js/readium-shared-js/js/ readium-js/readium-shared-js/plugins/ readium-js/readium-shared-js/readium-cfi-js/js/",
"http:app": "node readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/http-server.js -LOGFILE http_app.log -OPEN /dev/index_RequireJS_no-optimize.html -p 9090 -c-1 ./",
"http:ebooks": "node readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/http-server.js -LOGFILE http_ebooks.log -a 127.0.0.1 -p 8080 -c-1 --cors ./epub_content",
"http:app_ebooks": "node readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/http-server.js -LOGFILE http_app-ebooks.log -OPEN /dev/index_RequireJS_no-optimize.html -a 192.168.1.98 -p 8081 -c-1 .",
"http:cloudReaderDist": "node readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/http-server.js -LOGFILE http_app-ebooks.log -OPEN /dist/cloud-reader/?epubs=http://127.0.0.1:8080/epub_content/epub_library.json -a 127.0.0.1 -p 8080 -c-1 .",
"http:travis": "node node_modules/http-server/bin/http-server -a 127.0.0.1 -p 8080 -c-1 ./dist/cloud-reader/",
"mocha": "node node_modules/mocha/bin/mocha --timeout 180000 --ui bdd tests/tests.js",
"clean:tests": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist/Readium.crx && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist/cloud-reader/epub_content/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist/testbooks.zip && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist/testlibrary/",
"test": "npm run test:chromeApp && npm run test:firefox && npm run test:chrome",
"pretest:chromeApp": "npm run crx",
"test:chromeApp": "parallelshell \"node build-config/selenium_webdriver.js -a 127.0.0.1 -p 8080 -c-1 ./dist/chrome-app\" \"npm run mocha --readium-js-viewer:MODE=chromeApp\"",
"pretest:chrome": "npm run deploy:cloudReader:copy:epub_content",
"test:chrome": "parallelshell \"node build-config/selenium_webdriver.js -a 127.0.0.1 -p 8080 -c-1 ./dist/cloud-reader\" \"npm run mocha --readium-js-viewer:MODE=chrome\"",
"pretest:firefox": "npm run deploy:cloudReader:copy:epub_content",
"test:firefox": "parallelshell \"node build-config/selenium_webdriver.js -a 127.0.0.1 -p 8080 -c-1 ./dist/cloud-reader\" \"npm run mocha --readium-js-viewer:MODE=firefox\"",
"test:sauce": "npm run test:sauce:chromeApp && npm run test:sauce:firefox && npm run test:sauce:chrome",
"pretest:sauce:chromeApp": "npm run crx",
"test:sauce:chromeApp": "npm run mocha --readium-js-viewer:USE_SAUCE=true --readium-js-viewer:MODE=chromeApp",
"test:sauce:firefox": "npm run mocha --readium-js-viewer:USE_SAUCE=true --readium-js-viewer:MODE=firefox",
"test:sauce:chrome": "npm run mocha --readium-js-viewer:USE_SAUCE=true --readium-js-viewer:MODE=chrome",
"pretest:travis": "npm run dist && npm run crx && npm run deploy:cloudReader:copy:sourcemap && npm run deploy:cloudReader:copy:epub_content && npm run deploy:cloudReader:copy:epub_testsuite",
"test:travis": "parallelshell \"npm run http:travis\" \"npm run mocha\"",
"deploy:cloudReader:copy:epub_content": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp epub_content/ dist/cloud-reader/epub_content/",
"deploy:cloudReader:copy:epub_testsuite": "node build-config/createTestLibrary.js",
"deploy:cloudReader:copy:sourcemap": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp dist/cloud-reader_sourcemap/ dist/cloud-reader/scripts/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp dist/zip_sourcemap/ dist/cloud-reader/scripts/zip/",
"deploy:cloudReaderLite:copy:sourcemap": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp dist/cloud-reader-lite_sourcemap/ dist/cloud-reader-lite/scripts/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp dist/zip_sourcemap/ dist/cloud-reader-lite/scripts/zip/",
"deploy:chromeApp:copy:sourcemap": "node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp dist/chrome-app_sourcemap/ dist/chrome-app/scripts/"
}
}