-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
65 lines (65 loc) · 2.09 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
{
"name": "pack-axios",
"version": "1.0.7",
"description": "axios二次封装",
"main": "dist/pack-axios.cjs.js",
"module": "dist/pack-axios.esm.js",
"types": "dist/types/lib.d.ts",
"scripts": {
"test": "jest",
"test:coverage": "jest --coverage",
"eslint:diff": "npx eslint $(git diff-index HEAD --name-only --diff-filter ACMR |grep '\\.\\(ts\\|tsx\\|jsx\\|es6\\|js\\|vue\\)$')",
"eslint": "npx eslint src test --ext .tsx,.ts,.js,.tsx",
"mock": "json-server mock/db.json --routes mock/routes.json --quiet",
"build:types": "tsc --emitDeclarationOnly",
"build:babel": "babel src --out-dir dist --extensions '.ts,.tsx'",
"build:js": "rollup -c",
"build": "npm run build:types && npm run build:js",
"build:ts": "npx tsc --build tsconfig.json"
},
"jest": {
"testEnvironment": "node"
},
"keywords": [
"axios",
"ajax",
"axios-pack"
],
"author": "huixisheng@gmail.com",
"license": "MIT",
"dependencies": {
"axios": "^0.19.2",
"qs": "^6.9.1"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-async-to-generator": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-typescript": "^7.8.3",
"@rollup/plugin-json": "^4.0.2",
"@types/jest": "^25.1.2",
"@types/qs": "^6.9.1",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"autoprefixer": "^9.7.4",
"eslint": "^6.8.0",
"eslint-config-style-guide": "0.0.8",
"eslint-friendly-formatter": "^4.0.1",
"eslint-import-resolver-webpack": "^0.12.1",
"eslint-plugin-import": "^2.20.1",
"extract-text-webpack-plugin": "^3.0.2",
"jest": "^25.1.0",
"json-server": "^0.15.1",
"request": "^2.88.0",
"rollup": "^1.31.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-nodent": "^0.2.2",
"ts-jest": "^25.2.0",
"typescript": "^3.7.4"
}
}