Merge pull request #37 from ethereumjs/es5-dist
Switched to babel ES5 build in dist folder for package distribution
This commit is contained in:
commit
86464c91ae
|
@ -33,3 +33,6 @@ package-lock.json
|
|||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
|
||||
# Build folder
|
||||
dist
|
||||
|
|
16
package.json
16
package.json
|
@ -2,13 +2,18 @@
|
|||
"name": "ethereumjs-wallet",
|
||||
"version": "0.6.0",
|
||||
"description": "Utilities for handling Ethereum keys",
|
||||
"main": "index.js",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"coverage": "istanbul cover _mocha",
|
||||
"coveralls": "npm run coverage && coveralls <coverage/lcov.info",
|
||||
"lint": "standard",
|
||||
"prepublish": "npm run lint && npm run test",
|
||||
"test": "mocha ./test/**/*.js"
|
||||
"prepublishOnly": "npm run lint && npm run test:build",
|
||||
"test": "mocha ./test/*.js",
|
||||
"test:build": "npm run build:dist && mocha ./dist/test/*.js",
|
||||
"build:dist": "babel *.js test/*.js -d dist/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -36,6 +41,8 @@
|
|||
"uuid": "^3.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-preset-env": "^1.6.1",
|
||||
"coveralls": "^3.0.0",
|
||||
"istanbul": "^0.4.5",
|
||||
"mocha": "^5.0.0",
|
||||
|
@ -45,6 +52,9 @@
|
|||
"globals": [
|
||||
"describe",
|
||||
"it"
|
||||
],
|
||||
"ignore": [
|
||||
"dist/**"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue