Skip to content

Commit

Permalink
chore: Add babel-preset-env
Browse files Browse the repository at this point in the history
  • Loading branch information
akoenig committed Sep 20, 2017
1 parent eb911d3 commit 503d87d
Show file tree
Hide file tree
Showing 4 changed files with 390 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cjs/
coverage/
dist/
node_modules/
4 changes: 2 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
src/
.babelrc
.travis.yml
!./cjs
.travis.yml
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
"name": "@akoenig/adhoc",
"description":
"Opinionated higher-order component for establishing ad-hoc stream-based unidirectional data flows.",
"version": "2.0.1",
"version": "2.0.2",
"author": "André König <[email protected]>",
"main": "./dist/index.js",
"module": "./src/index.js",
"license": "SEE LICENSE IN license.md",
"scripts": {
"compile": "babel ./src --out-dir ./cjs",
"test": "npm run compile && jest ./cjs/*.spec.js --coverage",
"compile": "babel --presets=env ./src --out-dir ./dist",
"test": "npm run compile && jest ./dist/*.spec.js --coverage",
"prepublish": "npm run compile"
},
"repository": {
Expand All @@ -23,6 +22,7 @@
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-preset-env": "^1.6.0",
"enzyme": "^2.9.1",
"jest": "^21.1.0",
"react": "^15.6.1",
Expand All @@ -31,5 +31,5 @@
"recompose": "^0.25.0",
"xstream": "^10.9.0"
},
"files": ["cjs", "src"]
"files": ["dist"]
}
Loading

0 comments on commit 503d87d

Please sign in to comment.