-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.23 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
{
"name": "xswr",
"version": "1.1.0",
"description": "cross platform swr",
"main": "dist/index.js",
"module": "dist/xswr.esm.js",
"umd:main": "dist/xswr.umd.production.min.js",
"scripts": {
"xs:basic": "DIR=xs/basic EXT=js webpack-dev-server",
"xs:initialValue": "DIR=xs/initialValue EXT=js webpack-dev-server",
"usexs:basic": "DIR=usexs/basic EXT=js webpack-dev-server",
"usexs:initialValue": "DIR=usexs/initialValue EXT=js webpack-dev-server",
"test": "jest",
"lint": "./node_modules/.bin/eslint ./src/**/*.js",
"lint-fix": "./node_modules/.bin/eslint --fix ./src/**/*.js",
"build": "rimraf dist/ && tsdx build --name xswr --format esm,cjs,umd"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"repository": {
"type": "git",
"url": "git@github.com:red-armor/xswr.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"swr",
"cross-platform",
"React",
"request",
"cache"
],
"files": [
"README.md",
"README-zh_CN.md",
"src/",
"index.js",
"dist/"
],
"author": "youchaoliu@gmail.com",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@types/jest": "^25.2.1",
"@types/node": "^14.0.22",
"babel-jest": "^25.1.0",
"babel-loader": "^8.0.6",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^1.7.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^4.2.3",
"jest": "^25.1.0",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"rimraf": "^3.0.2",
"ts-jest": "^25.5.1",
"ts-loader": "^7.0.1",
"tsdx": "^0.13.2",
"typescript": "^3.8.3",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"deep-equal": "^2.0.1",
"react": "^16.12.0",
"react-dom": "^16.12.0"
}
}