-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
69 lines (69 loc) · 2.17 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
{
"name": "react-router-map",
"version": "1.0.3",
"description": "A declarative routing library that maps your routes and uses the react-router-dom library so that you focus on the logic rather than route configuration. It supports nested routing and react-router-dom v6+",
"main": "./dist/index.js",
"module": "./dist/index.js",
"scripts": {
"test": "jest --config jest.config.js",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
"build:clean": "rimraf dist",
"lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
"prettier": "prettier --write src/**/*.{js,jsx,ts,tsx}",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run prettier && npm run lint",
"build": "npm run build:clean && npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"publish:np": "npm run build && npx np"
},
"keywords": [
"react",
"react-router-dom",
"nested-routing",
"react-router-map",
"map-router",
"router-map"
],
"peerDependencies": {
"react": ">=16",
"react-router-dom": ">=6"
},
"files": [
"dist",
"License",
"README.md"
],
"author": "Felix Orinda",
"license": "GPL-3.0-or-later",
"devDependencies": {
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.2.2",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.2.2",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^29.2.2",
"ngitignore": "^3.0.1",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.4.3",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/forinda/react-router-map.git"
},
"bugs": {
"url": "https://github.com/forinda/react-router-map/issues"
},
"homepage": "https://github.com/forinda/react-router-map#readme"
}