-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
66 lines (66 loc) · 1.56 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
{
"name": "react-enroute",
"version": "4.1.2",
"repository": "tj/react-enroute",
"description": "Small react router",
"author": "TJ Holowaychuk <[email protected]>",
"license": "MIT",
"main": "cjs",
"module": "esm",
"react-native": "src",
"sideEffects": false,
"scripts": {
"start": "webpack serve --config example/webpack.config.js",
"prepack": "yarn test && size-limit",
"build": "yarn clean && yarn cjs && yarn esm",
"cjs": "babel --out-dir cjs src",
"esm": "cross-env ESM=1 babel --out-dir esm src",
"test": "yarn build && cross-env NODE_ENV=production babel-node test",
"clean": "rimraf cjs esm"
},
"keywords": [
"react",
"redux",
"history",
"router",
"enroute",
"small"
],
"dependencies": {
"path-to-regexp": "^6.2.1"
},
"peerDependencies": {
"react": "*"
},
"devDependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.18.13",
"@babel/node": "^7.18.10",
"@babel/plugin-transform-react-jsx": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@size-limit/preset-small-lib": "^8.0.1",
"babel-loader": "^8.2.5",
"cross-env": "^7.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"size-limit": "^8.0.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.10.1"
},
"files": [
"src",
"esm",
"cjs",
"index.d.ts"
],
"size-limit": [
{
"path": "esm/index.js",
"import": "{Router}",
"limit": "2.05Kb"
}
],
"packageManager": "[email protected]"
}