First adaptation pass

This commit is contained in:
2025-11-06 00:01:59 +01:00
parent 5b1fd847c2
commit 6b883f8126
112 changed files with 44142 additions and 953 deletions
+31 -4
View File
@@ -1,21 +1,37 @@
{
"name": "bare-events",
"version": "2.5.0",
"version": "2.8.1",
"description": "Event emitters for JavaScript",
"exports": {
".": "./index.js",
"./package": "./package.json",
".": {
"types": "./index.d.ts",
"default": "./index.js"
},
"./global": {
"types": "./global.d.ts",
"default": "./global.js"
},
"./web": {
"types": "./web.d.ts",
"default": "./web.js"
},
"./errors": "./lib/errors.js"
},
"files": [
"index.js",
"index.d.ts",
"global.js",
"global.d.ts",
"web.js",
"web.d.ts",
"lib"
],
"scripts": {
"test": "npm run lint && npm run test:bare && npm run test:node",
"test:bare": "bare test.js",
"test:node": "node test.js",
"lint": "standard"
"lint": "prettier . --check"
},
"repository": {
"type": "git",
@@ -28,7 +44,18 @@
},
"homepage": "https://github.com/holepunchto/bare-events#readme",
"devDependencies": {
"bare-abort-controller": "^1.0.0",
"brittle": "^3.3.2",
"standard": "^17.0.0"
"prettier": "^3.4.2",
"prettier-config-holepunch": "^2.0.0",
"uncaughts": "^1.1.1"
},
"peerDependencies": {
"bare-abort-controller": "*"
},
"peerDependenciesMeta": {
"bare-abort-controller": {
"optional": true
}
}
}