-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.62 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
84
85
86
87
88
89
{
"name": "koajax",
"version": "3.1.1",
"license": "LGPL-3.0",
"author": "[email protected]",
"description": "HTTP Client based on Koa-like middlewares",
"keywords": [
"http",
"request",
"client",
"ajax",
"koa",
"middleware"
],
"homepage": "https://web-cell.dev/KoAJAX/",
"repository": {
"type": "git",
"url": "git+https://github.com/EasyWebApp/KoAJAX.git"
},
"bugs": {
"url": "https://github.com/EasyWebApp/KoAJAX/issues"
},
"source": "source/index.ts",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"dependencies": {
"@swc/helpers": "^0.5.15",
"regenerator-runtime": "^0.14.1",
"web-streams-polyfill": "^4.0.0",
"web-utility": "^4.4.2"
},
"peerDependencies": {
"core-js": ">=3",
"jsdom": ">=21"
},
"devDependencies": {
"@parcel/packager-ts": "~2.13.2",
"@parcel/transformer-typescript-types": "~2.13.2",
"@types/jest": "^29.5.14",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.17.9",
"abortcontroller-polyfill": "^1.7.6",
"core-js": "^3.39.0",
"cross-env": "^7.0.3",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.10",
"open-cli": "^8.0.0",
"parcel": "~2.13.2",
"prettier": "^3.4.2",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typedoc": "^0.27.4",
"typedoc-plugin-mdn-links": "^4.0.4",
"typescript": "~5.7.2"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4
},
"lint-staged": {
"*.{md,ts,json,yml}": "prettier --write"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "./test/custom-JSDOM.ts"
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"targets": {
"main": {
"optimize": true
},
"types": false
},
"scripts": {
"prepare": "husky",
"test": "lint-staged && cross-env NODE_OPTIONS=--unhandled-rejections=warn jest --detectOpenHandles",
"pack-dist": "rm -rf dist/ && tsc --emitDeclarationOnly && parcel build",
"pack-docs": "rm -rf docs/ && typedoc source/",
"build": "npm run pack-dist && npm run pack-docs",
"help": "npm run pack-docs && open-cli docs/index.html",
"prepublishOnly": "npm test && npm run build"
}
}