-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
123 lines (123 loc) · 3.22 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": "spreado",
"version": "1.0.0-semantic-release",
"description": "Easier to spread things across React components",
"keywords": [
"react",
"redux",
"redux-toolkit",
"mobx",
"react-query",
"swr",
"spreado",
"react-easier",
"share",
"spread"
],
"author": "licg <licg9999@126.com>",
"license": "MIT",
"repository": "react-easier/spreado",
"homepage": "https://github.com/react-easier/spreado#readme",
"engines": {
"node": ">=12",
"yarn": "^1"
},
"main": "lib/index.js",
"files": [
"lib",
"src",
"for-*"
],
"scripts": {
"build": "tsc --project additional-configs/tsconfig.prod.json",
"watch": "yarn build --watch",
"unittest": "cross-env JEST_TEST_PATH=src jest",
"coverage": "yarn unittest --coverage",
"e2e": "cross-env JEST_TEST_PATH=e2e jest",
"clean": "concurrently \"yarn:clean:*\"",
"clean:built": "rimraf lib",
"clean:coverage": "rimraf coverage",
"clean:cache": "rimraf node_modules/.cache",
"clean:installed": "rimraf yarn.lock node_modules",
"lint": "concurrently \"yarn:lint:*\"",
"lint:tsc": "tsc --noEmit",
"lint:eslint": "eslint \"src/**/*.@([jt]s?(x)|json)\"",
"lint:prettier": "prettier --check \"@(src|e2e)/**/*.@([jt]s?(x)|json)\"",
"lint:commitlint": "commitlint --to HEAD",
"prepare": "yarn build",
"contributors": "all-contributors"
},
"dependencies": {
"lodash": "^4",
"nanoid": "^3"
},
"peerDependencies": {
"mobx": ">=6",
"react": ">=16",
"react-query": ">=3",
"react-redux": ">=7",
"redux": ">=4",
"swr": ">=1"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"redux": {
"optional": true
},
"react-redux": {
"optional": true
},
"mobx": {
"optional": true
},
"react-query": {
"optional": true
},
"swr": {
"optional": true
}
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@reduxjs/toolkit": "^1.8.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^14.2.0",
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.182",
"@types/react": "^16.9.56",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"all-contributors-cli": "^6.20.0",
"concurrently": "^7.1.0",
"cross-env": "^7.0.3",
"delay": "^5.0.0",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.4",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"jest": "^27.5.1",
"jest-mock": "^27.5.1",
"mobx": "^6.5.0",
"prettier": "^2.6.2",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-query": "^3.37.0",
"react-redux": "^7.2.8",
"redux": "^4.2.0",
"resolve": "^1.22.0",
"rimraf": "^3.0.2",
"swr": "^1.3.0",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
}
}