forked from readium/readium-shared-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 4.65 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
{
"/*": "----------------------------------------------------------------------------",
"..": "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-shared-js",
"version": "0.29.0",
"engines": {
"node": ">=4",
"npm": ">=2",
"yarn": ">=0.23"
},
"description": "Readium - shared 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-shared-js",
"bugs": {
"url": "http://github.com/readium/readium-shared-js/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git://github.com/readium/readium-shared-js.git"
},
"files": [
"build-output/",
"dev/",
"license.txt",
"README.md"
],
"dependencies": {
"concurrently": "^3.5.0",
"npm-run-all": "^4.1.2",
"opener": "^1.4.3",
"http-server": "github:danielweck/http-server#master"
},
"devDependencies": {
"jquery-sizes": "github:bramstein/jsizes#master",
"domReady": "github:requirejs/domReady#master",
"backbone": "^1.3.3",
"urijs": "github:danielweck/URI.js#master",
"eventemitter3": "^2.0.3",
"es6-collections": "^0.5.6",
"cssom": "github:danielweck/CSSOM#master",
"css-element-queries": "github:danielweck/css-element-queries#master"
},
"scripts": {
"cson2json": "node ./readium-cfi-js/node_modules/cson/bin/cson2json package.cson > package.json && node readium-cfi-js/readium-build-tools/optimizePackageJsonScripts.js",
"prepare:all": "npm run prepare:submodule && npm run prepare:local",
"prepare:local": "(npm outdated || echo outdated) && 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-cfi-js/readium-build-tools/gitHubForksUpdater.js",
"prepare:submodule": "cd readium-cfi-js && npm run prepare:all && cd .. && ls",
"prepare:yarn:submodule": "cd readium-cfi-js && yarn run prepare:yarn:all && cd .. && ls",
"clean": "(yarn --version || echo noyarn) && node --version && npm --version && node ./readium-cfi-js/node_modules/rimraf/bin.js build-output/* && node ./readium-cfi-js/node_modules/rimraf/bin.js api-docs/*",
"apidocs": "node ./readium-cfi-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-cfi-js/readium-build-tools/jshint_glob.js \"js/**.js\"",
"genPluginsConfig": "node readium-cfi-js/readium-build-tools/pluginsConfigMaker.js",
"prebuild:scripts": "npm run genPluginsConfig --readium-shared-js:RJS_PLUGINS_OVERRIDE=no",
"build:scripts": "npm run build:scripts:multiple --readium-shared-js:RJS_UGLY=no && npm run build:scripts:single --readium-shared-js:RJS_UGLY=no",
"build:scripts:multiple": "node ./readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=multiple",
"postbuild:scripts:multiple": "node ./readium-cfi-js/node_modules/rimraf/bin.js build-output/_multiple-bundles/RequireJS.js.src.js",
"build:scripts:single": "node ./readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=single",
"prebuild:styles": "node ./readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output/css/",
"build:styles": "node ./readium-cfi-js/node_modules/cpy-cli/cli.js static/sdk.css build-output/css/",
"http:watch": "echo > open_webbrowser.js && run-p \"dowatch\" \"httpServe\"",
"http": "npm run genPluginsConfig && npm run httpServe",
"dowatch": "node ./readium-cfi-js/node_modules/watch/cli.js \"npm run build && node readium-cfi-js/readium-build-tools/webbrowser.js && node ./readium-cfi-js/node_modules/rimraf/bin.js open_webbrowser.js\" dev/ js/ plugins/ readium-cfi-js/js/",
"httpServe": "node readium-cfi-js/readium-build-tools/http-server.js -LOGFILE http.log -OPEN /dev/ -a 127.0.0.1 -p 9090 --cors ."
}
}