-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
108 lines (108 loc) · 2.13 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
{
"name": "react-router-util",
"version": "0.10.0",
"description": "Useful components and utilities for working with React Router",
"license": "MIT",
"repository": "sindresorhus/react-router-util",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"main": "./dist/index.js",
"engines": {
"node": ">=8"
},
"scripts": {
"build": "babel index.js --out-dir=dist",
"test": "xo && ava",
"prepare": "npm run build"
},
"files": [
"dist"
],
"keywords": [
"react",
"router",
"history",
"pushstate",
"navigate",
"routing",
"location",
"href",
"link",
"component",
"debug",
"util",
"utils",
"utilities",
"helper",
"helpers"
],
"dependencies": {
"prop-types": "^15.6.0"
},
"devDependencies": {
"@babel/cli": "^7.5.0",
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"@babel/preset-env": "^7.5.4",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.4.4",
"ava": "^2.2.0",
"babel-eslint": "^10.0.1",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"eslint-config-xo-react": "^0.20.0",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react-hooks": "^1.6.1",
"jsdom": "^15.1.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router-dom": "^5.0.1",
"xo": "^0.24.0"
},
"peerDependencies": {
"react": ">=16.8",
"react-router-dom": ">=5"
},
"xo": {
"envs": [
"node",
"browser"
],
"parser": "babel-eslint",
"extends": [
"xo-react"
],
"rules": {
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off",
"ava/no-ignored-test-files": "off",
"unicorn/import-index": "off",
"react/prop-types": "off",
"react/require-default-props": "off"
}
},
"ava": {
"files": [
"!test/fixtures/**/*",
"!test/helpers/**/*"
],
"require": [
"@babel/register",
"./test/helpers/setup-browser-env.js",
"./test/helpers/setup-enzyme.js"
]
},
"babel": {
"plugins": [
"@babel/plugin-transform-modules-commonjs"
],
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
}
}