/
package.json
83 lines (83 loc) · 2.49 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
77
78
79
80
81
82
83
{
"name": "wretch",
"version": "1.1.2",
"description": "A tiny wrapper built around fetch with an intuitive syntax.",
"keywords": [
"fetch",
"ajax",
"request"
],
"homepage": "https://elbywan.github.io/wretch",
"repository": {
"type": "git",
"url": "https://github.com/elbywan/wretch"
},
"bugs": {
"url": "https://github.com/elbywan/wretch/issues"
},
"main": "./dist/bundle/wretch.js",
"module": "./dist/index.js",
"jsnext:main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "npm run build && npm run test",
"lint": "tslint -p tsconfig.json -t codeFrame",
"fix": "tslint --fix -p tsconfig.json -t codeFrame",
"prebuild": "rimraf dist && rimraf coverage && npm run lint",
"build": "tsc -p . && rollup -c",
"test": "jest",
"coverage": "cat ./coverage/lcov.info | coveralls",
"changelog": "conventional-changelog -p wretch -i CHANGELOG.md -s -r 0"
},
"author": "Julien Elbaz",
"license": "MIT",
"devDependencies": {
"@types/jest": "^22.2.0",
"@types/node": "^9.4.6",
"abortcontroller-polyfill": "^1.1.8",
"conventional-changelog-cli": "^1.3.16",
"conventional-changelog-wretch": "file:scripts/conventional-changelog-wretch",
"coveralls": "^3.0.0",
"dtrace-provider": "^0.8.6",
"form-data": "^2.3.2",
"jest": "^22.4.2",
"node-fetch": "^2.1.1",
"restify": "^6.3.4",
"rimraf": "^2.6.2",
"rollup": "^0.56.5",
"rollup-plugin-node-resolve": "^3.2.0",
"rollup-plugin-typescript": "^0.8.1",
"rollup-plugin-uglify": "^3.0.0",
"ts-jest": "^22.4.1",
"tslib": "^1.9.0",
"tslint": "^5.9.1",
"typescript": "^2.7.2",
"uglify-es": "^3.3.9"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"globals": {
"ts-jest": {
"tsConfigFile": "test/tsconfig.tests.json"
}
},
"collectCoverage": true,
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"dependencies": {}
}