/
package.json
79 lines (79 loc) · 2.77 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
{
"name": "react-router-hibernate",
"version": "0.2.0",
"description": "Restore previously-unmounted routes -- state and all -- when you return",
"keywords": [
"hibernate",
"remount",
"react router undo"
],
"license": "MIT",
"homepage": "https://github.com/spautz/react-hibernate/packages/react-router-hibernate#readme",
"bugs": "https://github.com/spautz/react-hibernate/issues",
"repository": {
"type": "git",
"url": "https://github.com/spautz/react-hibernate.git",
"directory": "packages/react-router-hibernate"
},
"author": {
"name": "Steven Pautz",
"url": "http://stevenpautz.com/"
},
"files": [
"dist/",
"src/",
"LICENSE",
"*.md"
],
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/react-router-hibernate.esm.js",
"jsnext:main": "dist/react-router-hibernate.esm.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"scripts": {
"____ LIFECYCLE HOOKS _______________________________________________": "",
"prepare": "yon run build",
"prebuild": "yon run build:clean",
"prerelease": "yon run clean",
"prepublishOnly": "yarn run dev:readonly && yarn run build",
"pretest": "yon run test:clean",
"____ INTEGRATION ___________________________________________________": "",
"clean": "yon run build:clean && yon run test:clean && rimraf ./node_modules/.cache",
"test": "yon run test:nowatch",
"dev": "yon run format && yon run types && yon run lint",
"dev:readonly": "yon run format:verify && yon run types && yon run lint",
"all": "yon run clean && yon run dev && yon run test:nowatch && yon run build",
"all:readonly": "yon run dev:readonly && yon run test:nowatch",
"____ INDIVIDUAL COMMANDS ___________________________________________": "",
"build": "tsdx build",
"build:clean": "rimraf ./dist",
"build:watch": "tsdx watch",
"format": "prettier --write .",
"format:verify": "prettier --list-different .",
"lint": "tsdx lint . --max-warnings 0",
"release:changelog": "standard-version --skip.commit --skip.tag --release-as ",
"test:clean": "rimraf ./coverage-local",
"test:nowatch": "tsdx test --coverage",
"test:watch": "tsdx test --watch",
"test:watchcoverage": "tsdx test --watchAll --coverage",
"types": "tsc --p tsconfig.json"
},
"dependencies": {
"limited-cache": "^1.0.1",
"prop-types": "^15.7.2",
"react-is": "^16.8.3 || ^17",
"react-reverse-portal": "^2.0.1"
},
"devDependencies": {
"react-hibernate-dev-helpers": "^0.2.0",
"react-router-dom": "5.2.0"
},
"peerDependencies": {
"react": "^16.8.3 || ^17",
"react-dom": "^16.8.3 || ^17",
"react-router": ">=5.0.0",
"react-router-dom": ">=5.0.0"
},
"gitHead": "ea7266569cd13e20be67f2ac7d50758a1151254a"
}