forked from 4Catalyzer/found
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 3.74 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "found",
"version": "1.1.1",
"description": "Extensible route-based routing for React applications",
"keywords": [
"react",
"router",
"routes",
"routing"
],
"homepage": "https://github.com/4Catalyzer/found#readme",
"bugs": {
"url": "https://github.com/4Catalyzer/found/issues"
},
"license": "MIT",
"author": "4Catalyzer",
"files": [
"lib"
],
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/4Catalyzer/found.git"
},
"scripts": {
"build": "rimraf lib && 4c build --types false src && npm run build:pick && npm run build:types",
"build:pick": "cherry-pick --cjs-dir cjs --esm-dir esm --cwd lib ../src",
"build:types": "cpy types/*.d.ts lib",
"build:docs": "yarn --cwd www build",
"format": "4c format --prettier-ignore .eslintignore .",
"lint": "4c lint --prettier-ignore .eslintignore .",
"prepublishOnly": "npm run build",
"release": "4c release",
"tdd": "jest --watch",
"test": "npm run lint && npm run test:ts && npm run testonly -- --coverage",
"test:ts": "dtslint --expectOnly types",
"testonly": "jest --runInBand --verbose",
"docs": "yarn --cwd www start"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*": "yarn 4c lint --fix --prettier-ignore .eslintignore",
"./README.md": "doctoc"
},
"prettier": "@4c/prettier-config",
"jest": {
"testEnvironment": "jsdom",
"collectCoverageFrom": [
"src/**"
],
"resetMocks": true,
"restoreMocks": true,
"setupFiles": [
"<rootDir>/test/setup.js"
],
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/types/"
]
},
"dependencies": {
"@babel/runtime": "^7.16.5",
"@restart/context": "^2.1.4",
"@restart/hooks": "^0.4.5",
"@types/react": ">=17.0.37",
"dequal": "^2.0.2",
"farce": "^0.4.5",
"is-promise": "^4.0.0",
"prop-types": "^15.7.2",
"react-redux": "^7.2.6",
"redux": "^4.1.2",
"tiny-set-immediate": "^1.0.2",
"tiny-warning": "^1.0.3"
},
"devDependencies": {
"@4c/babel-preset": "^9.1.0",
"@4c/cli": "^3.0.1",
"@4c/prettier-config": "^1.1.0",
"@4c/tsconfig": "^0.4.0",
"@babel/core": "^7.17.5",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
"babel-jest": "^27.5.1",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"cherry-pick": "^0.5.0",
"codecov": "^3.8.3",
"cpy-cli": "^3.1.1",
"delay": "^5.0.0",
"doctoc": "^2.1.0",
"dtslint": "^4.2.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^8.9.0",
"eslint-config-4catalyzer-jest": "^2.2.0",
"eslint-config-4catalyzer-react": "^1.2.2",
"eslint-config-4catalyzer-typescript": "^3.2.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^25.7.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"hookem": "^2.0.1",
"jest": "^27.5.1",
"lint-staged": "^12.3.4",
"p-defer": "^3.0.0",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-proxy": "^3.0.0-alpha.1",
"react-stand-in": "^4.0.0-beta.21",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"typescript": "^4.5.5"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"publishConfig": {
"directory": "lib"
}
}