forked from dgraham/delegated-events
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.79 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
{
"name": "delegated-events",
"version": "1.1.2",
"description": "A small, fast delegated event library.",
"license": "MIT",
"repository": "dgraham/delegated-events",
"main": "dist/index.umd.js",
"module": "dist/index.js",
"types": "index.d.ts",
"scripts": {
"clean": "rm -rf build dist",
"flow": "flow check",
"ts": "tsc --noEmit test/test-ts.ts",
"lint": "eslint delegated-events.js test",
"bootstrap": "git submodule update --init && npm install",
"prebuild": "npm run clean && npm run flow && npm run ts && npm run lint",
"build": "rollup -c && cp delegated-events.js.flow dist/index.js.flow && cp delegated-events.js.flow dist/index.umd.js.flow",
"pretest": "npm run clean && npm run flow && npm run ts && npm run lint && rollup -c rollup.config.test.js",
"test": "karma start --single-run --browsers ChromeHeadless karma.conf.js",
"prebrowser": "npm run pretest",
"browser": "open \"file://$(pwd)/test/test.html\"",
"prebench": "npm run clean && rollup -c rollup.config.bench.js",
"bench": "open \"file://$(pwd)/test/bench.html\"",
"prepublishOnly": "npm run build"
},
"dependencies": {
"selector-set": "^1.1.5"
},
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"babel-eslint": "^10.1.0",
"chai": "^4.2.0",
"custom-event-polyfill": "^1.0.7",
"eslint": "^7.4.0",
"eslint-plugin-prettier": "^3.1.4",
"flow-bin": "^0.129.0",
"karma": "^5.1.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"mocha": "^8.0.1",
"prettier": "^2.0.5",
"rollup": "^2.21.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"typescript": "^3.9.6"
},
"files": [
"dist",
"index.d.ts"
]
}