-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
83 lines (83 loc) · 1.96 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
{
"name": "@sinoui/use-rest-page-api",
"version": "1.1.0",
"description": "简化分页列表与RESTful CRUD API交互的状态管理",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/sinoui-use-rest-page-api.esm.js",
"typings": "dist/index.d.ts",
"homepage": "https://sinoui.github.io/use-rest-page-api/",
"bugs": {
"url": "https://github.com/sinoui/use-rest-page-api/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sinoui/use-rest-page-api.git"
},
"scripts": {
"start": "ts-lib-tools watch",
"test": "ts-lib-tools test",
"build": "ts-lib-tools build",
"format": "ts-lib-tools format",
"lint": "ts-lib-tools lint",
"prepublishOnly": "ts-lib-tools build"
},
"prettier": {
"printWidth": 80,
"useTabs": false,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always"
},
"eslintConfig": {
"extends": "ts-lib"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/*.{ts,tsx}": [
"cross-env CI=true ts-lib-tools test",
"eslint --fix --color",
"git add"
]
},
"files": [
"dist",
"assets"
],
"dependencies": {
"@babel/polyfill": "^7.6.0",
"@babel/runtime": "^7.6.0",
"@sinoui/http": "^1.0.0",
"immer": "^8.0.1",
"qs": "^6.8.0"
},
"devDependencies": {
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.2",
"@types/qs": "^6.5.3",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"husky": "^3.0.5",
"lint-staged": "^9.2.5",
"prettier": "^1.18.2",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-test-renderer": "^16.9.0",
"ts-lib-tools": "^0.4.7",
"typescript": "^3.6.3"
},
"peerDependencies": {
"react": "^16.8.0"
},
"publishConfig": {
"access": "public"
}
}