forked from tasoskakour/react-use-oauth2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
150 lines (150 loc) · 4.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
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
{
"name": "@refrens/react-use-oauth2",
"version": "2.0.4",
"author": {
"name": "Tasos Kakouris",
"email": "[email protected]",
"website": "https://tasoskakour.com"
},
"contributors": [
"Nitish Devadiga <[email protected]>",
"Nidhi Bhanushali <[email protected]>"
],
"keywords": [
"react",
"hooks",
"typescript",
"nodejs",
"oauth2"
],
"description": "A React hook that handles OAuth2 authorization flow.",
"license": "MIT",
"homepage": "https://github.com/refrens/react-use-oauth2#readme",
"bugs": {
"url": "https://github.com/refrens/react-use-oauth2/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/refrens/react-use-oauth2.git"
},
"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",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"changelog:reset": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"prerelease": "run-s lint build",
"release-it": "release-it",
"release": "run-s \"release-it -- --ci --git.requireBranch=master {1}\" --",
"release:canary": "run-s \"release-it -- {2} --preRelease={1} --ci\" -- "
},
"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"
},
"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",
"@release-it/conventional-changelog": "^8.0.1",
"@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": "^9.0.0",
"lint-staged": "^13.3.0",
"npm-run-all": "^4.1.5",
"puppeteer": "21.0.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.11.2",
"release-it": "^17.6.0",
"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": {
"registry": "https://npm.pkg.github.com/"
},
"release-it": {
"git": {
"commitMessage": "chore(release): v${version}",
"requireBranch": false
},
"github": {
"release": true
},
"hooks": {
"after:release": "git checkout -b v${version}-release && git push -u"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}
}