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
7940963
commit 79af44c
Showing
100 changed files
with
5,253 additions
and
339 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,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 | ||
} |
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,10 @@ | ||
language: node_js | ||
node_js: | ||
- node | ||
- "6" | ||
- "4" | ||
|
||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules |
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
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 + '.'); |
72 changes: 17 additions & 55 deletions
72
packages/nightingale-formatter/lib-node6-dev/formatObject.js
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.