1 | {
|
2 | "name": "wretch",
|
3 | "version": "1.3.0",
|
4 | "description": "A tiny wrapper built around fetch with an intuitive syntax.",
|
5 | "keywords": [
|
6 | "wretch",
|
7 | "fetch",
|
8 | "ajax",
|
9 | "request"
|
10 | ],
|
11 | "homepage": "https://elbywan.github.io/wretch",
|
12 | "repository": {
|
13 | "type": "git",
|
14 | "url": "https://github.com/elbywan/wretch"
|
15 | },
|
16 | "bugs": {
|
17 | "url": "https://github.com/elbywan/wretch/issues"
|
18 | },
|
19 | "main": "./dist/bundle/wretch.js",
|
20 | "module": "./dist/index.js",
|
21 | "jsnext:main": "./dist/index.js",
|
22 | "types": "./dist/index.d.ts",
|
23 | "files": [
|
24 | "dist"
|
25 | ],
|
26 | "scripts": {
|
27 | "start": "npm run build && npm run test",
|
28 | "lint": "tslint -p tsconfig.json -t codeFrame",
|
29 | "fix": "tslint --fix -p tsconfig.json -t codeFrame",
|
30 | "prebuild": "rimraf dist && rimraf coverage && npm run lint",
|
31 | "build": "tsc -p . && rollup -c",
|
32 | "test": "jest",
|
33 | "coverage": "cat ./coverage/lcov.info | coveralls",
|
34 | "changelog": "conventional-changelog -p wretch -i CHANGELOG.md -s -r 0"
|
35 | },
|
36 | "author": "Julien Elbaz",
|
37 | "license": "MIT",
|
38 | "devDependencies": {
|
39 | "@types/jest": "^22.2.3",
|
40 | "@types/node": "^10.1.2",
|
41 | "abortcontroller-polyfill": "^1.1.9",
|
42 | "conventional-changelog-cli": "^1.3.22",
|
43 | "conventional-changelog-wretch": "file:scripts/conventional-changelog-wretch",
|
44 | "coveralls": "^3.0.1",
|
45 | "dtrace-provider": "^0.8.6",
|
46 | "form-data": "^2.3.2",
|
47 | "jest": "^22.4.4",
|
48 | "node-fetch": "^2.1.2",
|
49 | "restify": "^7.2.0",
|
50 | "rimraf": "^2.6.2",
|
51 | "rollup": "^0.59.2",
|
52 | "rollup-plugin-node-resolve": "^3.3.0",
|
53 | "rollup-plugin-typescript": "^0.8.1",
|
54 | "rollup-plugin-uglify": "^4.0.0",
|
55 | "ts-jest": "^22.4.6",
|
56 | "tslib": "^1.9.1",
|
57 | "tslint": "^5.10.0",
|
58 | "typescript": "^2.8.3",
|
59 | "uglify-es": "^3.3.9"
|
60 | },
|
61 | "jest": {
|
62 | "transform": {
|
63 | "^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
64 | },
|
65 | "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
66 | "moduleFileExtensions": [
|
67 | "ts",
|
68 | "tsx",
|
69 | "js",
|
70 | "jsx",
|
71 | "json"
|
72 | ],
|
73 | "globals": {
|
74 | "ts-jest": {
|
75 | "tsConfigFile": "test/tsconfig.tests.json"
|
76 | }
|
77 | },
|
78 | "collectCoverage": true,
|
79 | "collectCoverageFrom": [
|
80 | "src/*.{js,ts}"
|
81 | ]
|
82 | },
|
83 | "dependencies": {}
|
84 | }
|