-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.08 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
{
"name": "next-create-endpoint-factory",
"version": "1.0.1",
"description": "A utility for creating NextJS API route handlers by method",
"files": [
"dist/*"
],
"type": "module",
"module": "./dist/index.js",
"main": "./dist/index.cjs",
"typings": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"scripts": {
"attw": "attw",
"build": "tsup",
"test": "jest src/",
"type": "tsc --noEmit --emitDeclarationOnly false",
"prettier": "prettier",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint",
"website": "npm run --prefix website start",
"publint": "publint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/actual-experience/create-endpoint-factory.git"
},
"keywords": [
"next",
"nextjs",
"api",
"api builder",
"next api",
"nextjs api"
],
"author": "@eskimojo",
"license": "MIT",
"bugs": {
"url": "https://github.com/actual-experience/create-endpoint-factory/issues"
},
"homepage": "https://github.com/actual-experience/create-endpoint-factory#readme",
"devDependencies": {
"@arethetypeswrong/cli": "^0.10.2",
"@types/jest": "^29.2.3",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"eslint": "^8.30.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"jest": "^29.3.1",
"next-test-api-route-handler": "^3.1.7",
"prettier": "^2.8.0",
"publint": "^0.2.2",
"ts-jest": "^29.0.3",
"tsup": "^7.2.0",
"typescript": "^4.9.3",
"zod": "^3.20.2"
},
"peerDependencies": {
"next": ">=12"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
},
"tsup": {
"entry": [
"src/index.ts"
],
"sourcemap": true,
"format": [
"esm",
"cjs"
],
"dts": true,
"minify": true
}
}