-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
65 lines (65 loc) · 1.88 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": "intercept-fetch",
"version": "1.4.3",
"description": "add interceptors in fetch",
"main": "bundles/intercept-fetch.umd.min.js",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"start": "npm run server",
"server": "webpack-dev-server --config webpack.dev.js --hot --inline",
"test": "jest --coverage --no-cache",
"tslint": "tslint",
"lint": "npm run tslint \"{__tests__,src,example,mock}/**/*.ts\"",
"tsc": "tsc -d",
"build": "webpack --config webpack.config.js --progress --profile --bail",
"clean": "rm -rf bundles & rm -rf coverage & rm -rf lib",
"ci": "npm run clean && npm run lint && npm test && npm run tsc && npm run build",
"codecov": "codecov",
"prepub": "npm run ci",
"pub": "npm publish --registry http://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "https://github.com/doxiaodong/intercept-fetch"
},
"author": "duxiaodong",
"license": "MIT",
"engines": {
"node": ">=7.6.0",
"npm": ">=3"
},
"devDependencies": {
"@types/fetch-mock": "^5.8.2",
"@types/jest": "^20.0.2",
"babel-preset-es2015": "^6.24.1",
"codecov": "^2.3.0",
"fetch-mock": "^5.12.1",
"html-webpack-plugin": "^2.29.0",
"jest": "^20.0.4",
"ts-jest": "^20.0.7",
"ts-loader": "^2.2.2",
"tslint": "^5.5.0",
"tslint-microsoft-contrib": "^5.0.1",
"typescript": "^2.4.1",
"webpack": "^3.2.0",
"webpack-dev-server": "^2.7.1",
"whatwg-fetch": "^2.0.3"
},
"jest": {
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
"^.+\\.ts$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"mapCoverage": true,
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$",
"coverageDirectory": "coverage",
"moduleFileExtensions": [
"ts",
"js"
]
},
"dependencies": {
"fetch-jsonp": "^1.1.3"
}
}