-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 3.26 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
{
"name": "react-toolroom",
"version": "0.4.0",
"description": "A toolset for react developers.",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/index.mjs",
"import": "./dist/index.mjs"
},
"./async": {
"types": "./dist/types/async/index.d.ts",
"require": "./dist/async.mjs",
"import": "./dist/async.mjs"
}
},
"files": [
"dist"
],
"scripts": {
"start": "vite",
"build": "vite build && tsc -p tsconfig.production.json && tsc-alias -p tsconfig.production.json",
"commit": "lint-staged && git-cz -n",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint --fix src test demos *.js --ext .js,.jsx,.ts,.tsx",
"doc:gen": "typedoc",
"build:demo": "cross-env BABEL_ENV=development BUILD_DEMO=true vite build",
"deploy": "npm run doc:gen && npm run build:demo && gh-pages -d dist",
"test": "cross-env NODE_ENV=test nyc mocha",
"test:watch": "npm test -- --watch",
"preversion": "npm run build",
"postversion": "npm publish",
"postpublish": "git push --follow-tags && npm run deploy",
"serve": "vite preview"
},
"keywords": [
"react",
"hooks",
"util",
"react-query"
],
"author": "wmzy",
"license": "ISC",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"sideEffects": false,
"devDependencies": {
"@babel/core": "^7.22.1",
"@babel/preset-env": "^7.22.4",
"@babel/preset-react": "^7.22.3",
"@babel/preset-typescript": "^7.21.5",
"@babel/register": "^7.21.0",
"@linaria/babel-preset": "^4.4.5",
"@linaria/core": "^4.2.10",
"@linaria/vite": "^4.2.11",
"@testing-library/react": "^14.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "^20.2.5",
"@types/react": "^18.2.7",
"@types/react-dom": "^18.2.4",
"@types/sinon": "^10.0.15",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vitejs/plugin-react": "^4.0.0",
"babel-plugin-module-resolver": "^5.0.0",
"commitizen": "^4.3.0",
"core-js": "^3.30.2",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^8.41.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-compat": "^4.1.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"gh-pages": "^5.0.0",
"global-jsdom": "^9.0.1",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^13.2.2",
"mocha": "^10.2.0",
"native-router-react": "^0.8.2",
"nyc": "^15.1.0",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"should": "^13.2.3",
"should-sinon": "0.0.6",
"sinon": "^15.1.0",
"terser": "^5.17.6",
"tsc-alias": "^1.8.6",
"typedoc": "^0.24.7",
"typedoc-plugin-mark-react-functional-components": "^0.2.2",
"typedoc-plugin-missing-exports": "^1.0.0",
"typescript": "^5.0.4",
"vite": "^4.3.9"
}
}