Skip to content

Commit

Permalink
remove test dependency on babel/register, now refers to babel-register
Browse files Browse the repository at this point in the history
  • Loading branch information
gwyneplaine committed Sep 3, 2017
1 parent e181410 commit 9107812
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
11 changes: 11 additions & 0 deletions package-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,16 @@ module.exports = {
'lessc examples/src/example.less examples/dist/example.less'
)
},
publish: {
default: series(
rimraf('examples'),
concurrent.nps('webpack --progress -p'),
ghPages('examples/dist', function (err) {
if (err) {
console.error(err);
};
})
)
}
},
};
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"url": "https://github.com/JedWatson/react-select.git"
},
"dependencies": {
"babel-register": "^6.26.0",
"classnames": "^2.2.4",
"prop-types": "^15.5.8",
"react-input-autosize": "^1.1.3"
Expand All @@ -36,6 +37,7 @@
"eslint": "^1.10.3",
"eslint-plugin-react": "^3.15.0",
"extract-text-webpack-plugin": "^3.0.0",
"gh-pages": "^1.0.0",
"html-loader": "^0.5.1",
"html-webpack-plugin": "^2.30.1",
"isomorphic-fetch": "^2.2.1",
Expand Down Expand Up @@ -83,12 +85,12 @@
"scripts": {
"build": "nps build",
"cover": "istanbul cover _mocha -- -u exports --compilers js:babel-register -R spec",
"coveralls": "NODE_ENV=test istanbul cover _mocha --report lcovonly -- -u exports --compilers js:babel/register -R spec && cat coverage/lcov.info | coveralls",
"coveralls": "NODE_ENV=test istanbul cover _mocha --report lcovonly -- -u exports --compilers js:babel-register -R spec && cat coverage/lcov.info | coveralls",
"lint": "eslint .",
"publish:examples": "NODE_ENV=production gulp publish:examples",
"release": "NODE_ENV=production gulp release",
"start": "nps build:dev",
"test": "npm run lint && mocha --compilers js:babel/register"
"test": "npm run lint && mocha --compilers js:babel-register"
},
"keywords": [
"combobox",
Expand Down

0 comments on commit 9107812

Please sign in to comment.