Compile to ES6

This commit is contained in:
Sanath Kumar Ramesh
2017-08-10 23:44:21 -07:00
parent f3157c6c51
commit e18f2df020
5 changed files with 15 additions and 5 deletions

View File

@@ -1,13 +1,14 @@
{
"name": "go-npm",
"version": "0.1.7",
"version": "0.1.8",
"description": "Distribute and install Go binaries via NPM",
"main": "index.js",
"bin": {
"go-npm": "./bin/index.js"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"prepublish": "node_modules/babel-cli/bin/babel.js src --out-dir bin --presets es2015"
},
"author": "Sanath Kumar Ramesh <dayanandasaraswati@gmail.com>",
"license": "Apache-2.0",
@@ -20,5 +21,10 @@
"type": "git",
"url": "https://github.com/sanathkr/go-npm.git"
},
"homepage": "https://github.com/sanathkr/go-npm"
"homepage": "https://github.com/sanathkr/go-npm",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-preset-es2015": "^6.24.1"
}
}