-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
executable file
·76 lines (76 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
66
67
68
69
70
71
72
73
74
75
76
{
"name": "axios-extensions",
"version": "3.1.7",
"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",
"types": "./esm/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "rm -fr dist && npm run tsc && npm run dist",
"tsc": "npm run tsc:cjs & npm run tsc:esm",
"tsc:cjs": "rm -fr lib && tsc",
"tsc:esm": "rm -fr esm && tsc -p tsconfig.esm.json",
"dist": "rm -fr dist && rollup -c rollup.config.js",
"start": "tsc -w && ava -w",
"prepush": "npm run lint",
"prepublishOnly": "npm run build",
"release": "np --no-cleanup --yolo --no-publish",
"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",
"ci": "npm run lint && npm run codecov"
},
"files": [
"esm",
"lib",
"dist",
"src"
],
"dependencies": {
"lru-cache": "^7.14.0",
"tslib": "^2.1.0",
"util": "^0.12.3"
},
"peerDependencies": {
"axios": "*"
},
"devDependencies": {
"@types/node": "^14.14.22",
"@types/sinon": "^9.0.10",
"ava": "^3.15.0",
"axios": ">=0.21.1",
"codecov": "^3.8.1",
"husky": "^4.3.8",
"np": "^7.2.0",
"nyc": "^15.1.0",
"rollup": "^2.37.1",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-resolve": "^5.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-uglify": "^6.0.4",
"sinon": "^9.2.3",
"tslint": "^5.20.1",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^4.1.3"
},
"ava": {
"files": [
"lib/**/__tests__/**/*.js"
]
}
}