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
Showing
9 changed files
with
10,633 additions
and
2,480 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,4 +1,34 @@ | ||
{ | ||
"plugins": ["transform-runtime", "transform-object-rest-spread"], | ||
"presets": ["env"] | ||
} | ||
"presets": [ | ||
[ | ||
"env", { | ||
"modules": false, | ||
"useBuiltIns": true, | ||
"targets": { | ||
"node": "8" | ||
} | ||
} | ||
] | ||
], | ||
"plugins": [ | ||
"transform-object-rest-spread" | ||
], | ||
|
||
"env": { | ||
|
||
"test": { | ||
"presets": [ | ||
[ | ||
"env", { | ||
"modules": "commonjs", | ||
"useBuiltIns": true, | ||
"targets": { | ||
"node": "current" | ||
} | ||
} | ||
] | ||
] | ||
} | ||
|
||
} | ||
} |
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,8 @@ | ||
node_modules | ||
*.log | ||
lib | ||
umd | ||
es | ||
coverage | ||
.idea | ||
.DS_Store |
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,12 @@ | ||
[ | ||
{ | ||
"name": "CJS", | ||
"path": "lib/index.js", | ||
"limit": "4 KB" | ||
}, | ||
{ | ||
"name": "UMD", | ||
"path": "umd/index.js", | ||
"limit": "4 KB" | ||
} | ||
] |
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,6 @@ | ||
language: node_js | ||
node_js: | ||
- "node" | ||
- "lts/*" | ||
- "6" | ||
cache: | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## Prerequisites | ||
|
||
[Node.js](http://nodejs.org/) >= v8 must be installed. | ||
|
||
## Installation | ||
|
||
- Running `npm install` in the module's root directory will install everything you need for development. | ||
|
||
## Running Tests | ||
|
||
- `npm test` will run the tests once. | ||
|
||
## Building | ||
|
||
- `npm run build` will build the module. | ||
|
||
- `npm run clean` will delete built resources. |
Oops, something went wrong.