-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
69 lines (69 loc) · 2.13 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
{
"name": "@jjwesterkamp/event-delegation",
"version": "2.0.6",
"author": "Jeffrey Westerkamp",
"repository": "git+https://github.com/JJWesterkamp/event-delegation.git",
"homepage": "https://jjwesterkamp.github.io/event-delegation",
"description": "Event delegation for browser DOM events. Flexible, cross-browser compatible and Typescript-focused.",
"keywords": [
"DOM",
"Events",
"Delegation",
"Event delegation",
"Typescript"
],
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./event-delegation.d.ts",
"exports": {
".": {
"node": "./cjs/index.js",
"require": "./cjs/index.js",
"import": "./esm/index.js",
"default": "./esm/index.js"
},
"./lib/*": {
"node": "./cjs/lib/*.js",
"require": "./cjs/lib/*.js",
"import": "./esm/lib/*.js",
"default": "./esm/lib/*.js"
}
},
"unpkg": "umd/event-delegation.min.js",
"jsdelivr": "umd/event-delegation.min.js",
"scripts": {
"clean:dist": "rm -rf cjs esm umd",
"dev": "run-p \"build:** -- --watch\"",
"build": "npm run clean:dist && run-p build:**",
"build:cjs": "tsc --outDir cjs --sourceMap false -m CommonJS",
"build:esm": "tsc --outDir esm --sourceMap false -m es2015",
"build:umd": "webpack",
"docs": "typedoc event-delegation.d.ts",
"bump": "npx yarn version --new-version",
"preversion": "npm run docs && git reset && git add ./CHANGELOG.md ./README.md ./docs/*",
"prepublishOnly": "git checkout master && npm run test && npm run build",
"test": "jest",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
"dependencies": {
"typed-query-selector": "^2.4.1"
},
"devDependencies": {
"@jjwesterkamp/typedoc-theme": "^1.2.0",
"@types/jest": "^27.4.1",
"@types/jsdom": "^16.2.14",
"@types/webpack-env": "^1.16.3",
"coveralls": "^3.1.1",
"jest": "^27.5.1",
"jsdom": "^19.0.0",
"npm-run-all": "^4.1.5",
"ts-jest": "^27.1.4",
"ts-loader": "^9.2.8",
"tslib": "^2.3.1",
"typedoc": "^0.22.15",
"typescript": "^4.6.3",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
}
}