-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
116 lines (116 loc) · 3.21 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": "@tasoskakour/react-use-oauth2",
"author": {
"name": "Tasos Kakouris",
"email": "[email protected]",
"website": "https://tasoskakour.com"
},
"keywords": [
"react",
"hooks",
"typescript",
"nodejs",
"oauth2"
],
"version": "2.0.2",
"description": "A React hook that handles OAuth2 authorization flow.",
"license": "MIT",
"homepage": "https://github.com/tasoskakour/react-use-oauth2#readme",
"bugs": {
"url": "https://github.com/tasoskakour/react-use-oauth2/issues"
},
"repository": "github:tasoskakour/react-use-oauth2",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"dependencies": {
"use-local-storage-state": "^18.3.3"
},
"scripts": {
"build": "rollup -c",
"example": "rollup -c rollup.config.example.mjs -w --silent",
"lint": "eslint . --cache",
"test-typeCheck": "tsc --emitDeclarationOnly false --noEmit",
"test-unit": "jest --detectOpenHandles --runInBand --config jest.config.unit.ts",
"test-e2e": "start-server-and-test example \"http://localhost:3000|http://localhost:3001\" \"jest --detectOpenHandles --runInBand --config jest.config.e2e.ts\"",
"test": "npm run lint && npm run test-typeCheck && npm run test-unit && npm run test-e2e",
"prepare": "husky install"
},
"browserslist": {
"production": [
">1%",
"not dead",
"not op_mini all",
"not ie > 0",
"not ie_mob > 0"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/plugin-transform-runtime": "^7.21.4",
"@babel/preset-env": "^7.22.14",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.21.4",
"@fastify/cors": "^9.0.1",
"@fastify/formbody": "^7.4.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-run": "^3.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.1.1",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.1",
"@types/node": "^20.2.3",
"@types/react": "^18.2.8",
"@types/react-dom": "^18.2.4",
"babel-jest": "^29.5.0",
"babel-loader": "^9.1.2",
"builtin-modules": "^3.3.0",
"delay": "^5.0.0",
"eslint": "^8.57.0",
"eslint-config-tasoskakour-typescript-prettier": "^3.0.0",
"fastify": "^4.17.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"jest-puppeteer": "^11.0.0",
"lint-staged": "^13.2.2",
"puppeteer": "^24.0.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.11.2",
"rollup": "^3.29.4",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-serve": "^2.0.2",
"start-server-and-test": "^2.0.0",
"ts-jest": "^29.1.1",
"ts-jest-resolver": "^2.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.0.3"
},
"engines": {
"node": ">=16"
},
"files": [
"dist"
],
"types": "dist/index.d.ts",
"lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix"
},
"publishConfig": {
"access": "public"
}
}