-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Upgraded project development environment to babel 7 and webpack 4 (
#1505) * Upgraded project development environment to babel 7 and webpack 4 * Removed unused advisories exceptions from .nsprc * Added package-lock.json to the git repo * Re-run functional tests once when failing on travis windows workers * Add test case for uncovered lines detected by nyc
- Loading branch information
Showing
22 changed files
with
13,531 additions
and
100 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,14 +1,17 @@ | ||
{ | ||
"presets": ["es2015", "stage-2"], | ||
"presets": [ | ||
["@babel/env", { | ||
"targets": {"node": "8"} | ||
}], | ||
"@babel/flow" | ||
], | ||
"plugins": [ | ||
"transform-flow-strip-types", | ||
"transform-class-properties", | ||
"transform-es2015-modules-commonjs", | ||
[ | ||
"transform-runtime", { | ||
"polyfill": false, | ||
"regenerator": true | ||
} | ||
] | ||
] | ||
"@babel/plugin-proposal-class-properties", | ||
"@babel/plugin-transform-runtime" | ||
], | ||
"env": { | ||
"test": { | ||
"plugins": [ "istanbul" ] | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -6,9 +6,9 @@ | |
.cache | ||
|
||
# Build artifacts. | ||
.nyc_output | ||
npm-debug.log | ||
node_modules | ||
dist/* | ||
artifacts/* | ||
coverage/* | ||
package-lock.json |
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,13 +1,7 @@ | ||
{ | ||
"exceptions": [ | ||
"https://npmjs.com/advisories/118", | ||
"https://npmjs.com/advisories/577", | ||
"https://npmjs.com/advisories/612", | ||
"https://npmjs.com/advisories/678", | ||
"https://npmjs.com/advisories/720", | ||
"https://npmjs.com/advisories/725", | ||
"https://npmjs.com/advisories/745", | ||
"https://npmjs.com/advisories/782", | ||
"https://npmjs.com/advisories/786" | ||
"https://npmjs.com/advisories/782" | ||
] | ||
} |
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.