1 | {
|
2 | "name": "sanitize-html",
|
3 | "version": "1.26.0",
|
4 | "description": "Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis",
|
5 | "sideEffects": false,
|
6 | "main": "dist/sanitize-html.js",
|
7 | "files": [
|
8 | "dist/"
|
9 | ],
|
10 | "scripts": {
|
11 | "build": "mkdir -p dist && browserify src/index.js > dist/sanitize-html-es2015.js --standalone 'sanitizeHtml' && babel dist/sanitize-html-es2015.js --out-file dist/sanitize-html.js --presets=@babel/preset-env",
|
12 | "minify": "npm run build && uglifyjs dist/sanitize-html.js > dist/sanitize-html.min.js",
|
13 | "prepublishOnly": "npm run minify",
|
14 | "test": "npx eslint . && npm run prepublishOnly && mocha test/test.js"
|
15 | },
|
16 | "repository": {
|
17 | "type": "git",
|
18 | "url": "https://github.com/apostrophecms/sanitize-html.git"
|
19 | },
|
20 | "keywords": [
|
21 | "html",
|
22 | "parser",
|
23 | "sanitizer",
|
24 | "apostrophecms"
|
25 | ],
|
26 | "author": "Apostrophe Technologies, Inc.",
|
27 | "license": "MIT",
|
28 | "dependencies": {
|
29 | "chalk": "^2.4.1",
|
30 | "htmlparser2": "^4.1.0",
|
31 | "lodash": "^4.17.15",
|
32 | "postcss": "^7.0.27",
|
33 | "srcset": "^2.0.1",
|
34 | "xtend": "^4.0.1"
|
35 | },
|
36 | "devDependencies": {
|
37 | "@babel/cli": "^7.8.4",
|
38 | "@babel/core": "^7.8.4",
|
39 | "@babel/preset-env": "^7.8.4",
|
40 | "babelify": "^10.0.0",
|
41 | "browserify": "^16.2.3",
|
42 | "eslint": "^4.0.0",
|
43 | "eslint-config-apostrophe": "^3.1.0",
|
44 | "eslint-config-standard": "^11.0.0",
|
45 | "eslint-plugin-import": "^2.13.0",
|
46 | "eslint-plugin-node": "^6.0.1",
|
47 | "eslint-plugin-promise": "^3.8.0",
|
48 | "eslint-plugin-standard": "^3.1.0",
|
49 | "mocha": "^5.2.0",
|
50 | "sinon": "^9.0.2",
|
51 | "uglify-js": "^3.8.0"
|
52 | }
|
53 | } |
\ | No newline at end of file |