-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 1.66 KB
/
package.json
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "@sika7/silver-html-plugin-sanitize",
"version": "1.0.2",
"description": "silver-html plugin for sanitize.",
"main": "dist/index.js",
"scripts": {
"test": "jest --coverage",
"build": "tsc",
"start:dev": "tsc && node ./dist/index.js",
"prepublishOnly": "npm run build"
},
"files": [
"dist"
],
"keywords": [
"html-sanitize",
"silver-html-plugin",
"silver-html"
],
"author": "sika7 <91676209+sika7@users.noreply.github.com>",
"repository": "https://github.com/sika7/silver-html-plugin-sanitize",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=12.0.0"
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"node": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:jest/recommended"
],
"rules": {
"jest/expect-expect": "off"
}
},
"jest": {
"coverageThreshold": {
"global": {
"statements": 80,
"branches": 70,
"functions": 80,
"lines": 80
}
},
"roots": [
"<rootDir>/src"
],
"testMatch": [
"**/__tests__/**/*.+(ts|tsx|js)",
"**/?(*.)+(spec|test).+(ts|tsx|js)"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
}
},
"dependencies": {
"@sika7/postcss-whitelist-sanitize": "^1.0.0",
"postcss": "^8.4.4",
"typescript": "^4.5.2"
},
"devDependencies": {
"@sika7/silver-html": "^1.0.1",
"@types/jest": "^27.0.3",
"@types/parse5": "^6.0.3",
"eslint": "^8.4.1",
"eslint-plugin-jest": "^25.3.0",
"jest": "^27.4.3",
"ts-jest": "^27.1.0"
}
}