-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
74 lines (74 loc) · 1.71 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
{
"name": "@switz/driver",
"main": "dist/cjs/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.mts",
"files": [
"dist",
"src",
"README.md"
],
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},
"./debug": {
"import": {
"types": "./dist/debug.d.mts",
"default": "./dist/debug.mjs"
},
"require": {
"types": "./dist/cjs/debug.d.cts",
"default": "./dist/cjs/debug.cjs"
}
}
},
"sideEffects": false,
"private": false,
"author": {
"name": "Daniel Saewitz (switz)",
"url": "https://saewitz.com"
},
"version": "0.10.0",
"repository": {
"type": "git",
"url": "https://github.com/switz/driver.git"
},
"license": "MIT",
"scripts": {
"prepublish": "build",
"test": "bun test && bun run test-types",
"test-types": "tsd -t './src/index.ts' -f test/*.test-d.ts",
"size": "size-limit",
"copy-ts": "cp dist/index.d.mts dist/cjs/index.d.cts && cp dist/debug.d.mts dist/cjs/debug.d.cts",
"build": "tsup && npm run copy-ts"
},
"engines": {
"node": " >=14.13.1 || >=16.0.0"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^11.0.1",
"@switz/eslint-config": "^10.0.2",
"bun-types": "^1.0.21",
"prettier": "^3.1.1",
"size-limit": "^11.0.1",
"tsd": "^0.30.2",
"tsup": "^8.0.1",
"typescript": "^5.3.3"
},
"size-limit": [
{
"path": "dist/driver.esm.js",
"limit": "1 kB",
"brotli": true
}
]
}