forked from readium/readium-cfi-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 4.48 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
{
"/*": "----------------------------------------------------------------------------",
"..": "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-cfi-js",
"version": "0.30.0",
"engines": {
"node": ">=4",
"npm": ">=2",
"yarn": ">=0.23"
},
"description": "Readium - CFI javascript library",
"keywords": [
"readium",
"epub",
"epub3",
"cfi"
],
"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-cfi-js",
"bugs": {
"url": "http://github.com/readium/readium-cfi-js/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git://github.com/readium/readium-cfi-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": {
"requirejs": "^2.3.5",
"almond": "^0.3.3",
"jquery": "2.x.x",
"underscore": "^1.8.3",
"pegjs": "^0.10.0",
"karma": "^1.7.1",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.0.1",
"jasmine-core": "^2.8.0",
"karma-jasmine": "^1.1.0",
"karma-sauce-launcher": "^1.2.0",
"cson": "^4.1.0",
"rimraf": "^2.6.2",
"cpy-cli": "^1.0.1",
"ncp": "^2.0.0",
"mkdirp": "^0.5.1",
"watch": "^1.0.2",
"jshint": "^2.9.5",
"glob": "^7.1.2",
"yuidocjs": "^0.10.2"
},
"scripts": {
"cson2json": "node ./node_modules/cson/bin/cson2json package.cson > package.json && node readium-build-tools/optimizePackageJsonScripts.js",
"prepare:all": "npm run prepare:local",
"prepare:local": "(npm outdated || echo outdated) && npm install && npm run prepare:local:common",
"prepare:yarn:all": "yarn run prepare:yarn:local",
"prepare:yarn:local": "(yarn outdated || echo outdated) && yarn install && yarn run prepare:local:common",
"prepare:local:common": "node readium-build-tools/patchRequireJS.js && node readium-build-tools/gitHubForksUpdater.js",
"clean": "(yarn --version || echo noyarn) && node --version && npm --version && node ./node_modules/rimraf/bin.js build-output/* && node ./node_modules/rimraf/bin.js api-docs/* && node ./node_modules/rimraf/bin.js gen/*",
"apidocs": "node ./node_modules/yuidocjs/lib/cli.js -N -C -c yuidocs.json",
"prebuild": "npm run clean",
"build": "npm run build:scripts",
"lint": "node ./readium-build-tools/jshint_glob.js \"js/**.js\"",
"prebuild:scripts": "npm run build:scripts:peg",
"build:scripts": "npm run build:scripts:multiple && npm run build:scripts:single",
"build:scripts:peg": "node ./node_modules/pegjs/bin/pegjs --format globals --export-var window.EPUBcfiParser -o gen/cfi_parser_gen.js cfi_parser.pegjs",
"build:scripts:multiple": "node ./node_modules/requirejs/bin/r.js -o ./readium-build-tools/RequireJS_config.js --rjs_bundle=multiple",
"postbuild:scripts:multiple": "node ./node_modules/rimraf/bin.js build-output/_multiple-bundles/RequireJS.js.src.js",
"build:scripts:single": "node ./node_modules/requirejs/bin/r.js -o ./readium-build-tools/RequireJS_config.js --rjs_bundle=single",
"http:watch": "echo > open_webbrowser.js && run-p \"dowatch\" \"http\"",
"http": "node readium-build-tools/http-server.js -LOGFILE http.log -OPEN /dev/ -c-1 -a 127.0.0.1 -p 9090 --cors .",
"test": "node ./node_modules/karma/bin/karma start tests/karma.conf.js --singleRun --no-auto-watch",
"test:travis": "node ./node_modules/karma/bin/karma start tests/karma.travis.conf.js --singleRun --no-auto-watch",
"test:travis:firefox": "npm run test:travis --readium-cfi-js:MODE=firefox",
"test:travis:chrome": "npm run test:travis --readium-cfi-js:MODE=chrome",
"dowatch": "node ./node_modules/watch/cli.js \"npm run build && npm run test && node readium-build-tools/webbrowser.js && node ./node_modules/rimraf/bin.js open_webbrowser.js\" dev/ js/ tests/"
}
}