-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
77 lines (77 loc) · 2.17 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
{
"name": "purify-html",
"version": "1.5.9",
"description": "A minimalistic library for sanitizing strings so that they can be safely used as HTML.",
"repository": {
"type": "git",
"url": "git+https://github.com/oleksandr-dukhovnyy/purify-html.git"
},
"jsdelivr": "dist/index.umd",
"unpkg": "dist/index.umd",
"type": "module",
"files": [
"dist/**"
],
"main": "./dist/index.es",
"keywords": [
"html-sanitize",
"sanitize"
],
"bugs": {
"url": "https://github.com/oleksandr-dukhovnyy/purify-html/issues"
},
"homepage": "https://github.com/oleksandr-dukhovnyy/purify-html#readme",
"scripts": {
"dev": "vite",
"build": "vite build",
"prettier": "npx prettier --write .",
"prettier-watch": "onchange \"**/*\" -- prettier --write --ignore-unknown {{changed}}",
"test-watch": "jest --watchAll",
"test": "jest",
"lint": "npx eslint src/**",
"lint-watch": "npx eslint src/** --watch",
"lint-fix": "npx eslint src/** --fix",
"prepare": "husky install",
"types": "tsc"
},
"author": "Oleksandr Dukhovnyy <[email protected]> (https://github.com/oleksandr-dukhovnyy)",
"license": "MIT",
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.19.6",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.5",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"babel-jest": "^29.3.1",
"babel-loader": "^9.1.0",
"core-js": "^3.26.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.9.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.3.1",
"lint-staged": "^13.1.2",
"onchange": "^7.1.0",
"prettier": "2.7.1",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4",
"vite": "^5.0.12",
"vite-plugin-dts": "^3.7.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run test && lint-staged"
}
},
"lint-staged": {
"**/*.js": [
"eslint",
"git add"
]
}
}