Skip to content

Commit

Permalink
🔧 Factorize commands in package.json files
Browse files Browse the repository at this point in the history
  • Loading branch information
nlepage committed Jan 25, 2019
1 parent f365070 commit d6eaf9f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
7 changes: 4 additions & 3 deletions packages/immutadot-benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@
"jest": "~21.2.1",
"lerna": "~3.10.6",
"qim": "~0.0.52",
"seamless-immutable": "^7.1.4"
"seamless-immutable": "~7.1.4"
},
"scripts": {
"prestart": "lerna run --scope @immutadot/parser build && lerna run --scope immutadot build",
"build:deps": "lerna run --scope @immutadot/parser build && lerna run --scope immutadot build",
"prestart": "yarn build:deps",
"start": "jest -i",
"prefast": "lerna run --scope @immutadot/parser build && lerna run --scope immutadot build",
"prefast": "yarn build:deps",
"fast": "cross-env FAST=true jest -i",
"test": "echo No tests"
}
Expand Down
5 changes: 3 additions & 2 deletions packages/immutadot-lodash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@
"scripts": {
"build": "cross-env BABEL_ENV=production babel src -d .",
"lint": "eslint src",
"pretest": "lerna run --scope @immutadot/parser build && lerna run --scope immutadot build",
"build:deps": "lerna run --scope @immutadot/parser build && lerna run --scope immutadot build",
"pretest": "yarn build:deps",
"test": "jest -c ../../config/jest.js",
"pretest:coverage": "lerna run --scope @immutadot/parser build && lerna run --scope immutadot build",
"pretest:coverage": "yarn build:deps",
"test:coverage": "jest -c ../../config/jest.js --maxWorkers=2 --coverage",
"docs": "jsdoc -c ../../config/jsdoc.json",
"docs:private": "jsdoc -c ../../config/jsdoc.json -p"
Expand Down
5 changes: 3 additions & 2 deletions packages/immutadot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
"scripts": {
"build": "cross-env BABEL_ENV=production babel src -d .",
"lint": "eslint src",
"pretest": "lerna run --scope @immutadot/parser build",
"build:deps": "lerna run --scope @immutadot/parser build",
"pretest": "yarn build:deps",
"test": "jest -c ../../config/jest.js",
"pretest:coverage": "lerna run --scope @immutadot/parser build",
"pretest:coverage": "yarn build:deps",
"test:coverage": "jest -c ../../config/jest.js --maxWorkers=2 --coverage",
"docs": "jsdoc -c ../../config/jsdoc.json",
"docs:private": "jsdoc -c ../../config/jsdoc.json -p"
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7968,7 +7968,7 @@ scss-tokenizer@^0.2.3:
js-base64 "^2.1.8"
source-map "^0.4.2"

seamless-immutable@^7.1.4:
seamless-immutable@~7.1.4:
version "7.1.4"
resolved "https://registry.yarnpkg.com/seamless-immutable/-/seamless-immutable-7.1.4.tgz#6e9536def083ddc4dea0207d722e0e80d0f372f8"
integrity sha512-XiUO1QP4ki4E2PHegiGAlu6r82o5A+6tRh7IkGGTVg/h+UoeX4nFBeCGPOhb4CYjvkqsfm/TUtvOMYC1xmV30A==
Expand Down

0 comments on commit d6eaf9f

Please sign in to comment.