-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 1.79 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": "@pojo-router/react-browser-pathname",
"version": "0.1.1",
"description": "A react hooks wrapper around the browser's pathname",
"scripts": {
"build:lib": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --source-maps inline --extensions '.ts,.tsx,.js' --ignore '**/__tests__/**' --ignore '**/*.d.ts'",
"build:bundle": "rollup -c",
"build:clean": "rimraf lib dist *.tsbuildinfo",
"build:types": "tsc --build",
"build": "yarn run build:lib && yarn run build:bundle",
"dev": "yarn run build:lib -w",
"prepare": "yarn run build:lib",
"prepublishOnly": "yarn run build:bundle"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/notwillk/pojo-router.git"
},
"bugs": {
"url": "https://github.com/notwillk/pojo-router/issues"
},
"homepage": "https://github.com/notwillk/pojo-router#readme",
"author": "William Klancnik",
"license": "MIT",
"keywords": [
"router",
"routing",
"history",
"react"
],
"sideEffects": false,
"main": "dist/index.cjs.js",
"module": "lib/index.js",
"unpkg": "dist/index.umd.min.js",
"types": "lib/index.d.ts",
"files": [
"src",
"dist",
"lib",
"LICENSE",
"README.md"
],
"devDependencies": {
"rimraf": "^3.0.2",
"rollup": "^2.21.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-filesize": "^9.0.2",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^6.1.0"
},
"dependencies": {
"@babel/runtime": "^7.10.5"
},
"peerDependencies": {
"@types/react": "^16.8.0",
"react": "^16.8.2"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
}