-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.86 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 1.86 KB
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
{
"name": "@kingga/kc-http",
"version": "1.0.5",
"description": "An HTTP strategy which allows you to switch between multiple HTTP libraries such as Axios, Fetch, etc. without changing any code.",
"main": "dist/http.js",
"types": "dist/http.d.ts",
"repository": "https://github.com/kingga/kc-http",
"author": "Isaac Skelton <contact@isaacskelton.com>",
"license": "MIT",
"keywords": [
"HTTP",
"Kings Collection",
"Axios",
"Fetch",
"JavaScript",
"TypeScript"
],
"devDependencies": {
"@types/chai": "^4.2.5",
"@types/express": "^4.17.2",
"@types/isomorphic-fetch": "^0.0.35",
"@types/mocha": "^5.2.7",
"chai": "^4.2.0",
"express": "^4.17.1",
"isomorphic-fetch": "^2.2.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"terser-webpack-plugin": "^2.2.1",
"ts-loader": "^6.2.1",
"ts-node": "^8.5.2",
"typescript": "^3.7.2",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
},
"dependencies": {
"axios": "^0.19.0"
},
"scripts": {
"test": "nyc mocha 'tests/**/*.ts' --require ts-node/register",
"production": "tsc -p tsconfig.build.json",
"server": "tsc tests/server/index.ts --outDir tests/server/dist && node tests/server/dist/index.js",
"prepublish": "yarn test && yarn production"
},
"nyc": {
"extension": [
".ts",
".tsx"
],
"include": [
"src/**/*",
"src/AxiosHttp.ts",
"src/FetchHttp.ts"
],
"exclude": [
"**/*/*.d.ts",
"**/*/*Type.ts",
"src/contracts/**/*.ts",
"src/http.ts",
"src/types.ts"
],
"reporter": [
"text"
],
"all": true
}
}