diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1c1e68ce7..8baab32c1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -98,7 +98,7 @@ npm install --save "react-on-rails@../../react_on_rails" When you use a relative path, be sure to run the above `npm install` command whenever you change the node package for react-on-rails. -Wihle we'd prefer to us `npm link`, we get errors. If you can figure out how to get `npm link react-on-rails` to work with this project, please file an issue or PR! This used to work with babel 5. +While we'd prefer to use `npm link`, we get errors. If you can figure out how to get `npm link react-on-rails` to work with this project, please file an issue or PR! This used to work with babel 5. This is the error: @@ -174,7 +174,7 @@ spec/dummy. # Optionally change default selenium_firefox driver export DRIVER=poltergeist cd -npm dummy:spec +npm run dummy:spec ``` ### Run NPM JS tests diff --git a/lib/generators/react_on_rails/templates/base/base/client/package.json.tt b/lib/generators/react_on_rails/templates/base/base/client/package.json.tt index b785e9e58..60bda3b4f 100644 --- a/lib/generators/react_on_rails/templates/base/base/client/package.json.tt +++ b/lib/generators/react_on_rails/templates/base/base/client/package.json.tt @@ -14,7 +14,6 @@ }, "cacheDirectories": ["node_modules", "client/node_modules"], "dependencies": { - "babel": "^6.5.2", "babel-cli": "^6.18.0", "babel-core": "^6.21.0", "babel-loader": "^6.2.10", diff --git a/spec/dummy/client/package.json b/spec/dummy/client/package.json index 289d9c581..3fa95b812 100644 --- a/spec/dummy/client/package.json +++ b/spec/dummy/client/package.json @@ -9,7 +9,6 @@ "main": "js/app.js", "dependencies": { "autoprefixer": "^6.6.1", - "babel": "^6.5.2", "babel-cli": "^6.18.0", "babel-core": "^6.21.0", "babel-loader": "^6.2.10",