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