aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-10-18 08:58:04 +0200
committerache <ache@ache.one>2018-10-18 08:58:04 +0200
commite8bc626cc05a860cfd2275d350fc7c7a28936c01 (patch)
tree69a19f0cc5c4a2156414877ae523e32a2c412ed5 /package.json
parentSupports aria attributes (diff)
Improve repo architecture to use babel
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
1 files changed, 8 insertions, 5 deletions
diff --git a/package.json b/package.json
index 61de8f8..c3465cd 100644
--- a/package.json
+++ b/package.json
@@ -2,15 +2,13 @@
"name": "remark-attr",
"version": "0.6.3",
"description": "Add support of custom attributes to Markdown syntax.",
- "main": "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": {
- "type": "git",
- "url": "git+https://github.com/arobase-che/remark-attr.git"
- },
+ "repository": "github:arobase-che/remark-attr",
"keywords": [
"markdown",
"attribute",
@@ -24,6 +22,11 @@
"homepage": "https://github.com/arobase-che/remark-attr#readme",
"devDependencies": {
"ava": "^0.25.0",
+ "babel-cli": "^6.26.0",
+ "babel-preset-env": "^1.6.1",
+ "babel-plugin-transform-object-rest-spread": "^6.26.0",
+ "cross-env": "^5.1.4",
+ "del-cli": "^1.1.0",
"parse5": "^5.0.0",
"rehype-raw": "^2.0.0",
"rehype-stringify": "^3.0.0",