forked from apostrophecms/sanitize-html
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.58 KB
/
package.json
File metadata and controls
51 lines (51 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "sanitize-html",
"version": "2.4.0",
"description": "Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis",
"sideEffects": false,
"main": "dist/sanitize-html.js",
"files": [
"dist/"
],
"scripts": {
"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",
"minify": "npm run build && uglifyjs dist/sanitize-html.js > dist/sanitize-html.min.js",
"prepublishOnly": "npm run minify",
"test": "npx eslint . && npm run prepublishOnly && mocha test/test.js"
},
"repository": {
"type": "git",
"url": "https://github.com/apostrophecms/sanitize-html.git"
},
"keywords": [
"html",
"parser",
"sanitizer",
"apostrophecms"
],
"author": "Apostrophe Technologies, Inc.",
"license": "MIT",
"dependencies": {
"htmlparser2": "^4.1.0",
"lodash": "^4.17.15",
"parse-srcset": "^1.0.2",
"postcss": "^7.0.27"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"babelify": "^10.0.0",
"browserify": "^16.2.3",
"eslint": "^7.1.0",
"eslint-config-apostrophe": "^3.1.0",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"mocha": "^5.2.0",
"sinon": "^9.0.2",
"uglify-js": "^3.8.0"
}
}