-
Notifications
You must be signed in to change notification settings - Fork 391
/
package.json
166 lines (166 loc) · 5.03 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "@auth0/nextjs-auth0",
"version": "3.5.0",
"description": "Next.js SDK for signing in with Auth0",
"exports": {
".": "./dist/index.js",
"./client": "./dist/client/index.js",
"./edge": "./dist/edge.js",
"./testing": "./dist/helpers/testing.js"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"browser": "dist/client/index.js",
"directories": {
"test": "tests"
},
"files": [
"dist",
"src",
"client.js",
"client.d.ts",
"edge.js",
"edge.d.ts",
"testing.js",
"testing.d.ts"
],
"engines": {
"node": ">=16"
},
"scripts": {
"clean": "rimraf dist",
"pretty": "prettier --write \"src/**/*.{ts,tsx}\" \"src/*.ts\"",
"lint": "tsc --noEmit && eslint --fix --ext .ts ./src",
"docs": "typedoc --options typedoc.js src",
"prepack": "npm run build",
"install:example": "npm i --prefix=example-app --no-package-lock",
"build": "npm run clean && tsc -p tsconfig.build.json",
"build:example": "npm run build --prefix=example-app",
"build:vercel": "npm run install:example && npm run build && npm run build:example",
"start:example": "npm run dev --prefix=example-app",
"start:example-local": "npm run dev:local --prefix=example-app",
"test": "jest tests --coverage",
"test:watch": "jest --coverage --watch",
"test:example": "start-server-and-test start:example http-get://localhost:3000 cypress:run",
"test:example:watch": "start-server-and-test start:example 3000 cypress:open",
"test:example-local": "npx start-server-and-test 'start:example-local' http://localhost:3000 'cypress run --config-file=./cypress-local.config.js'",
"test:example-local:watch": "npx start-server-and-test 'start:example-local' http://localhost:3000 'cypress open --config-file=./cypress-local.config.js'",
"cypress:run": "cypress run",
"cypress:open": "cypress open"
},
"repository": {
"type": "git",
"url": "git+https://github.com/auth0/nextjs-auth0.git"
},
"keywords": [
"auth0",
"next.js",
"react",
"oidc",
"authentication",
"vercel"
],
"author": "Auth0 (https://auth0.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/auth0/nextjs-auth0/issues"
},
"homepage": "https://github.com/auth0/nextjs-auth0#readme",
"devDependencies": {
"@edge-runtime/jest-environment": "^2.1.0",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^13.4.0",
"@testing-library/react-hooks": "^5.0.3",
"@types/body-parser": "^1.19.0",
"@types/clone": "^2.1.0",
"@types/cookie": "^0.6.0",
"@types/debug": "^4.1.5",
"@types/jest": "^29.5.2",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^18.11.18",
"@types/node-fetch": "^2.6.4",
"@types/on-headers": "^1.0.0",
"@types/react": "^18.0.24",
"@types/react-dom": "^17.0.9",
"@types/tough-cookie": "^4.0.0",
"@types/url-join": "^4.0.0",
"@types/webpack": "^4.41.26",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"body-parser": "^1.19.0",
"browserstack-cypress-cli": "^1.19.1",
"cypress": "^13.2.0",
"eslint": "^7.17.0",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"expect-type": "^0.17.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-environment-node-single-context": "^27.3.0",
"next": "^13.4.10",
"nock": "^13.0.5",
"node-fetch": "^2.6.11",
"oidc-provider": "^7.6.0",
"on-headers": "^1.0.2",
"prettier": "^2.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^3.0.2",
"start-server-and-test": "^2.0.3",
"timekeeper": "^2.2.0",
"tough-cookie": "^4.0.0",
"ts-jest": "^29.1.0",
"typedoc": "^0.25.1",
"typescript": "^4.1.3"
},
"dependencies": {
"@panva/hkdf": "^1.0.2",
"cookie": "^0.6.0",
"debug": "^4.3.4",
"joi": "^17.6.0",
"jose": "^4.9.2",
"oauth4webapi": "^2.3.0",
"openid-client": "^5.2.1",
"tslib": "^2.4.0",
"url-join": "^4.0.1"
},
"peerDependencies": {
"next": ">=10"
},
"jest": {
"collectCoverageFrom": [
"<rootDir>/src/**/*.*",
"!<rootDir>/src/edge.ts",
"!<rootDir>/src/index.ts",
"!<rootDir>/src/shared.ts",
"!<rootDir>/src/version.ts",
"!<rootDir>/src/auth0-session/config.ts",
"!<rootDir>/src/auth0-session/index.ts",
"!<rootDir>/src/auth0-session/session-cache.ts"
],
"coverageReporters": [
"lcov",
"text",
"text-summary"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"coverageProvider": "v8",
"projects": [
"<rootDir>/jest-node.config.js",
"<rootDir>/jest-edge.config.js"
]
}
}