-
Notifications
You must be signed in to change notification settings - Fork 65
/
package.json
79 lines (79 loc) · 1.96 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
{
"name": "next-connect",
"version": "1.0.0",
"description": "The method routing and middleware layer for Next.js (and many others)",
"keywords": [
"javascript",
"nextjs",
"middleware",
"router",
"connect"
],
"type": "module",
"files": [
"dist"
],
"exports": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/commonjs/index.cjs"
}
},
"main": "./dist/commonjs/index.cjs",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "tscd --entry index.js",
"test": "c8 tap",
"prepublishOnly": "npm run clean && npm run test && npm run build",
"coverage": "c8 report --reporter=lcov",
"lint": "eslint ./src --ext json,ts --ignore-path .gitignore",
"format": "prettier . -w --ignore-path ./.gitignore",
"clean": "rm -rf ./dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hoangvvo/next-connect.git"
},
"author": "Hoang Vo (https://www.hoangvvo.com)",
"bugs": {
"url": "https://github.com/hoangvvo/next-connect/issues"
},
"homepage": "https://github.com/hoangvvo/next-connect#readme",
"license": "MIT",
"devDependencies": {
"@types/node": "^18.16.3",
"@types/tap": "^15.0.8",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"c8": "^7.13.0",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.8",
"tap": "^16.3.4",
"tinyspy": "^2.1.0",
"ts-node": "^10.9.1",
"tscd": "^0.0.5",
"typescript": "^5.0.4"
},
"tap": {
"node-arg": [
"--loader",
"ts-node/esm"
],
"coverage": false
},
"dependencies": {
"@tsconfig/node16": "^1.0.3",
"regexparam": "^2.0.1"
},
"engines": {
"node": ">=16"
}
}