forked from readium/readium-js-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage_scripts_base.cson
90 lines (73 loc) · 1.83 KB
/
package_scripts_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
#
# See package.cson for more information
#
#####################################################################
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:all': '
npm run
prepare:submodule
&&
npm run
prepare:local
'
#=====================
'prepare:local': '
(npm outdated || echo outdated)
&&
npm install --only=prod
&&
npm install --only=dev
&&
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-js/readium-shared-js/readium-cfi-js/readium-build-tools/gitHubForksUpdater.js
'
#=====================
'prepare:submodule': '
cd readium-js
&&
npm run prepare:all
&&
cd ..
&&
ls
'
#=====================
'prepare:yarn:submodule': '
cd readium-js
&&
yarn run prepare:yarn:all
&&
cd ..
&&
ls
'