-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.01 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.01 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
{
"name": "globalping",
"version": "0.2.0",
"license": "MIT",
"description": "The official TS/JS client for the Globalping API",
"keywords": [
"globalping",
"ping",
"traceroute",
"dns",
"mtr",
"http"
],
"type": "module",
"exports": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/bundle.cjs",
"default": "./dist/umd/bundle.js"
},
"jsdelivr": "./dist/umd/bundle.min.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "https://github.com/jsdelivr/globalping-typescript.git"
},
"bugs": {
"url": "https://github.com/jsdelivr/globalping-typescript/issues"
},
"dependencies": {
"@hey-api/client-fetch": "^0.10.0"
},
"devDependencies": {
"@hey-api/openapi-ts": "^0.67.2",
"@martin-kolarik/eslint-config": "^8.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@tsconfig/strictest": "^2.0.5",
"@types/chai": "^5.2.2",
"@types/jsdom": "^21.1.7",
"@types/mocha": "^10.0.10",
"@types/node": "^24.0.3",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"chai": "^5.2.0",
"eslint": "^9.29.0",
"fetch-mock": "^12.5.3",
"jsdom": "^26.1.0",
"mocha": "~11.6.0",
"rollup": "^4.43.0",
"terser": "^5.43.0",
"ts-node": "^10.9.2",
"ts-patch": "^3.3.0",
"typescript": "^5.8.3",
"typescript-transform-paths": "^3.5.5"
},
"scripts": {
"build": "rm -rf dist && npm run build:esm && npm run build:umd",
"build:esm": "tspc --declaration",
"build:umd": "rollup -c && terser dist/umd/bundle.js -o dist/umd/bundle.min.js --source-map 'content=dist/umd/bundle.js.map,url=bundle.min.js.map'",
"lint": "eslint --cache .",
"lint:fix": "eslint --cache --fix .",
"openapi:generate": "openapi-ts && eslint src/openapi-ts --fix",
"test:dist": "node test/dist.js",
"test:e2e": "TS_NODE_TRANSPILE_ONLY=true mocha --config .mocharc.e2e.cjs",
"test:integration": "TS_NODE_TRANSPILE_ONLY=true mocha",
"test": "npm run lint && npm run test:integration"
}
}