-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.38 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
{
"name": "nestjs-xsecurity",
"version": "1.0.2",
"description": "Security middleware for NestJS applications with token validation and rate limiting",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"nestjs-xsecurity": "./dist/cli/bin/install.js"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc -p tsconfig.json && chmod +x dist/cli/bin/install.js",
"prepare": "husky",
"format": "prettier --write \"src/**/*.ts\"",
"test": "jest --forceExit --detectOpenHandles",
"test:watch": "jest --watch --detectOpenHandles",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"prepublishOnly": "npm run lint && npm run test",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"format:fix": "prettier --write \"src/**/*.ts\" --end-of-line auto",
"lint": "eslint \"src/**/*.ts\" --fix --fix-type problem,suggestion,layout"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"keywords": [
"nestjs",
"security",
"middleware",
"rate-limiting",
"token-validation",
"security-middleware",
"nestjs-security",
"api-security"
],
"author": "Azizul Hakim",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ahs12/nestjs-xsecurity.git"
},
"bugs": {
"url": "https://github.com/ahs12/nestjs-xsecurity/issues"
},
"homepage": "https://github.com/ahs12/nestjs-xsecurity#readme",
"engines": {
"node": ">=14"
},
"devDependencies": {
"@nestjs/common": "^10.0.0",
"@nestjs/config": "^3.0.0",
"@nestjs/core": "^10.0.0",
"@nestjs/testing": "^10.4.6",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.14",
"@types/node": "^20.8.4",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"prettier": "^3.0.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.2.2"
},
"peerDependencies": {
"@nestjs/common": "^9.0.0 || ^10.0.0",
"@nestjs/core": "^9.0.0 || ^10.0.0"
}
}