-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.32 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
{
"name": "hbus",
"version": "0.3.5",
"description": "An event bus lib.",
"main": "dist/hbus.umd.min.js",
"module": "dist/hbus.min.js",
"types": "index.d.ts",
"scripts": {
"prebuild": "rd /q /s dist typings raw || exit 0",
"build": "tsc && rollup -c",
"postbuild": "terser dist/hbus.js --config-file terser.json --module -o dist/hbus.min.js && terser dist/hbus.umd.js --config-file terser.json -o dist/hbus.umd.min.js",
"test": "node ./test/test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/huang2002/hbus.git"
},
"keywords": [
"hbus",
"event",
"bus",
"state",
"publish",
"dispatch",
"subscribe",
"subscription",
"3h"
],
"author": "3h",
"license": "MIT",
"bugs": {
"url": "https://github.com/huang2002/hbus/issues"
},
"homepage": "https://github.com/huang2002/hbus#readme",
"files": [
"dist",
"typings",
"index.d.ts"
],
"devDependencies": {
"babel-core": "^6.26.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.7.0",
"rollup": "^0.64.1",
"rollup-plugin-babel": "^3.0.7",
"terser": "^3.8.1",
"typescript": "^3.0.1"
}
}