-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.17 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
{
"name": "register-event-listeners",
"version": "3.0.0",
"description": "Utility function to register multiple event listeners",
"publishConfig": {
"access": "public"
},
"author": "1natsu",
"contributors": [
"1natsu"
],
"license": "MIT",
"private": false,
"bugs": {
"url": "https://github.com/1natsu172/register-event-listeners/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/1natsu172/register-event-listeners"
},
"files": [
"dist"
],
"typings": "dist/types/index.d.ts",
"module": "dist/es/index.js",
"main": "dist/cjs/index.js",
"homepage": "https://github.com/1natsu172/register-event-listeners",
"engines": {
"node": ">=14"
},
"browserslist": [
"last 2 versions",
"not dead"
],
"scripts": {
"test": "jest",
"lint": "eslint src/** --ext .ts,.tsx",
"lint:fix": "yarn lint --fix",
"preversion": "yarn build",
"clean": "shx rm -rf dist",
"prebuild": "yarn clean",
"version": "yarn docs && git add docs",
"build": "yarn build:esnext && yarn build:esm && yarn build:cjs",
"build:esnext": "tsc --module esnext --target esnext --outDir dist/es --project tsconfig.prod.json",
"build:esm": "tsc --module esnext --target es5 --outDir dist/esm --project tsconfig.prod.json",
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs --project tsconfig.prod.json",
"docs": "typedoc src"
},
"dependencies": {
"detect-passive-events": "^1.0.4"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^11.11.3",
"@typescript-eslint/eslint-plugin": "^1.4.2",
"@typescript-eslint/parser": "^1.4.2",
"eslint": "5.3.0",
"eslint-config-airbnb-base": "13.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^22.4.1",
"eslint-plugin-prettier": "^3.0.1",
"jest": "^27.4.7",
"prettier": "^1.16.4",
"shx": "^0.3.2",
"ts-jest": "^27.1.2",
"typedoc": "0.22.10",
"typescript": "^4.5.4"
},
"keywords": [
"Event",
"EventTarget",
"addEventListener",
"removeEventListener"
]
}