-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 2.19 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 2.19 KB
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
{
"name": "promocode-checker",
"version": "1.0.0",
"description": "validate or not a promotion code from a set of rules that can be defined via API",
"license": "ISC",
"author": "acceleratorLastorder",
"type": "module",
"main": "dist/index.js",
"directories": {
"test": "tests"
},
"scripts": {
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"start": "node dist/index.js",
"tsc": "tsc",
"build": "tsc",
"prebuild": "npm run generate-types",
"build:check": "tsc --noEmit",
"test:types": "tsc --project tsconfig.test.json --noEmit",
"dev": "tsx watch src/index.ts",
"dev:watch": "nodemon --exec \"npm run generate-types && npm run build && npm start\" --ext ts,yaml --watch src --watch static/openapi.yaml",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write .",
"generate-types": "openapi-typescript static/openapi.yaml --output src/types/generated/api-types.ts"
},
"dependencies": {
"@fastify/cors": "11.0.1",
"@fastify/env": "5.0.2",
"@fastify/multipart": "9.0.3",
"@fastify/rate-limit": "10.3.0",
"@fastify/swagger": "9.5.1",
"@fastify/swagger-ui": "5.2.3",
"@prisma/client": "6.10.1",
"ajv": "8.17.1",
"ajv-formats": "3.0.1",
"dotenv": "16.5.0",
"fastify": "5.4.0",
"fastify-plugin": "5.0.1",
"json-rules-engine": "7.3.1",
"yaml": "2.8.0"
},
"devDependencies": {
"@types/jest": "30.0.0",
"@types/node": "24.0.3",
"@types/yaml": "1.9.6",
"@typescript-eslint/eslint-plugin": "8.34.1",
"@typescript-eslint/parser": "8.34.1",
"cross-env": "7.0.3",
"eslint": "9.29.0",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-prettier": "5.5.0",
"eslint-plugin-sonarjs": "3.0.3",
"jest": "30.0.2",
"nodemon": "3.1.10",
"openapi-typescript": "7.8.0",
"prettier": "3.5.3",
"ts-jest": "29.4.0",
"ts-node": "10.9.2",
"tsx": "4.20.3",
"typescript": "5.8.3"
}
}