forked from elbywan/wretch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.93 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 2.93 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "wretch",
"version": "1.7.6",
"description": "A tiny wrapper built around fetch with an intuitive syntax.",
"keywords": [
"wretch",
"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 && rollup -c --format esm -o dist/bundle/wretch.esm.js",
"mock": "node scripts/mockServer.js",
"test": "concurrently --success first -k jest \"npm run mock\"",
"test-browsers": "rollup -c -o test/browser/src/wretch.min.js && concurrently -s first -k browserstack-runner \"npm run mock\"",
"coverage": "cat ./coverage/lcov.info | coveralls",
"changelog": "conventional-changelog -p wretch -i CHANGELOG.md -s -r 0"
},
"author": "Julien Elbaz",
"license": "MIT",
"devDependencies": {
"@types/form-data": "^2.5.0",
"@types/jest": "^26.0.24",
"@types/node": "^16.4.13",
"abortcontroller-polyfill": "^1.7.3",
"browserstack-runner": "^0.9.4",
"concurrently": "^6.2.0",
"conventional-changelog-cli": "^2.1.1",
"conventional-changelog-wretch": "file:scripts/conventional-changelog-wretch",
"coveralls": "^3.1.1",
"dtrace-provider": "^0.8.8",
"form-data": "^4.0.0",
"jest": "^27.0.6",
"node-fetch": "^2.6.0",
"restify": "^8.5.1",
"restify-cors-middleware": "^1.1.1",
"rimraf": "^3.0.2",
"rollup": "^2.56.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript": "^1.0.1",
"ts-jest": "^27.0.4",
"tslib": "^2.3.0",
"tslint": "^6.1.2",
"typescript": "^4.3.5"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"globals": {
"ts-jest": {
"tsConfig": "test/tsconfig.tests.json"
}
},
"collectCoverage": true,
"collectCoverageFrom": [
"src/*.{js,ts}"
],
"coveragePathIgnorePatterns": [
"src/index.umd.ts"
]
}
}