1 | {
|
2 | "name": "rehype-sanitize",
|
3 | "version": "2.0.3",
|
4 | "description": "rehype plugin to sanitize HTML",
|
5 | "license": "MIT",
|
6 | "keywords": [
|
7 | "unified",
|
8 | "rehype",
|
9 | "plugin",
|
10 | "sanitize",
|
11 | "clean",
|
12 | "html"
|
13 | ],
|
14 | "repository": "rehypejs/rehype-sanitize",
|
15 | "bugs": "https://github.com/rehypejs/rehype-sanitize/issues",
|
16 | "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
17 | "contributors": [
|
18 | "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
19 | ],
|
20 | "files": [
|
21 | "index.js"
|
22 | ],
|
23 | "dependencies": {
|
24 | "hast-util-sanitize": "^1.1.0"
|
25 | },
|
26 | "devDependencies": {
|
27 | "browserify": "^16.0.0",
|
28 | "deepmerge": "^3.0.0",
|
29 | "nyc": "^14.0.0",
|
30 | "prettier": "^1.0.0",
|
31 | "rehype": "^7.0.0",
|
32 | "remark-cli": "^6.0.0",
|
33 | "remark-preset-wooorm": "^5.0.0",
|
34 | "tape": "^4.0.0",
|
35 | "tinyify": "^2.0.0",
|
36 | "xo": "^0.24.0"
|
37 | },
|
38 | "scripts": {
|
39 | "format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
|
40 | "build-bundle": "browserify index.js -s rehypeSanitize > rehype-sanitize.js",
|
41 | "build-mangle": "browserify index.js -s rehypeSanitize -p tinyify > rehype-sanitize.min.js",
|
42 | "build": "npm run build-bundle && npm run build-mangle",
|
43 | "test-api": "node test",
|
44 | "test-coverage": "nyc --reporter lcov tape test.js",
|
45 | "test": "npm run format && npm run build && npm run test-coverage"
|
46 | },
|
47 | "nyc": {
|
48 | "check-coverage": true,
|
49 | "lines": 100,
|
50 | "functions": 100,
|
51 | "branches": 100
|
52 | },
|
53 | "prettier": {
|
54 | "tabWidth": 2,
|
55 | "useTabs": false,
|
56 | "singleQuote": true,
|
57 | "bracketSpacing": false,
|
58 | "semi": false,
|
59 | "trailingComma": "none"
|
60 | },
|
61 | "xo": {
|
62 | "prettier": true,
|
63 | "esnext": false,
|
64 | "ignores": [
|
65 | "rehype-sanitize.js"
|
66 | ]
|
67 | },
|
68 | "remarkConfig": {
|
69 | "plugins": [
|
70 | "preset-wooorm"
|
71 | ]
|
72 | }
|
73 | }
|