Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: node_js

node_js:
- 8
- 7
- 6
- 5

script:
- node ./internals/scripts/generate-templates-for-linting
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ environment:

matrix:
# Node versions to run
- nodejs_version: 8
- nodejs_version: 7
- nodejs_version: 6
- nodejs_version: 5

# Fix line endings in Windows. (runs before repo cloning)
init:
Expand Down
2 changes: 1 addition & 1 deletion docs/general/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ pipelines:
## I'm using Node v0.12 and the server doesn't work?

We settled on supporting the last three major Node.js versions for the boilerplate – at the moment
of this writing those are v5, v6 and v7. We **highly recommend upgrading to a newer Node.js version**!
of this writing those are v6, v7 and v8. We **highly recommend upgrading to a newer Node.js version**!

If you _have_ to use Node.js 0.12, you can hack around the server not running by using `babel-cli` to
run the server: `npm install babel-cli`, and then replace all instances of `node server` in the `"scripts"`
Expand Down
2 changes: 1 addition & 1 deletion internals/scripts/extract-intl.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const presets = pkg.babel.presets;
const plugins = pkg.babel.plugins || [];

const i18n = require('../../app/i18n');
import { DEFAULT_LOCALE } from '../../app/containers/App/constants';
const { DEFAULT_LOCALE } = require('../../app/containers/App/constants');

require('shelljs/global');

Expand Down
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"url": "git://github.com/react-boilerplate/react-boilerplate.git"
},
"engines": {
"npm": ">=3",
"node": ">=5"
"npm": ">=5",
"node": ">=6"
},
"author": "Max Stoiber",
"license": "MIT",
Expand Down Expand Up @@ -67,6 +67,15 @@
"stage-0"
],
"env": {
"development": {
"only": [
"app",
"internals/scripts"
],
"plugins": [
"transform-react-jsx-source"
]
},
"production": {
"only": [
"app"
Expand Down Expand Up @@ -275,6 +284,7 @@
"babel-plugin-transform-react-constant-elements": "6.23.0",
"babel-plugin-transform-react-inline-elements": "6.22.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.5",
"babel-plugin-transform-react-jsx-source": "6.22.0",
"babel-preset-env": "1.5.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-0": "6.24.1",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ babel-plugin-transform-react-jsx-self@^6.22.0:
babel-plugin-syntax-jsx "^6.8.0"
babel-runtime "^6.22.0"

babel-plugin-transform-react-jsx-source@^6.22.0:
babel-plugin-transform-react-jsx-source@6.22.0, babel-plugin-transform-react-jsx-source@^6.22.0:
version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-jsx-source/-/babel-plugin-transform-react-jsx-source-6.22.0.tgz#66ac12153f5cd2d17b3c19268f4bf0197f44ecd6"
dependencies:
Expand Down