-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
57 lines (57 loc) · 1.36 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
{
"name": "@wbe/debug",
"version": "1.2.0",
"description": "Tiny debug tool (~500 bytes) for terminal and browser inspired by visionmedia/debug API.",
"author": "Willy Brauner",
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/willybrauner/debug.git"
},
"keywords": [
"debug",
"debugger",
"log",
"logger",
"console.log",
"nodejs",
"browser"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup",
"build:watch": "tsup --watch --sourcemap",
"clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo",
"dev:example-browser": "pnpm --filter ./examples/browser run dev",
"dev:example-node": "DEBUG=* node examples/node/index.js",
"pre-publish": "npm run build && npm run test",
"test:watch": "vitest",
"test": "vitest --run"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^8.2.4",
"@types/node": "^18.11.2",
"size-limit": "^9.0.0",
"terser": "^5.19.4",
"tsup": "^7.2.0",
"typescript": "^4.8.4",
"vitest": "^0.24.3"
},
"prettier": {
"semi": false
},
"size-limit": [
{
"name": "@wbe/debug",
"path": "dist/index.js",
"limit": "500 B"
}
]
}