forked from nuxt-modules/security
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.45 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
85
86
87
88
89
90
91
92
93
{
"name": "nuxt-security",
"version": "2.1.4",
"license": "MIT",
"type": "module",
"engines": {
"node": ">=18.0.0"
},
"homepage": "https://nuxt-security.vercel.app",
"description": "🛡️ Security Module for Nuxt based on HTTP Headers and Middleware",
"repository": {
"url": "https://github.com/Baroshem/nuxt-security"
},
"keywords": [
"nuxt",
"vue",
"security",
"owasp",
"helmet",
"basic-auth",
"rate-limit",
"xss",
"cors",
"request-size-limit",
"allowed-http-methods",
"csrf",
"content-security-policy"
],
"exports": {
".": {
"types": "./dist/module.d.ts",
"import": "./dist/module.mjs",
"require": "./dist/module.cjs"
}
},
"main": "./dist/module.cjs",
"types": "./dist/module.d.ts",
"files": [
"dist"
],
"scripts": {
"prepack": "nuxt-module-build build",
"dev": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:start": "nuxi start playground",
"dev:generate": "nuxi generate playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"dev:preview": "nuxi preview playground",
"dev:docs": "rm -rf dist && cd docs && yarn dev",
"lint": "eslint .",
"release": "yarn lint && yarn test && yarn prepack && changelogen --release && npm publish && git push --follow-tags",
"test": "vitest run --silent",
"test:watch": "vitest watch",
"stackblitz": "cd .stackblitz && yarn && yarn dev"
},
"packageManager": "[email protected]",
"dependencies": {
"@nuxt/kit": "^3.11.2",
"basic-auth": "^2.0.1",
"defu": "^6.1.1",
"nuxt-csurf": "^1.6.5",
"pathe": "^1.0.0",
"unplugin-remove": "^1.0.3",
"xss": "^1.0.14"
},
"devDependencies": {
"@nuxt/eslint-config": "^0.3.10",
"@nuxt/module-builder": "^0.8.3",
"@nuxt/schema": "^3.11.2",
"@nuxt/test-utils": "^3.12.0",
"@types/node": "^18.18.1",
"changelogen": "^0.5.7",
"eslint": "^8.50.0",
"nuxt": "^3.11.2",
"typescript": "^5.4.5",
"vitest": "^1.3.1"
},
"stackblitz": {
"installDependencies": false,
"startCommand": "yarn stackblitz"
},
"unbuild": {
"entries": [
"./src/utils/crypto.ts",
"./src/utils/headers.ts",
"./src/utils/merge.ts",
"./src/defaultConfig.ts"
],
"externals": [
"unstorage"
]
}
}