|
@@ -2,15 +2,17 @@
|
|
|
"name": "@mightyplow/jslib",
|
|
|
"version": "0.8.0",
|
|
|
"description": "js, helpers library",
|
|
|
+ "main": "dist/index.js",
|
|
|
"devDependencies": {
|
|
|
"babel-cli": "^6.26.0",
|
|
|
"babel-preset-es2015": "^6.22.0",
|
|
|
- "nodeunit": "^0.10.2"
|
|
|
+ "nodeunit": "^0.10.2",
|
|
|
+ "rimraf": "^2.6.1"
|
|
|
},
|
|
|
"scripts": {
|
|
|
"nodeunit": "nodeunit",
|
|
|
"test": "nodeunit tests",
|
|
|
- "build": "babel lib -d dist",
|
|
|
+ "build": "rimraf dist && babel lib -d dist",
|
|
|
"prebublish": "npm run test && npm run build"
|
|
|
},
|
|
|
"files": [
|
|
@@ -30,6 +32,8 @@
|
|
|
},
|
|
|
"license": "ISC",
|
|
|
"babel": {
|
|
|
- "presets": ["es2015"]
|
|
|
+ "presets": [
|
|
|
+ "es2015"
|
|
|
+ ]
|
|
|
}
|
|
|
}
|