Skip to content

Commit cbc6739

Browse files
authored
Add babel and jest (#4)
* Add babel and jest * Add travis integration * Fix travis build command
1 parent d24310d commit cbc6739

File tree

7 files changed

+7143
-4
lines changed

7 files changed

+7143
-4
lines changed

.babelrc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"presets": [
3+
["@babel/preset-env", {
4+
"targets": {
5+
"node": "6"
6+
}
7+
}]
8+
],
9+
"plugins": [
10+
"@babel/plugin-proposal-object-rest-spread"
11+
]
12+
}

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@
88
# node
99
node_modules
1010
npm-debug.log*
11+
12+
# project
13+
lib
14+
coverage

.travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: node_js
2+
node_js:
3+
- 9
4+
- 8
5+
- 6
6+
install:
7+
- npm install
8+
- npm install -g codecov
9+
script:
10+
- npm run build
11+
- npm test
12+
- codecov

0 commit comments

Comments
 (0)