Skip to content

Commit

Permalink
fix(build): make package.json scripts crossplatform
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Sharov committed Dec 18, 2018
1 parent d4de659 commit ac7b82f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
31 changes: 31 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"scripts": {
"lint": "eslint .",
"test": "npm run lint && npm run test-unit",
"test-unit": "NODE_ENV=test mocha test",
"test-unit": "cross-env NODE_ENV=test mocha test",
"precommit": "npm run lint",
"prepublish": "NODE_ENV=production webpack --config=webpack.prod.js",
"prepublish": "cross-env NODE_ENV=production webpack --config=webpack.prod.js",
"start": "webpack-dev-server --config=webpack.dev.js --progress --colors --hot --inline",
"commitmsg": "conventional-changelog-lint -e",
"release": "standard-version",
Expand Down Expand Up @@ -67,6 +67,7 @@
"chai-as-promised": "^7.1.1",
"classnames": "^2.2.5",
"conventional-changelog-lint": "^1.0.1",
"cross-env": "^5.2.0",
"css-loader": "^0.28.7",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
Expand Down

0 comments on commit ac7b82f

Please sign in to comment.