Skip to content

Commit

Permalink
Using babel/node instead of esm as we use non Node v6 features in our…
Browse files Browse the repository at this point in the history
… source code right now.
  • Loading branch information
swernerx committed Jul 31, 2018
1 parent 19beb44 commit 2f699e5
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 9 deletions.
137 changes: 130 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"release:minor": "git push && release-it --github.release --npm.publish --non-interactive --increment minor",
"release:major": "git push && release-it --github.release --npm.publish --non-interactive --increment major",
"test": "rimraf test/lib test/dist && npm run prepare && node ./bin/prepublish --input-node test/src/index.js --output-folder test/lib && webpack --hide-modules --config test/webpack.config.js",
"prepare": "rimraf bin && node -r esm src/cli.js"
"prepare": "rimraf bin && cross-env EDGE_ENV=node babel-node src/cli.js"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -68,12 +68,13 @@
},
"devDependencies": {
"@babel/core": "^7.0.0-beta.55",
"@babel/node": "^7.0.0-beta.55",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.4.2",
"cross-env": "^5.2.0",
"css-loader": "^1.0.0",
"eslint": "^5.2.0",
"eslint-config-readable": "^2.1.3",
"esm": "^3.0.72",
"file-loader": "^1.1.11",
"flow-bin": "^0.77.0",
"prettier": "^1.14.0",
Expand Down

0 comments on commit 2f699e5

Please sign in to comment.