-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.28 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
{
"name": "react-protected-route-component",
"version": "0.1.1",
"private": false,
"main": "dist/ProtectedRoute.js",
"module": "dist/ProtectedRoute.js",
"license": "MIT",
"babel": {
"presets": [
"@babel/react"
]
},
"repository": {
"type": "git",
"url": "https://github.com/sudeepgumaste/react-protectedroute"
},
"dependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.1.2",
"react-scripts": "3.4.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"publish:npm": "export NODE_ENV=production && rm -rf dist && mkdir dist && npx babel src/components/ProtectedRoute.js --out-dir dist --copy-files",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/preset-react": "^7.9.4"
},
"keywords": [
"react",
"protected-route",
"route",
"authentication",
"authorization",
"conditional-route"
]
}