aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json39
1 files changed, 39 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..302afaf
--- /dev/null
+++ b/package.json
@@ -0,0 +1,39 @@
+{
+ "name": "remark-seclink",
+ "version": "1.0.0",
+ "description": "A remark plugin to secure URI of link from JS XSS",
+ "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": "https://git.ache.one/remark-seclink"
+ },
+ "author": "ache <ache@ache.one>",
+ "license": "ISC",
+ "dependencies": {
+ "unist-util-visit": "^1.4.0"
+ },
+ "xo": {
+ "space": true,
+ "rules": {
+ "comma-dangle": [
+ "error",
+ "always-multiline"
+ ]
+ }
+ },
+ "devDependencies": {
+ "@babel/cli": "^7.2.3",
+ "@babel/core": "^7.3.4",
+ "@babel/preset-env": "^7.3.4",
+ "ava": "^1.2.1",
+ "cross-env": "^5.2.0",
+ "del-cli": "^1.1.0",
+ "remark": "^10.0.1",
+ "xo": "^0.24.0"
+ }
+}