forked from readium/readium-js-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage_base.cson
200 lines (136 loc) · 5.4 KB
/
package_base.cson
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
# NPM package file, see https://docs.npmjs.com/files/package.json
# Oh, this is CSON, not JSON ( see CoffeeScript-Object-Notation https://github.com/bevry/cson )
#####################################################################
#####################################################################
# Master source file used to generate package.json
# DEFAULT METHOD (package.json must exist and be valid):
# npm run cson2json
#
# ALTERNATIVE METHOD (in case package.json is corrupted):
#
# 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.json
# &&
# node ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/concat.js package_.json package.json utf8
# &&
# 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
#
# Note that on some Windows terminals / command line environment (e.g. GitShell),
# the package.json file generated by the ALTERNATIVE method above
# may be encoded with ucs2 instead of utf8, resulting in a script failure.
# Simply replace the "utf8" parameter in the 4th command line above with "ucs2".
#####################################################################
#####################################################################
'/*': '----------------------------------------------------------------------------'
'..': '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.30.0"
engines:
node: ">=4"
npm: ">=2"
yarn: ">=0.23"
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"
]
# "main" is designed for Node/CommonJS modules, not RequireJS/AMD ones.
# See http://requirejs.org/docs/commonjs.html
# See http://requirejs.org/docs/node.html
#
#main: "build-output/_multiple-bundles/readium-js-viewer.js"
#####################################################################
dependencies:
#"parallelshell": 'latest'
"concurrently": '^3.5.0'
"npm-run-all": '^4.1.2'
"opener": '^1.4.3'
#"http-server": 'latest'
"http-server": 'github:danielweck/http-server#master'
# SEE: https://github.com/indexzero/http-server/issues/154
#####################################################################
# These dependencies can be fetched by using the "--dev" option
# in "npm install --dev readium-js-viewer".
devDependencies:
# see readium-js:
# "crypto-js", "zipjs", "requirejs-text"
# see readium-cfi-js:
# "requirejs", "almond", "jquery"
#"keymaster": 'latest'
"keymaster": 'github:danielweck/keymaster#master'
#"jath": 'latest'
"jath": 'github:danielweck/jath#master'
# "libxmljs" node-gyp python < v3 :(
#"jquery-xpath": 'latest'
"mathjax-single-file": 'github:danielweck/MathJax-single-file#master'
"bootstrap": '3.x'
"bootstrap-accessibility-plugin": 'github:paypal/bootstrap-accessibility-plugin#master'
"hammerjs": '^2.0.8'
"jquery-hammerjs": '^2.0.0'
"screenfull": '^3.3.2'
"JSON2": '^0.1.0'
"hogan": '^1.0.2'
"requirejs-hogan-plugin": '^0.3.1'
"remotestoragejs": '^1.0.1'
"spin.js": '^2.3.2'
# Below dependencies are only used in build tasks (above are runtime deps):
# see readium-cfi-js:
# "cson", "jshint", "glob", "rimraf", "mkdirp", "watch", "live-reload"
# see readium-build-tools (in readium-cfi-js)
# versionsMaker.js
"gift": '^0.10.1'
# Automatically included with the CLI
# "clean-css": 'latest'
"clean-css-cli": '^4.1.10'
"uglify-js": '^3.1.9'
#"nodeunit": 'latest'
"mocha": '^4.0.1'
"wd": '^1.4.1'
"phantomjs-prebuilt": '^2.1.16'
#"grunt": 'latest'
"grunt-selenium-webdriver": 'github:levexis/grunt-selenium-webdriver#master'
#"selenium-webdriver": 'latest'
"crx": '^3.2.1'
# https://github.com/domenic/chai-as-promised/issues/184
"chai": '3.x'
"chai-as-promised": '^7.1.1'
"github": '^12.0.2'
"hogan.js": '^3.0.2'
"httpreq": '^0.4.24'
"xml2js": '^0.4.19'
"decompress-zip": '^0.3.0'
#"unzip": 'latest'