forked from nfl/react-helmet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NPM Package updates and improved babel compiling (nfl#179)
* Replaced `config/clean.js` script with `rm -rf` No need to use gulp for this. Removed devDependencies `del` * FIX - gulpfile require clean removed * editorconfig for package.json * gitignore eslintcache * eslint improvements - removed need for gulp using eslint cli instead of a gulp task removed all `gulp` devDependencies moved eslintconfig into package.json * `babel` & `eslint` updates moved babel config into `package.json` removed `.babelrc` update `babel` setup to use presets fixed new lint errors from updates * FIX - compile for commonjs * Unit test packages updated * `isparta-instrumenter-loader` switched to `isparta-loader` as `isparta-instrumenter-loader` is deprecated * switched `phantomjs` to `phantomjs-prebuilt` `phantomjs` package was renamed to `phantomjs-prebuilt` * FIX - commonjs compile * babel compile `es` version for webpack2 and jspm use As you can use es6 versions of packages in compilers now. * `karma-babel-preprocessor` not needed * `nvm` support added for node version control * `engines` added to `package.json` `”node”: “6.6.0”` `”npm”:”3.10.3”` * npm ignore nvm file * travis node versions updated eslint `3.6.1` only support node `>=4` https://github.com/eslint/eslint/blob/66adac172510e173e63db18689762e27cf6cf149/package.json#L119 cache node_modules to speed up travis builds * Chrome Unit test on travis enabled * FIX - travis chrome unit test * `rimraf` & `cross-env` for windows support
- Loading branch information
Showing
15 changed files
with
156 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
node_modules/ | ||
lib/ | ||
build/ | ||
node_modules | ||
lib | ||
build | ||
npm-debug.log | ||
.DS_Store | ||
|
||
.idea | ||
.eslintcache | ||
es |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
node_modules/ | ||
src/ | ||
build/ | ||
node_modules | ||
src | ||
build | ||
.arcconfig | ||
.babelrc | ||
*.yml | ||
.editorconfig | ||
karma.config.js | ||
travis.yml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
lib/test | ||
.nvmrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v6.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- '0.12' | ||
- '0.10' | ||
- 'stable' | ||
- 'node' | ||
- 6 | ||
- 5 | ||
- 4 | ||
|
||
install: | ||
- npm i -g npm@latest | ||
- npm install | ||
|
||
before_install: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- npm install -g npm | ||
- export CHROME_BIN=chromium-browser | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
|
||
script: | ||
- npm run lint | ||
- npm test -- --browsers PhantomJS | ||
cache: | ||
directories: | ||
- node_modules |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.