-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
78 lines (78 loc) · 1.8 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
{
"name": "eventmit",
"version": "2.0.4",
"description": "One event per one event.",
"keywords": [
"events",
"eventemitter"
],
"homepage": "https://github.com/azu/eventmit",
"bugs": {
"url": "https://github.com/azu/eventmit/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/azu/eventmit.git"
},
"license": "MIT",
"author": "azu",
"files": [
"bin/",
"module/",
"lib/",
"src/"
],
"type": "module",
"source": "src/eventmit.ts",
"main": "lib/eventmit.js",
"types": "module/eventmit.d.ts",
"module": "module/eventmit.js",
"exports": {
".": {
"import": {
"types": "./module/eventmit.d.ts",
"default": "./module/eventmit.js"
},
"require": {
"types": "./lib/eventmit.d.ts",
"default": "./lib/eventmit.js"
},
"default": "./lib/eventmit.js"
},
"./package.json": "./package.json"
},
"directories": {
"lib": "lib",
"test": "test"
},
"scripts": {
"build": "tsc -p . && tsc -p ./tsconfig.cjs.json && tsconfig-to-dual-package",
"clean": "git clean -fx module/ lib/",
"prepublish": "npm run --if-present build",
"test": "mocha",
"watch": "tsc -p . --watch",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.18",
"lint-staged": "^13.1.0",
"mocha": "^10.2.0",
"prettier": "^2.8.3",
"ts-node": "^10.9.1",
"tsconfig-to-dual-package": "^1.0.6",
"typescript": "^4.9.4"
}
}