-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.6 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
80
81
82
83
84
{
"name": "mt-v-safe-html",
"description": "A lightweight, flexible, and robust XSS sanitizer's Vue plugin based on DOMPurify",
"version": "0.0.0",
"private": false,
"author": {
"name": "motea927",
"email": "motea927@yahoo.com.tw"
},
"license": "MIT",
"release": {
"branches": [
"main",
"beta"
]
},
"scripts": {
"dev:core": "pnpm -r --filter ./packages/core run build:watch & pnpm -r --filter ./playgrounds/vite-vue3 dev",
"dev:nuxt": "pnpm -r --filter ./packages/core run build:watch & pnpm -r --filter ./packages/nuxt dev",
"dev:docs": "pnpm -r --filter ./docs run dev",
"build:core": "pnpm -r --filter ./packages/core run build",
"build:nuxt": "pnpm run build:core && pnpm -r --filter ./packages/nuxt run dev:build && pnpm -r --filter ./packages/nuxt run prepack",
"build:docs": "pnpm -r --filter ./docs run build",
"test:unit": "vitest",
"coverage": "vitest run --coverage",
"lint": "eslint --cache --fix --ext .ts,.mjs,.cjs . && prettier --write -c packages",
"prepare": "husky install",
"release:nuxt": "pnpm run build:nuxt && pnpm -r --filter ./packages/nuxt run release"
},
"type": "module",
"files": [
"packages/core/dist"
],
"main": "./packages/core/dist/index.umd.cjs",
"module": "./packages/core/dist/index.js",
"exports": {
".": {
"types": "./packages/core/dist/index.d.ts",
"import": "./packages/core/dist/index.js",
"require": "./packages/core/dist/index.umd.cjs"
},
"./*": "./packages/core/dist/*"
},
"types": "./packages/core/dist/index.d.ts",
"dependencies": {
"dompurify": "^3.0.3"
},
"devDependencies": {
"@nuxt/devtools": "^0.6.6",
"@rushstack/eslint-patch": "^1.2.0",
"@tsconfig/node18": "^2.0.1",
"@types/dompurify": "^3.0.2",
"@types/jsdom": "^21.1.1",
"@types/node": "^18.16.8",
"@vitejs/plugin-vue": "^4.2.3",
"@vitest/coverage-c8": "^0.32.0",
"@vue/eslint-config-prettier": "^7.1.0",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/test-utils": "^2.3.2",
"@vue/tsconfig": "^0.4.0",
"eslint": "^8.39.0",
"eslint-config-unjs": "^0.1.0",
"eslint-plugin-vue": "^9.11.0",
"husky": "^8.0.3",
"jsdom": "^22.0.0",
"npm-run-all": "^4.1.5",
"nuxt": "^3.6.1",
"prettier": "^2.8.8",
"sass": "^1.63.3",
"semantic-release": "^20.1.0",
"typescript": "~5.0.4",
"vite": "^4.3.5",
"vite-plugin-dts": "^2.3.0",
"vitest": "^0.31.0",
"vue": "^3.3.2",
"vue-tsc": "^1.6.4"
},
"optionalDependencies": {
"vue-i18n": "9.3.0-beta.19"
},
"resolutions": {
"unstorage": "1.4.1"
}
}