Skip to content

Commit

Permalink
Transpile for all build systems
Browse files Browse the repository at this point in the history
  • Loading branch information
bhstahl committed Nov 26, 2016
1 parent 1c86fcd commit b15139a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
src/index.transpiled.js
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ node_modules

# OSX
.DS_Store

# Transpiled version
src/index.transpiled.js
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
"name": "auto-retry",
"version": "1.0.0",
"description": "Exponentially retry any promise returning function when it fails, automatically",
"main": "index.js",
"main": "src/index.transpiled.js",
"module": "src/index.js",
"jsnext:main": "src/index.js",
"scripts": {
"pretest": "npm run lint",
"test": "nyc ava",
"build": "babel src/index.js --out-file src/index.transpiled.js",
"lint": "eslint --format=node_modules/eslint-formatter-pretty src test",
"coverage": "npm test && nyc report --reporter=text-lcov | coveralls"
"coverage": "npm test && nyc report --reporter=text-lcov | coveralls",
"prepublish": "npm run lint && npm test && npm run build"
},
"repository": {
"type": "git",
Expand All @@ -26,6 +30,7 @@
"devDependencies": {
"@vimeo/eslint-config-player": "^4.0.1",
"ava": "^0.17.0",
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
"babel-preset-es2015": "^6.18.0",
"coveralls": "^2.11.15",
Expand Down

0 comments on commit b15139a

Please sign in to comment.