aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-04-24 05:16:22 +0200
committerache <ache@ache.one>2018-04-24 05:17:56 +0200
commitd399622de231fccda49925ca3eaeeb2f123e2094 (patch)
tree16a5f40e850708000c119d358a9cedcb7b878e8f /package.json
parentUpdate comments (diff)
Use babel to distribut
Diffstat (limited to 'package.json')
-rw-r--r--package.json9
1 files changed, 7 insertions, 2 deletions
diff --git a/package.json b/package.json
index 8c5c310..4168dd6 100644
--- a/package.json
+++ b/package.json
@@ -1,10 +1,11 @@
{
"name": "md-attr-parser",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "A parser for markdown's attributes",
- "main": "src/index.js",
+ "main": "dist/index.js",
"scripts": {
"pretest": "xo",
+ "prepare": "del-cli dist && cross-env BABEL_ENV=production babel src --out-dir dist",
"test": "ava"
},
"repository": {
@@ -17,6 +18,10 @@
],
"devDependencies": {
"ava": "^0.25.0",
+ "babel-cli": "^6.26.0",
+ "babel-preset-env": "^1.6.1",
+ "cross-env": "^5.1.4",
+ "del-cli": "^1.1.0",
"xo": "^0.18.2"
},
"license": "GPL-3.0",