-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
109 lines (109 loc) · 3.18 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "next-api-decorators",
"description": "Collection of decorators to create typed Next.js API routes, with easy request validation and transformation.",
"version": "0.0.0-development",
"author": {
"name": "Instant Commerce",
"url": "https://instantcommerce.io",
"email": "[email protected]"
},
"main": "dist/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/instantcommerce/next-api-decorators"
},
"bugs": {
"url": "https://github.com/instantcommerce/next-api-decorators/issues"
},
"keywords": [
"typescript",
"next.js",
"decorators"
],
"scripts": {
"build": "rm -rf dist && tsc -p ./tsconfig.build.json --rootDir lib",
"commit": "./node_modules/cz-customizable/standalone.js",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint \"!(examples|website)/**/*.+(js|jsx|ts|tsx|mdx)\"",
"ts-coverage": "typescript-coverage-report",
"semantic-release": "semantic-release",
"prepublishOnly": "pinst --disable && npm run build && npm run verify",
"postinstall": "husky install",
"postpublish": "pinst --enable",
"verify": "if [ ! -f dist/createHandler.js ] || [ ! -f dist/createHandler.d.ts ]; then echo \"💥 Corrupt distribution.\"; exit 1; fi"
},
"files": [
"dist"
],
"dependencies": {
"reflect-metadata": "^0.1.13"
},
"peerDependencies": {
"@babel/plugin-proposal-decorators": "^7.13.15",
"babel-plugin-parameter-decorator": "^1.0.16",
"next": ">=10.0.0"
},
"devDependencies": {
"@commitlint/cli": "17.4.0",
"@commitlint/config-conventional": "17.4.0",
"@semantic-release/changelog": "6.0.2",
"@storyofams/eslint-config-ams": "1.1.2",
"@types/express": "^4.17.11",
"@types/express-rate-limit": "^6.0.0",
"@types/jest": "^27.0.1",
"@types/multer": "^1.4.5",
"@types/response-time": "^2.3.4",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.0",
"cz-customizable": "git+https://github.com/storyofams/cz-customizable.git#v6.3.2",
"eslint": "7.18.0",
"eslint-config-prettier": "7.1.0",
"eslint-import-resolver-alias": "1.1.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-prettier": "3.3.1",
"express": "^4.17.1",
"express-rate-limit": "^6.0.4",
"husky": "8.0.3",
"jest": "26.6.3",
"lint-staged": "13.1.0",
"multer": "^1.4.2",
"next": "13.1.1",
"path-to-regexp": "^6.2.0",
"pinst": "^3.0.0",
"prettier": "2.2.1",
"react": "^18.0.0",
"response-time": "^2.3.2",
"semantic-release": "20.0.2",
"supertest": "^6.1.3",
"ts-jest": "26.5.6",
"typescript": "4.1.3"
},
"publishConfig": {
"access": "public"
},
"eslintConfig": {
"extends": [
"@storyofams/eslint-config-ams/node"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"lint-staged": {
"!(examples|website)/**/*.+(js|jsx|ts|tsx|mdx)": [
"eslint --fix"
]
}
}