diff --git a/package.json b/package.json index 9510102..cd6ebff 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,11 @@ "format": "prettier --semi false --write 'src/**/*.js'", "release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish" }, + "babel": { + "presets": "es2015" + }, "devDependencies": { + "babel-preset-es2015": "^6.24.1", "jest": "^20.0.4", "prettier": "~1.4.1", "rollup": "^0.41.6", diff --git a/test/html.test.js b/test/html.test.js index 68f372c..6406b52 100644 --- a/test/html.test.js +++ b/test/html.test.js @@ -1,5 +1,5 @@ import { h } from "hyperapp" -import html, { div, h1 } from "../dist/html" +import html, { div, h1 } from "../dist/html.js" test("hyperapp h similarity", () => { expect(