-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.75 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
{
"name": "@yfill/event-hub",
"version": "1.0.3",
"description": "An event hub",
"author": "Yfill <vps998@gmail.com>",
"homepage": "https://yfill.cn/event-hub",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"keywords": [
"yfill",
"series",
"event",
"hub",
"javascript"
],
"repository": {
"type": "git",
"url": "https://github.com/Yfill/event-hub"
},
"main": "dist/index.js",
"module": "dist/index.esm.js",
"exports": {
"require": "./dist/index.cjs.js",
"import": "./dist/index.esm.js",
"browser": "./dist/index.js"
},
"typings": "types/index.d.ts",
"files": [
"dist/*.js",
"types/*.d.ts"
],
"scripts": {
"build": "run-p build:lib build:type",
"build:lib": "set NODE_ENV=production&& rimraf dist&& rollup -c",
"build:type": "rimraf types&& tsc -d --emitDeclarationOnly --declarationDir types&& rimraf types/utils",
"serve": "set NODE_ENV=development&& rollup -c&& node serve",
"lint": "eslint --fix src/**/*.ts"
},
"browserslist": [
"ie 9",
"chrome 49",
"firefox 52"
],
"devDependencies": {
"@babel/cli": "7.25.6",
"@babel/core": "7.25.2",
"@babel/preset-env": "7.25.4",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "24.1.0",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-typescript": "11.1.6",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"browser-sync": "2.29.3",
"browserslist": "4.23.3",
"eslint": "8.57.1",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "2.30.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.2",
"rollup": "3.29.5",
"rollup-plugin-terser": "7.0.2",
"typescript": "4.9.5"
}
}