-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.94 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
{
"name": "react-page-routes",
"version": "1.14.0",
"description": "Simplify coding your react-router-dom <Routes/> and <NavLinks/> by using attributes in your component.",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"lint": "eslint --fix \"{**/*,*}.{js,ts,jsx,tsx}\"",
"prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"",
"prepare": "npm run build",
"prepublishOnly": "npm run prettier && npm run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Jonathan-Dobson/react-page-routes.git"
},
"keywords": [
"react-router",
"route-array",
"less-repeated-code",
"NavBar",
"NavLink",
"Routes",
"Pages",
"typescript"
],
"author": "MrWebDev",
"license": "ISC",
"bugs": {
"url": "https://github.com/Jonathan-Dobson/react-page-routes/issues"
},
"homepage": "https://github.com/Jonathan-Dobson/react-page-routes#readme",
"peerDependencies": {
"react-dom": ">=18",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
"@types/node": "^18.13.0",
"@types/react": "^18.0.28",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.4.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^2.8.4",
"react-dom": "^18.2.0",
"react-router-dom": "^6.8.1",
"typescript": "^4.9.5",
"jest": "^29.4.3",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^29.4.3",
"ts-jest": "^29.0.5"
}
}