-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.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
{
"name": "vite-plugin-html-sri",
"author": "ducphu0ng",
"version": "1.0.2",
"description": "A Vite plugin that enables Subresource Integrity (SRI) by adding integrity attributes to JavaScript and CSS assets",
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/esm/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.js"
}
},
"scripts": {
"build": "tsc && tsup src/index.ts --format cjs,esm --legacy-output --dts --clean",
"test": "vitest",
"watch": "tsc --watch",
"prepublishOnly": "pnpm build",
"lint:format": "prettier --write ./src ./__tests__",
"lint:ts": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ducphu0ng/vite-plugin-html-sri.git"
},
"keywords": [
"subresource",
"integrity",
"sri",
"vite",
"vite-plugin",
"plugin"
],
"packageManager": "[email protected]+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1",
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/node": "^22.5.4",
"prettier": "3.3.3",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"vite": "^5.4.3",
"vitest": "^2.0.5"
},
"dependencies": {
"node-fetch": "^3.3.2",
"node-html-parser": "^6.1.13"
},
"files": [
"LICENSE",
"README.md",
"dist/",
"src/"
]
}