-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
64 lines (64 loc) · 1.57 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
{
"name": "@buttercup/channel-queue",
"version": "1.5.0",
"description": "A queue management library with channels",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"docs": "npm run build && jsdoc2md dist/*.js > API.md",
"format": "prettier --write \"{source,test}/**/*.{js,ts}\"",
"prepublishOnly": "npm run build",
"pretest": "npm run build",
"test": "npm run test:unit && npm run test:format",
"test:format": "prettier --check \"{source,test}/**/*.js\"",
"test:unit": "mocha -r test/index.js 'test/unit/**/*.spec.js'"
},
"files": [
"dist/**/*"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{source,test}/**/*.{js,ts}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/buttercup/channel-queue.git"
},
"keywords": [
"queue",
"channel",
"enqueue",
"promise",
"event",
"emitter"
],
"author": "Buttercup <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/buttercup/channel-queue/issues"
},
"homepage": "https://github.com/buttercup/channel-queue#readme",
"dependencies": {
"eventemitter3": "^4.0.7",
"layerr": "^0.1.2"
},
"devDependencies": {
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"husky": "^4.3.8",
"jsdoc-to-markdown": "^7.1.1",
"lint-staged": "^12.3.7",
"mocha": "^9.2.2",
"prettier": "^1.19.1",
"sinon": "^13.0.2",
"sleep-promise": "^9.1.0",
"typescript": "^4.6.3"
}
}