-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "@for-fun/event-emitter",
"version": "1.0.0",
"description": "event-emitter",
"main": "dist/event-emitter.cjs.js",
"module": "dist/event-emitter.esm.js",
"browser": "dist/event-emitter.esm.js",
"unpkg": "dist/event-emitter.umd.min.js",
"jsdelivr": "dist/event-emitter.umd.min.js",
"types": "index.d.ts",
"files": [
"dist",
"index.d.ts"
],
"sideEffects": false,
"scripts": {
"commit": "lint-staged && git-cz -n",
"build": "rollup -c",
"prepublishOnly": "npm test && rimraf dist && npm run build",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint --fix src test *.js",
"test": "tsc && cross-env NODE_ENV=test nyc mocha -r @babel/register --recursive --exclude mock --exclude *.ts --exclude fixtures -r should -r should-sinon",
"start": "npm test -- --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wmzy/event-emitter.git"
},
"keywords": [
"event-emitter"
],
"author": "wmzy",
"license": "MIT",
"bugs": {
"url": "https://github.com/wmzy/event-emitter/issues"
},
"homepage": "https://github.com/wmzy/event-emitter",
"devDependencies": {
"@babel/core": "^7.22.8",
"@babel/eslint-parser": "^7.22.7",
"@babel/preset-env": "^7.22.7",
"@babel/register": "^7.22.5",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-terser": "^0.4.3",
"commitizen": "^4.3.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.44.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-compat": "^4.1.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"rollup": "^3.26.2",
"should": "^13.2.3",
"should-sinon": "0.0.6",
"sinon": "^15.2.0",
"typescript": "^5.1.6"
},
"lint-staged": {
"*.js": [
"cross-env NODE_ENV=production eslint --fix",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}