forked from kuitos/axios-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·62 lines (62 loc) · 1.87 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
{
"name": "axios-extensions",
"version": "3.0.5",
"description": "make axios great again",
"homepage": "https://github.com/kuitos/axios-extensions",
"repository": "https://github.com/kuitos/axios-extensions.git",
"license": "MIT",
"author": "kuitos",
"keywords": [
"axios",
"cache",
"extensions",
"adapter"
],
"main": "./lib/index.js",
"module": "./esm/index.js",
"sideEffects": false,
"types": "./lib/index.d.ts",
"scripts": {
"build": "rm -fr dist && npm run tsc",
"tsc": "npm run tsc:cjs & npm run tsc:esm",
"tsc:cjs": "rm -fr dist/lib && tsc",
"tsc:esm": "rm -fr dist/esm && tsc -p tsconfig.esm.json",
"start": "tsc -w && ava -w",
"pub": "npm run lint && npm run build && cp {package.json,README.md,LICENSE,.npmignore} dist && npm publish dist",
"prepush": "npm run lint",
"test": "npm run tsc:cjs && nyc ava -v",
"test:pure": "tsc && ava",
"report": "nyc report --reporter=html",
"codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"coverageCheck": "nyc --check-coverage --lines 80 --functions 80 --branches 80 npm run test:pure",
"lint": "tslint 'src/**/*.ts' & npm run coverageCheck"
},
"dependencies": {
"@types/lru-cache": "^4.1.1",
"lru-cache": "^4.1.5",
"tslib": "^1.9.0",
"util": "^0.11.1"
},
"peerDependencies": {
"axios": "*"
},
"devDependencies": {
"@types/node": "^10.0.3",
"@types/sinon": "^4.3.1",
"ava": "^0.25.0",
"axios": "^0.18.0",
"babel-cli": "^6.26.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-runtime": "^6.23.0",
"codecov": "^3.1.0",
"husky": "^0.14.1",
"nyc": "^13.1.0",
"sinon": "^5.0.3",
"tslint": "^5.8.0",
"tslint-eslint-rules": "^4.1.1",
"typescript": "^2.8.1"
},
"ava": {
"files": "dist/lib/**/__tests__/**/*.js"
}
}