-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
123 lines (123 loc) · 3.85 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
{
"name": "found",
"version": "1.3.0",
"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": {
"tsc": "tsc",
"build:ts": "yarn tsc --outDir lib/cjs --module commonjs && yarn tsc --outDir lib/esm --module es2020 && mv lib/esm/*.d.ts lib && mv lib/cjs/*.d.ts lib",
"build": "rimraf lib && 4c build --types false src && yarn build:pick && yarn 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": "yarn build",
"publishLocal": "yarn prepublishOnly && yarn file-butler prepare-publish-dir lib && yalc push lib",
"release": "4c release --conventional-commits",
"tdd": "jest --watch",
"test": "yarn lint && yarn test:ts && yarn testonly -- --coverage",
"test:ts": "dtslint --expectOnly types && yarn tsc --noEmit",
"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",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@restart/context": "^2.1.4",
"@restart/hooks": "^0.4.5",
"@types/enzyme": "^3.10.12",
"@types/react": ">=17.0.37",
"dequal": "^2.0.2",
"farce": "^0.4.5",
"is-promise": "^4.0.0",
"react-redux": "^8.0.2",
"redux": "^4.2.0",
"tiny-set-immediate": "^1.0.2",
"tiny-warning": "^1.0.3"
},
"devDependencies": {
"@4c/babel-preset": "^9.1.0",
"@4c/cli": "^4.0.4",
"@4c/file-butler": "^6.0.0",
"@4c/prettier-config": "^1.1.0",
"@4c/tsconfig": "^0.4.0",
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.2.3",
"@types/react-dom": "^17.0.15",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
"babel-jest": "^29.3.1",
"babel-plugin-add-module-exports": "^1.0.4",
"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.13.0",
"eslint-config-4catalyzer-jest": "^2.2.0",
"eslint-config-4catalyzer-react": "^1.2.2",
"eslint-config-4catalyzer-typescript": "^3.3.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^25.7.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"hookem": "^2.0.1",
"jest": "^27.5.1",
"lint-staged": "^12.3.8",
"p-defer": "^3.0.0",
"prettier": "^2.6.2",
"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.6.3",
"yalc": "^1.0.0-pre.53"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"publishConfig": {
"directory": "lib"
}
}