fixed CLI || operator
MODIFY
package.cson
package.cson
@@ -167,7 +167,7 @@ scripts:
#=====================
'prepare:local': '
- npm outdated || echo outdated
+ (npm outdated || echo outdated)
&&
npm install --no-save --only=prod
&&
@@ -191,7 +191,7 @@ scripts:
#=====================
'prepare:yarn:local': '
- yarn outdated || echo outdated
+ (yarn outdated || echo outdated)
&&
yarn install
&&
@@ -248,7 +248,7 @@ scripts:
#=====================
clean: '
- yarn --version || echo noyarn
+ (yarn --version || echo noyarn)
&&
node --version
&&

MODIFY
package.json
package.json
"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 --no-save --only=prod && npm install --no-save --only=dev && npm update --no-save && npm run prepare:local:common",
+ "prepare:local": "(npm outdated || echo outdated) && npm install --no-save --only=prod && npm install --no-save --only=dev && npm update --no-save && 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 upgrade && yarn run prepare:local:common",
+ "prepare:yarn:local": "(yarn outdated || echo outdated) && yarn install && yarn upgrade && yarn run prepare:local:common",
"prepare:local:common": "npm run prepare:patch && 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",
"prepare:patch": "node ./readium-cfi-js/node_modules/rimraf/bin.js node_modules/eventemitter3/_rjs/** && node readium-cfi-js/node_modules/requirejs/bin/r.js -convert node_modules/eventemitter3/ node_modules/eventemitter3/_rjs/",
- "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/*",
+ "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",

MODIFY
readium-cfi-js
readium-cfi-js
-Subproject commit 328221965e4c89749c4c72a6d6b0ce7fb8d98bea
+Subproject commit 4332c829defc94ad6a637829d0807bb00990e35a

fixed CLI || operator