This repository has been archived by the owner on Mar 11, 2018. It is now read-only.
-
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.
- Loading branch information
1 parent
2ca1cea
commit 00a7c7d
Showing
20 changed files
with
3,437 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
{ | ||
"envs": [ | ||
"node6" | ||
"node6", | ||
"node7", | ||
"webpack-node7" | ||
], | ||
"react": false, | ||
"documentation": false, | ||
"testing": false | ||
"testing": false, | ||
"entries": [ | ||
"index" | ||
], | ||
"flow": false, | ||
"doclets": false | ||
} |
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
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 |
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,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
if [[ `git diff HEAD@{1} --stat -- package.json` != "" ]]; then | ||
npm install ; npm prune | ||
yarn | ||
fi |
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,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.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.