-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
88 lines (88 loc) · 2.06 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
85
86
87
88
{
"name": "await-event-emitter",
"version": "2.0.2",
"description": "Await events library like EventEmitter",
"author": "imcuttle <[email protected]>",
"scripts": {
"test": "npx jest",
"test:watch": "npm test -- --watch",
"preversion": "npm test",
"build": "npm run clean && run-p --print-label \"build:**\"",
"dev": "TSC_OPTIONS=\"--watch\" npm run build",
"build:es": "tsc $TSC_OPTIONS --outDir es --module es6",
"build:cjs": "tsc $TSC_OPTIONS --outDir lib",
"build:tds": "tsc $TSC_OPTIONS --emitDeclarationOnly -d",
"clean": "rimraf types es lib",
"prepare": "npm run build",
"version": "npm run changelog",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
},
"sideEffects": false,
"engines": {
"node": ">=10"
},
"files": [
"es",
"types",
"lib",
"src"
],
"keywords": [
"imcuttle",
"node",
"await",
"event",
"emitter",
"node-await-event-emitter"
],
"main": "lib",
"types": "types",
"license": "MIT",
"repository": "imcuttle/node-await-event-emitter",
"module": "es",
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.jsx?$": "babel-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testMatch": [
"**/__test{s,}__/*.(spec|test).{t,j}s{x,}"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/jest": "^26.0.15",
"conventional-changelog-cli": "^2.1.0",
"husky": "^4.3.0",
"jest": "^26.6.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"pretty-quick": "^3.1.0",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.3",
"typescript": "^4.0.5"
},
"dependencies": {
"is-promise": "^4.0.0"
}
}