-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·72 lines (72 loc) · 2.24 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
{
"name": "@thednp/event-listener",
"author": "thednp",
"version": "2.0.9",
"description": "🚅 Modern event listener for efficient web applications based on subscribe-publish pattern.",
"license": "MIT",
"homepage": "https://thednp.github.io/event-listener",
"source": "./src/index.ts",
"main": "./dist/event-listener.js",
"module": "./dist/event-listener.mjs",
"exports": {
".": {
"types": "./dist/event-listener.d.ts",
"require": "./dist/event-listener.cjs",
"import": "./dist/event-listener.mjs"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/thednp/event-listener.git"
},
"bugs": {
"url": "https://github.com/thednp/event-listener/issues"
},
"keywords": [
"addEventListener",
"removeEventListener",
"subscribe",
"publish",
"event",
"listener",
"javascript-events",
"typescript"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"dev": "vite --open ./docs/index-dev.html --port 8577",
"pre-test": "pnpm clean-coverage",
"badges": "npx -p dependency-version-badge update-badge typescript vitest vite",
"prepublishOnly": "pnpm up && pnpm format && pnpm build && pnpm badges",
"test": "pnpm pre-test && vitest --config vitest.config.mts",
"test-ui": "pnpm pre-test && vitest --config vitest.config-ui.mts --browser=chromium",
"clean-coverage": "rm -rf coverage .nyc_output",
"format": "deno fmt src",
"lint": "pnpm lint:ts && pnpm check:ts",
"lint:ts": "deno lint src",
"fix:ts": "deno lint src --fix",
"check:ts": "tsc -noEmit",
"build": "pnpm build-vite && pnpm copy-docs",
"build-vite": "vite build",
"copy-docs": "cp dist/event-listener.js docs/event-listener.js && cp dist/event-listener.js.map docs/event-listener.js.map"
},
"devDependencies": {
"@vitest/browser": "^2.1.5",
"@vitest/coverage-istanbul": "^2.1.5",
"@vitest/ui": "^2.1.5",
"playwright": "^1.49.0",
"typescript": "5.6.3",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0",
"vite-plugin-strip-comments": "^0.0.1",
"vitest": "^2.1.5"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16",
"pnpm": ">=8.6.0"
}
}