chore: exclusively use yarn instead of npm

This commit is contained in:
Julien Fontanet 2017-01-27 16:54:32 +01:00
parent 7523cb3489
commit cfabadffe4
15 changed files with 44 additions and 44 deletions

View File

@ -5,8 +5,8 @@
"promise-toolbox": "^0.8.0"
},
"scripts": {
"commit-msg": "lerna run test",
"install": "lerna bootstrap",
"test": "lerna run test"
"commit-msg": "yarn test",
"install": "lerna exec -- yarn",
"test": "lerna exec -- yarn test"
}
}

View File

@ -36,8 +36,8 @@
"depcheck": "dependency-check ./package.json",
"dev": "babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard",
"posttest": "npm run lint && npm run depcheck",
"prepublish": "npm run build"
"posttest": "yarn run lint && yarn run depcheck",
"prepublish": "yarn run build"
},
"standard": {
"ignore": [

View File

@ -47,7 +47,7 @@
},
"scripts": {
"lint": "standard",
"posttest": "npm run lint"
"posttest": "yarn run lint"
},
"greenkeeper": {
"ignore": [

View File

@ -50,8 +50,8 @@
"dev-test": "jest --bail --watch",
"posttest": "standard && dependency-check ./package.json --entry dist/collection.js index.js unique-index.js view.js",
"prebuild": "rimraf dist/",
"predev": "npm run prebuild",
"prepublish": "npm run build",
"predev": "yarn run prebuild",
"prepublish": "yarn run build",
"test": "jest"
},
"babel": {

View File

@ -46,10 +46,10 @@
"depcheck": "dependency-check ./package.json --entry api-errors.js",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard",
"posttest": "npm run lint && npm run depcheck",
"prebuild": "npm run clean",
"predev": "npm run clean",
"prepublish": "npm run build"
"posttest": "yarn run lint && yarn run depcheck",
"prebuild": "yarn run clean",
"predev": "yarn run clean",
"prepublish": "yarn run build"
},
"babel": {
"plugins": [

View File

@ -49,10 +49,10 @@
"depcheck": "dependency-check ./package.json",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard",
"posttest": "npm run lint && npm run depcheck",
"prebuild": "npm run clean",
"predev": "npm run clean",
"prepublish": "npm run build"
"posttest": "yarn run lint && yarn run depcheck",
"prebuild": "yarn run clean",
"predev": "yarn run clean",
"prepublish": "yarn run build"
},
"babel": {
"plugins": [

View File

@ -45,8 +45,8 @@
"dev-test": "jest --bail --watch",
"posttest": "standard && dependency-check ./package.json",
"prebuild": "rimraf dist/",
"predev": "npm run prebuild",
"prepublish": "npm run build",
"predev": "yarn run prebuild",
"prepublish": "yarn run build",
"test": "jest"
},
"babel": {

View File

@ -52,8 +52,8 @@
"dev": "NODE_DEV=development babel --watch --source-maps --out-dir=dist/ src/",
"dev-test": "mocha --opts .mocha.opts --watch --reporter=min \"dist/**/*.spec.js\"",
"lint": "standard",
"posttest": "npm run lint && npm run depcheck",
"prepublish": "npm run build",
"posttest": "yarn run lint && yarn run depcheck",
"prepublish": "yarn run build",
"test": "mocha --opts .mocha.opts \"dist/**/*.spec.js\""
},
"babel": {

View File

@ -57,10 +57,10 @@
"depcheck": "dependency-check ./package.json",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard",
"posttest": "npm run lint && npm run depcheck",
"prebuild": "npm run clean",
"predev": "npm run clean",
"prepublish": "npm run build"
"posttest": "yarn run lint && yarn run depcheck",
"prebuild": "yarn run clean",
"predev": "yarn run clean",
"prepublish": "yarn run build"
},
"babel": {
"plugins": [

View File

@ -52,10 +52,10 @@
"depcheck": "dependency-check ./package.json",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard",
"posttest": "npm run lint && npm run depcheck",
"prebuild": "npm run clean",
"predev": "npm run clean",
"prepublish": "npm run build"
"posttest": "yarn run lint && yarn run depcheck",
"prebuild": "yarn run clean",
"predev": "yarn run clean",
"prepublish": "yarn run build"
},
"babel": {
"plugins": [

View File

@ -55,10 +55,10 @@
"depcheck": "dependency-check ./package.json",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard",
"posttest": "npm run lint && npm run depcheck",
"prebuild": "npm run clean",
"predev": "npm run clean",
"prepublish": "npm run build"
"posttest": "yarn run lint && yarn run depcheck",
"prebuild": "yarn run clean",
"predev": "yarn run clean",
"prepublish": "yarn run build"
},
"babel": {
"plugins": [

View File

@ -50,8 +50,8 @@
"depcheck": "dependency-check ./package.json",
"dev": "NODE_DEV=development babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard",
"posttest": "npm run lint && npm run depcheck",
"prepublish": "npm run build"
"posttest": "yarn run lint && yarn run depcheck",
"prepublish": "yarn run build"
},
"babel": {
"plugins": [

View File

@ -54,8 +54,8 @@
"dev-test": "jest --bail --watch",
"posttest": "standard && dependency-check ./package.json",
"prebuild": "rimraf dist/",
"predev": "npm run prebuild",
"prepublish": "npm run build",
"predev": "yarn run prebuild",
"prepublish": "yarn run build",
"test": "jest"
},
"babel": {

View File

@ -51,10 +51,10 @@
"depcheck": "dependency-check ./package.json",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard",
"posttest": "npm run lint && npm run depcheck",
"prebuild": "npm run clean",
"predev": "npm run clean",
"prepublish": "npm run build"
"posttest": "yarn run lint && yarn run depcheck",
"prebuild": "yarn run clean",
"predev": "yarn run clean",
"prepublish": "yarn run build"
},
"babel": {
"plugins": [

View File

@ -53,10 +53,10 @@
"depcheck": "dependency-check ./package.json",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard",
"posttest": "npm run lint && npm run depcheck",
"prebuild": "npm run clean",
"predev": "npm run clean",
"prepublish": "npm run build"
"posttest": "yarn run lint && yarn run depcheck",
"prebuild": "yarn run clean",
"predev": "yarn run clean",
"prepublish": "yarn run build"
},
"babel": {
"plugins": [