UNPKG

1.63 kBJSONView Raw
1{
2 "name": "rehype-sanitize",
3 "version": "2.0.1",
4 "description": "Sanitize HTML with rehype",
5 "license": "MIT",
6 "keywords": [
7 "rehype",
8 "plugin",
9 "sanitize",
10 "clean",
11 "html"
12 ],
13 "repository": "https://github.com/wooorm/rehype-sanitize",
14 "bugs": "https://github.com/wooorm/rehype-sanitize/issues",
15 "author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
16 "contributors": [
17 "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)"
18 ],
19 "files": [
20 "index.js"
21 ],
22 "dependencies": {
23 "hast-util-sanitize": "^1.1.0"
24 },
25 "devDependencies": {
26 "browserify": "^14.1.0",
27 "deepmerge": "^1.2.0",
28 "esmangle": "^1.0.0",
29 "hast-util-sanitize": "^1.1.0",
30 "nyc": "^11.0.0",
31 "rehype": "^5.0.0",
32 "remark-cli": "^3.0.0",
33 "remark-preset-wooorm": "^3.0.0",
34 "tape": "^4.0.0",
35 "xo": "^0.18.0"
36 },
37 "scripts": {
38 "build-md": "remark . -qfo",
39 "build-bundle": "browserify index.js --bare -s rehypeSanitize > rehype-sanitize.js",
40 "build-mangle": "esmangle rehype-sanitize.js > rehype-sanitize.min.js",
41 "build": "npm run build-md && npm run build-bundle && npm run build-mangle",
42 "lint": "xo",
43 "test-api": "node test/index.js",
44 "test-coverage": "nyc --reporter lcov tape test.js",
45 "test": "npm run build && npm run lint && npm run test-coverage"
46 },
47 "nyc": {
48 "check-coverage": true,
49 "lines": 100,
50 "functions": 100,
51 "branches": 100
52 },
53 "xo": {
54 "space": true,
55 "esnext": false,
56 "ignores": [
57 "rehype-sanitize.js"
58 ]
59 },
60 "remarkConfig": {
61 "plugins": ["preset-wooorm"]
62 }
63}