Skip to content

Commit

Permalink
convert code to es5 for CRA compat (#30) (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
aem authored Oct 5, 2017
1 parent 7028911 commit 545a1d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ const parseHTML = require('./lib/parseHTML');

module.exports = {
default: docsSoap,
docsSoap,
parseHTML
docsSoap: docsSoap, //eslint-disable-line
parseHTML: parseHTML //eslint-disable-line
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test": "mocha --compilers js:babel-register test",
"lint": "eslint --ext '.js' ./src",
"flow": "flow",
"build-lib": "babel src --out-dir lib --plugins=transform-flow-strip-types",
"build-lib": "babel src --out-dir lib --plugins=transform-flow-strip-types --presets=es2015",
"build-dev": "webpack --config webpack.config.dev.js",
"build-prod": "webpack --config webpack.config.prod.js",
"build": "npm-run-all build-lib build-dev build-prod"
Expand Down

0 comments on commit 545a1d9

Please sign in to comment.