Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.93 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 1.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
{
"name": "@shlinkio/shlink-js-sdk",
"description": "A Shlink's REST API client for JS runtimes: the browser, Node.js, Deno and Bun",
"homepage": "https://shlink.io",
"repository": {
"type": "git",
"url": "git+https://github.com/shlinkio/shlink-js-sdk.git"
},
"author": "Alejandro Celaya <alejandro@alejandrocelaya.com>",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./api-contract": {
"types": "./dist/api-contract/index.d.ts",
"import": "./dist/api-contract.js"
},
"./fetch": {
"types": "./dist/fetch/index.d.ts",
"import": "./dist/fetch.js"
},
"./node": {
"types": "./dist/node/index.d.ts",
"import": "./dist/node.js"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"scripts": {
"build": "vite build",
"test": "vitest run",
"test:integration": "test/run-integration-tests.sh",
"test:ci": "node --run test -- --coverage",
"cs": "node --run lint && node --run format:check",
"cs:fix": "node --run lint:fix && node --run format",
"lint": "oxlint src test *.config.ts",
"lint:fix": "node --run lint -- --fix",
"format": "oxfmt src test *.config.{js,ts}",
"format:check": "node --run format -- --check",
"types": "tsc --erasableSyntaxOnly",
"docs:dev": "serve docs --listen 3033"
},
"devDependencies": {
"@shlinkio/eslint-config-js-coding-standard": "~4.2.0",
"@total-typescript/shoehorn": "^0.1.2",
"@types/node": "^26.6.6",
"@typescript/typescript6": "^6.0.2",
"@vitest/coverage-v8": "^5.1.1",
"jsdom": "^31.0.1",
"oxfmt": "^0.79.0",
"oxlint": "^1.94.0",
"oxlint-tsgolint": "^7.0.2007",
"serve": "^14.2.8",
"typescript": "^7.0.2",
"unplugin-dts": "^1.1.2",
"vite": "^8.3.8",
"vitest": "^5.0.0"
}
}