Skip to content

Commit 0f22985

Browse files
committed
Switch to yarn for task running
1 parent 3a633f0 commit 0f22985

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
"description": "React component to create interactive D3 tree hierarchies",
55
"main": "lib/react-d3-tree.min.js",
66
"scripts": {
7-
"clean": "rimraf lib/*",
8-
"build": "npm run clean && webpack --progress --colors --env build",
9-
"dev": "npm run clean && webpack --progress --colors --watch --env dev",
7+
"clean:lib": "rimraf lib/*",
8+
"build": "yarn clean:lib && webpack --progress --colors --env build",
9+
"dev": "yarn clean:lib && webpack --progress --colors --watch --env dev",
1010
"lint": "eslint .",
11-
"test": "npm run lint && jest --coverage --verbose",
11+
"test": "yarn lint && jest --coverage --verbose",
1212
"test:clean": "rimraf ./coverage",
1313
"test:watch": "jest --watchAll",
1414
"coveralls": "cat ./coverage/lcov.info | coveralls",
1515
"show:cov": "open coverage/lcov-report/index.html",
1616
"docs:react": "react-docgen src -e src/**/*.test.js$|scripts/buildDocs.sh",
17-
"docs": "npm run docs:react && npm run docs:util",
17+
"docs": "yarn docs:react && yarn docs:util",
1818
"docs:util": "jsdoc2md src/util/index.js > docs/util/util.md",
1919
"docs:clean": "rimraf docs/components/* && rimraf docs/util/*",
20-
"release": "npm run test && npm run build && npm run docs && git commit -a && np",
20+
"release": "yarn test && yarn build && yarn docs && git commit -a && np",
2121
"preanalyze": "rimraf stats.json",
2222
"analyze": "webpack --config webpack.config.js --env build --profile --json > stats.json && echo '==> http://webpack.github.io/analyse/'"
2323
},

0 commit comments

Comments
 (0)