-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.71 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.71 KB
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
85
86
87
{
"name": "@piggly/event-bus",
"version": "3.0.0",
"description": "An ESM/CommonJS library following Oriented-Object Programming pattern to manager an Event Bus.",
"scripts": {
"clean": "rimraf dist",
"pre:commit": "npm run lint && npm run format && npm run check",
"prebuild": "npm run lint && npm run format && npm run check",
"build": "npm run clean && npm run build:types && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p tsconfig.esm.json && tsc-alias -p tsconfig.esm.json && node ./fixESM.cjs",
"build:cjs": "tsc -p tsconfig.cjs.json && tsc-alias -p tsconfig.cjs.json",
"build:types": "tsc -p tsconfig.types.json && tsc-alias -p tsconfig.types.json",
"check": "tsc --noEmit -p tsconfig.json",
"format": "prettier --write \"./src/**/*.ts\"",
"lint": "eslint --fix ./src/**",
"test": "cross-env NODE_ENV=test jest --coverage --watchAll",
"test:once": "cross-env NODE_ENV=test jest --passWithNoTests",
"test:debug": "cross-env NODE_ENV=test node --inspect ./node_modules/.bin/jest --runInBand",
"preversion": "npm run build",
"postversion": "git push --follow-tags",
"prepublishOnly": "npm run build",
"prepare": "husky"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"keywords": [
"event-bus",
"events",
"handlers"
],
"author": {
"name": "Caique Araujo",
"email": "caique@piggly.com.br",
"url": "https://github.com/caiquearaujo"
},
"license": "MIT",
"homepage": "https://github.com/piggly-dev/js-event-bus#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/piggly-dev/js-event-bus.git"
},
"bugs": {
"url": "https://github.com/piggly-dev/js-event-bus/issues"
},
"devDependencies": {
"@eslint/js": "^9.24.0",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^8.29.1",
"@typescript-eslint/parser": "^8.29.1",
"@zerollup/ts-transform-paths": "^1.7.18",
"cross-env": "^7.0.3",
"debug": "^4.4.0",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.2",
"eslint-import-resolver-typescript": "^4.3.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-perfectionist": "^4.11.0",
"eslint-plugin-prettier": "^5.2.6",
"husky": "^9.1.7",
"jest": "^29.7.0",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.3.1",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.15",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.8.1",
"tsx": "^4.19.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.29.1"
}
}