-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.18 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
{
"name": "react-hibernate",
"version": "0.0.2",
"description": "Restore previously-unmounted subtrees -- state and all -- on remount.",
"keywords": [],
"license": "MIT",
"homepage": "https://github.com/spautz/react-hibernate#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/spautz/react-hibernate.git"
},
"bugs": {
"url": "https://github.com/spautz/react-hibernate/issues"
},
"author": "Steven Pautz <spautz@gmail.com>",
"files": [
"dist/",
"src/",
"LICENSE",
"README.md"
],
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"jsnext:main": "dist/index.esm.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"scripts": {
"____ LIFECYCLE HOOKS _______________________________________________": "",
"prepare": "yon build",
"prebuild": "yon clean",
"prerelease": "yon clean",
"prepublishOnly": "yon checkup && yon build",
"pretest": "yon test:clean",
"____ INTEGRATION ___________________________________________________": "",
"dev": "yon run format && yon run types && yon run lint",
"checkup": "yon format:checkup && yon run types && yon run lint",
"all": "yon run dev && yon run test && yon run build",
"____ INDIVIDUAL COMMANDS ___________________________________________": "",
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle watch --jsx React.createElement",
"clean": "rimraf dist/ node_modules/.cache/ && yon test:clean",
"format": "prettier --write \"**/*.*\"",
"format:checkup": "prettier --list-different \"**/*.*\"",
"lint": "eslint \"**/*.{js,jsx,json,ts,tsx}\"",
"test": "echo \"@TODO: tests for react-hibernate\"",
"test:clean": "rimraf coverage-local/",
"test:watch": "echo \"@TODO: tests for react-hibernate\"",
"types": "tsc --noEmit --p tsconfig.json --jsx react"
},
"dependencies": {
"limited-cache": "^0.5.0",
"prop-types": "^15.7.2",
"react-is": "^16.12.0",
"react-reverse-portal": "^2.0.0"
},
"devDependencies": {
"react-hibernate-dev-helpers": "0.0.2"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
}
}