-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
{ | ||
"envs": [ | ||
"node6", | ||
"node7", | ||
"webpack-modern-browsers", | ||
"webpack" | ||
"webpack", | ||
"webpack-node7" | ||
], | ||
"react": false, | ||
"testing": true, | ||
"documentation": false | ||
"documentation": false, | ||
"entries": [ | ||
"index" | ||
], | ||
"flow": false, | ||
"doclets": false | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
language: node_js | ||
node_js: | ||
- node | ||
- "6" | ||
- "4" | ||
|
||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
if [[ `git diff HEAD@{1} --stat -- package.json` != "" ]]; then | ||
npm install ; npm prune | ||
yarn | ||
fi |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
if [[ `git diff HEAD@{1} --stat -- package.json` != "" ]]; then | ||
npm install ; npm prune | ||
yarn | ||
fi |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
var production = process.env.NODE_ENV === 'production'; | ||
module.exports = require('./lib-node6' + (production ? '' : '-dev') + '/'); | ||
if (process.version.startsWith && process.version.startsWith('v7.')) | ||
return module.exports = require('./lib-node7' + (production ? '' : '-dev') + '/index'); | ||
if (process.version.startsWith && process.version.startsWith('v6.')) | ||
return module.exports = require('./lib-node6' + (production ? '' : '-dev') + '/index'); | ||
throw new Error('Platform not supported: ' + process.version + '.'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.