-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.23 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "@uttori/event-dispatcher",
"version": "3.0.2",
"description": "An event bus system for registering, unregistering and triggering events.",
"author": "Matthew Callis <matthew.callis@gmail.com>",
"contributors": [],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/uttori/uttori-event-dispatcher.git"
},
"bugs": {
"url": "https://github.com/uttori/uttori-event-dispatcher/issues"
},
"homepage": "https://github.com/uttori/uttori-event-dispatcher",
"keywords": [
"uttori",
"events",
"event bus"
],
"engines": {
"node": ">= 20"
},
"optionalDependencies": {
"debug": "^4.3.4"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/node": "^20.11.0",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"ava": "^6.0.1",
"c8": "^9.1.0",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-anti-trojan-source": "^1.1.1",
"eslint-plugin-ava": "^14.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.0.2",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-no-inferred-method-name": "^2.0.0",
"eslint-plugin-optimize-regex": "^1.2.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-security": "^2.1.0",
"eslint-plugin-sonarjs": "^0.23.0",
"eslint-plugin-xss": "^0.1.12",
"jsdoc": "^4.0.2",
"jsdoc-to-markdown": "^8.0.0",
"jsdoc-tsimport-plugin": "^1.0.5",
"pre-commit": "^1.2.2",
"release-it": "^17.0.1",
"sinon": "^17.0.1",
"typescript": "^5.3.3"
},
"files": [
"dist/*",
"src/*"
],
"module": "src/index.js",
"type": "module",
"types": "dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./src/index.js",
"types": "./dist/index.d.ts"
},
"./event": {
"import": "./src/event.js",
"types": "./dist/event.d.ts"
},
"./event-dispatcher": {
"import": "./src/event-dispatcher.js",
"types": "./dist/event-dispatcher.d.ts"
}
},
"ava": {
"files": [
"test/**/*.test.js"
],
"concurrency": 1,
"failFast": false,
"tap": false,
"verbose": true
},
"c8": {
"clean": true,
"per-file": true,
"check-coverage": false,
"include": [
"src/**/*.js"
],
"exclude": []
},
"release-it": {
"github": {
"release": true
}
},
"scripts": {
"docs": "jsdoc2md --configure ./jsdoc.conf.json --private --example-lang js --template rm.hbs src/event-dispatcher.js > README.md; jsdoc2md --configure ./jsdoc.conf.json --private --example-lang js src/event-dispatcher.js > docs/event-dispatcher.md; jsdoc2md --configure ./jsdoc.conf.json --private --example-lang js src/event.js > docs/event.md",
"lint": "eslint --ignore-pattern \"/test/\" . ",
"make-types": "tsc --module nodenext --project ./tsconfig.json",
"release": "release-it",
"test": "NODE_ENV=test c8 ava --serial",
"test-debug": "DEBUG=Uttori* NODE_ENV=test ava --serial --concurrency=1",
"validate": "npm ls"
},
"directories": {
"test": "test"
},
"pre-commit": [
"lint",
"test"
]
}