1
|
{
|
2
|
"name": "eventemitter3",
|
3
|
"version": "4.0.0",
|
4
|
"description": "EventEmitter3 focuses on performance while maintaining a Node.js AND browser compatible interface.",
|
5
|
"main": "index.js",
|
6
|
"typings": "index.d.ts",
|
7
|
"scripts": {
|
8
|
"browserify": "rm -rf umd && mkdir umd && browserify index.js -s EventEmitter3 -o umd/eventemitter3.js",
|
9
|
"minify": "uglifyjs umd/eventemitter3.js --source-map -cm -o umd/eventemitter3.min.js",
|
10
|
"benchmark": "find benchmarks/run -name '*.js' -exec benchmarks/start.sh {} \\;",
|
11
|
"test": "nyc --reporter=html --reporter=text mocha test/test.js",
|
12
|
"prepublishOnly": "npm run browserify && npm run minify",
|
13
|
"test-browser": "node test/browser.js"
|
14
|
},
|
15
|
"files": [
|
16
|
"index.js",
|
17
|
"index.d.ts",
|
18
|
"umd"
|
19
|
],
|
20
|
"repository": {
|
21
|
"type": "git",
|
22
|
"url": "git://github.com/primus/eventemitter3.git"
|
23
|
},
|
24
|
"keywords": [
|
25
|
"EventEmitter",
|
26
|
"EventEmitter2",
|
27
|
"EventEmitter3",
|
28
|
"Events",
|
29
|
"addEventListener",
|
30
|
"addListener",
|
31
|
"emit",
|
32
|
"emits",
|
33
|
"emitter",
|
34
|
"event",
|
35
|
"once",
|
36
|
"pub/sub",
|
37
|
"publish",
|
38
|
"reactor",
|
39
|
"subscribe"
|
40
|
],
|
41
|
"author": "Arnout Kazemier",
|
42
|
"license": "MIT",
|
43
|
"bugs": {
|
44
|
"url": "https://github.com/primus/eventemitter3/issues"
|
45
|
},
|
46
|
"devDependencies": {
|
47
|
"assume": "~2.2.0",
|
48
|
"browserify": "~16.2.0",
|
49
|
"mocha": "~6.1.0",
|
50
|
"nyc": "~14.1.0",
|
51
|
"pre-commit": "~1.2.0",
|
52
|
"sauce-browsers": "~2.0.0",
|
53
|
"sauce-test": "~1.3.3",
|
54
|
"uglify-js": "~3.6.0"
|
55
|
}
|
56
|
}
|