This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 1.62 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
{
"name": "@themaxdavitt/s-event",
"version": "1.0.0",
"description": "Synchronously wait for an event - please invoke responsibly",
"keywords": [
"sync",
"wait",
"event",
"blocking"
],
"homepage": "https://github.com/themaxdavitt/s-event",
"license": "MIT",
"author": "Max Davitt <[email protected]>",
"files": ["lib/**/*"],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "themaxdavitt/s-event"
},
"scripts": {
"test": "jest --coverage",
"dev": "rimraf coverage lib && tsc && xo && npm run --silent test",
"watch": "nodemon --ext ts --exec \"npm run --silent dev\"",
"prepublishOnly": "npm run --silent dev"
},
"dependencies": {
"deasync": "^0.1.20"
},
"devDependencies": {
"@types/deasync": "^0.1.0",
"@types/jest": "^25.2.1",
"@types/node": "^13.13.5",
"husky": "^4.2.5",
"jest": "^25.5.4",
"nodemon": "^2.0.3",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-jest": "^25.5.1",
"typescript": "^3.8.3",
"xo": "^0.30.0"
},
"optionalDependencies": {
"strict-event-emitter-types": "^2.0.0",
"tsee": "^1.3.0",
"typed-emitter": "^1.0.0"
},
"prettier": {
"useTabs": true
},
"xo": {
"ignores": [
"lib/"
],
"prettier": true,
"rules": {
"@typescript-eslint/prefer-readonly-parameter-types": "off",
"no-undef": "off"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"rootDir": ".",
"testPathIgnorePatterns": [
"/node_modules/",
"/lib/"
]
},
"nodemonConfig": {
"ignore": [
"lib/*"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run --silent dev",
"pre-push": "npm run --silent dev"
}
}
}