This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
125 lines (125 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@21gram-consulting/next-rest",
"version": "0.1.4",
"description": "21Gram Consulting's Next REST library provides a convenience API to create RESTful NextJS API handlers and client interfaces for them.",
"keywords": [
"NextJS",
"REST",
"API",
"client",
"react",
"vercel"
],
"main": "lib/next-rest/index.js",
"types": "lib/next-rest/index.d.ts",
"files": [
"lib"
],
"homepage": "https://21gramconsulting.github.io/next-rest",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/21GramConsulting/next-rest.git"
},
"bugs": {
"url": "https://github.com/21GramConsulting/next-rest/issues"
},
"scripts": {
"test": "jest",
"build": "tsc && tsc-alias",
"clean": "rm -rf lib docs coverage",
"doc": "typedoc",
"lint": "eslint next-rest"
},
"author": {
"name": "Adam Laszlo Rocska",
"url": "https://github.com/adam-rocska"
},
"contributors": [
{
"name": "Zsigmond Taroczy-Toth",
"url": "https://github.com/tzsiga"
},
{
"name": "Ronald Legmann",
"url": "https://github.com/rlegmann"
}
],
"license": "MIT",
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.2",
"@types/react": "^18.2.8",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"cross-fetch": "^3.1.6",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"react": "^18.2.0",
"react-test-renderer": "^18.2.0",
"ts-jest": "^29.1.0",
"tsc-alias": "^1.8.6",
"typedoc": "^0.23.28",
"typedoc-plugin-coverage": "^2.1.0",
"typedoc-plugin-expand-object-like-types": "^0.1.2",
"typedoc-plugin-mdn-links": "^3.0.3",
"typedoc-plugin-versions": "^0.2.3",
"typescript": "^5.0.2"
},
"engines": {
"node": ">=14"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"transform": {
"^.+\\.(ts|tsx)?$": [
"ts-jest",
{
"tsconfig": "./test/tsconfig.json"
}
]
},
"testPathIgnorePatterns": [
"<rootDir>/lib/",
"<rootDir>/node_modules/"
],
"setupFilesAfterEnv": [
"<rootDir>/test/globalSetup.ts",
"<rootDir>/test/expect.ts"
],
"moduleNameMapper": {
"^#(.*)$": "<rootDir>/next-rest/$1",
"^!(.*)$": "<rootDir>/test/$1",
"^@21gram-consulting/next-rest": "<rootDir>/next-rest/index.ts"
},
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"dependencies": {
"@21gram-consulting/ts-codec": "^1.2.0",
"real-cancellable-promise": "^1.1.2",
"swr": "^2.1.5"
},
"peerDependencies": {
"next": "^13.0.0",
"react": "^18.0.0"
}
}