/
package.json
116 lines (116 loc) · 3.36 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
{
"name": "nexauth",
"version": "2.0.0",
"description": "A dead simple JWT-based authentication library for Next.js framework.",
"license": "AGPL-3.0",
"type": "module",
"sideEffects": false,
"bin": {
"nexauth": "./dist/cli.js"
},
"exports": {
".": "./dist/index.js",
"./client": "./dist/client.js"
},
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
".": [
"./dist/index.d.ts"
],
"client": [
"./dist/client.d.ts"
]
}
},
"engines": {
"node": ">=16"
},
"scripts": {
"build": "rm -Rf ./dist && rollup -c",
"build:cli": "tsc -p ./tsconfig.dist.cli.json",
"dev": "nodemon -e ts,tsx -w ./src -x \"yarn test:e2e:setup && cd ./examples/with-prisma && yarn build && yarn start\"",
"dev:cli": "yarn build && node ./dist/cli.js",
"dev:docs": "docsify serve ./docs",
"prepare": "husky install",
"test": "yarn test:lint && yarn test:build && yarn test:unit",
"test:lint": "eslint --ext js,ts,tsx .",
"test:e2e": "cross-env PW_EXPERIMENTAL_TS_ESM=1 playwright test -c ./config/playwright.config.ts",
"test:e2e:serve": "sh ./scripts/e2e/serve.sh",
"test:e2e:setup": "yarn build && sh ./scripts/e2e/setup.sh",
"test:type": "tsc",
"test:unit": "jest --config=./config/jest.config.js",
"test:unit:setup": "yarn dev:cli init",
"test:unit:watch": "yarn test:unit --watch"
},
"devDependencies": {
"@babel/core": "7.17.2",
"@babel/preset-env": "7.16.11",
"@babel/preset-typescript": "7.16.7",
"@ivangabriele/commitlint-config": "1.0.2",
"@ivangabriele/eslint-config-typescript-react": "2.1.4",
"@ivangabriele/prettier-config": "2.0.2",
"@ivangabriele/semantic-release-config-base": "2.0.2",
"@playwright/test": "1.19.0",
"@rollup/plugin-commonjs": "21.0.1",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.1.3",
"@rollup/plugin-typescript": "8.3.0",
"@testing-library/react-hooks": "7.0.2",
"@types/bcryptjs": "2.4.2",
"@types/jest": "27.4.0",
"@types/lodash.debounce": "4.0.6",
"@types/node": "17.0.6",
"@types/ramda": "0.27.62",
"@types/react": "17.0.38",
"babel-jest": "27.5.1",
"bcryptjs": "2.4.3",
"bhala": "3.0.4",
"clipboardy": "3.0.0",
"codecov": "3.8.3",
"cross-env": "7.0.3",
"cuid": "2.1.8",
"dayjs": "1.10.7",
"docsify-cli": "4.4.3",
"dotenv": "10.0.0",
"husky": "7.0.4",
"jest": "27.4.5",
"jose": "4.3.7",
"jwt-decode": "3.1.2",
"ky": "0.28.7",
"next": "12.0.9",
"nodemon": "2.0.15",
"ramda": "0.27.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"rollup": "2.67.2",
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-preserve-shebang": "1.0.1",
"rollup-plugin-visualizer": "5.5.4",
"ts-jest": "27.1.3",
"typescript": "4.5.4"
},
"peerDependencies": {
"next": ">=12",
"react": "",
"react-dom": ""
},
"resolutions": {
"marked": ">=2.0.0"
},
"prettier": "@ivangabriele/prettier-config",
"publishConfig": {
"access": "public"
},
"release": {
"extends": "@ivangabriele/semantic-release-config-base"
},
"bugs": {
"url": "https://github.com/betagouv/nexauth/issues"
},
"homepage": "https://github.com/betagouv/nexauth#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/betagouv/nexauth.git"
}
}