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" "promise-toolbox": "^0.8.0"
}, },
"scripts": { "scripts": {
"commit-msg": "lerna run test", "commit-msg": "yarn test",
"install": "lerna bootstrap", "install": "lerna exec -- yarn",
"test": "lerna run test" "test": "lerna exec -- yarn test"
} }
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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