forked from AttoJS/vue-request
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.25 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
{
"name": "vue-request",
"version": "1.2.4",
"description": "Vue 3 composition API for data fetching, supports SWR, polling, error retry, cache request, pagination and other cool features.",
"keywords": [
"vue",
"vue3",
"swr",
"request",
"http",
"fetch",
"composition-api",
"axios",
"vue-request",
"vue request"
],
"homepage": "https://www.attojs.org",
"bugs": "https://github.com/attojs/vue-request/issues",
"repository": {
"type": "git",
"url": "https://github.com/attojs/vue-request.git"
},
"license": "MIT",
"main": "dist/index.cjs.js",
"unpkg": "dist/vue-request.min.js",
"module": "dist/index.es.js",
"types": "dist/types/index.d.ts",
"files": [
"dist/**"
],
"scripts": {
"build": "yarn clean && rollup --config ./build/rollup.config.js",
"dev": "yarn vite ./example",
"clean": "rimraf dist/*",
"test": "jest --coverage",
"publishing": "np",
"changelog": "standard-version && standard-version -i CHANGELOG.zh-CN.md -o CHANGELOG.zh-CN.md",
"release": "yarn build && yarn publishing",
"lint": "eslint -c ./.eslintrc.js './{src,scripts,build}/**/*.{js,ts,tsx}'",
"format": "prettier -w '**/*.ts?(x)'",
"vite": "vite --config ./build/vite.config.ts"
},
"husky": {
"hooks": {
"pre-commit": "node ./scripts/preCommit.js && lint-staged",
"commit-msg": "commitlint -x @commitlint/config-conventional -e $HUSKY_GIT_PARAMS",
"pre-push": "yarn test --coverage=false"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"package.json": "sort-package-json"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/runtime-corejs3": "^7.12.5",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@types/jest": "^26.0.15",
"@types/mockjs": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"@vitejs/plugin-vue": "^1.2.1",
"@vitejs/plugin-vue-jsx": "^1.1.3",
"@vue/babel-plugin-jsx": "^1.0.0-rc.3",
"@vue/compiler-sfc": "^3.0.6",
"@vue/test-utils": "^2.0.0-beta.8",
"axios": "^0.21.1",
"babel-jest": "^26.6.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-vue": "^7.0.0-0",
"fetch-mock": "^9.10.7",
"husky": "^4.3.0",
"jest": "^26.6.0",
"jest-environment-jsdom-global": "^2.0.4",
"lint-staged": "^10.5.2",
"mockjs": "^1.1.0",
"node-fetch": "^2.6.1",
"np": "^7.0.0",
"prettier": "^2.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.33.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"simple-git": "^3.3.0",
"sort-package-json": "^1.50.0",
"standard-version": "^9.1.1",
"ts-jest": "^26.4.1",
"typescript": "^4.0.5",
"vite": "^2.1.5",
"vue": "^3.0.2"
},
"peerDependencies": {
"vue": "^3.0.0"
}
}