-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.26 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
{
"name": "fake-node-socket",
"version": "1.0.1",
"description": "A simple socket faker to be able to unit test software that relay on sockets",
"main": "cjs/index.js",
"types": "cjs/index.d.ts",
"scripts": {
"build": "tsc",
"coverage": "yarn && tsc && nyc yarn test",
"test": "yarn && tsc && mocha -r ts-node/register test/**/*.test.ts",
"build-commonjs": "npx tsc --module commonjs --outDir cjs/",
"build-module": "npx tsc --module es2022 --outDir esm/",
"build-all": "npm run build-commonjs && npm run build-module"
},
"keywords": [
"node",
"socket",
"test",
"unit",
"unit test",
"MIT",
"chai",
"mocha",
"typescript"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jaenster/fake-socket.git"
},
"author": "Jaenster",
"license": "MIT",
"dependencies": {
"@jaenster/queues": "^0.1.6",
"map-ext": "^0.1.5"
},
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/json5": "^0.0.30",
"@types/mocha": "^7.0.2",
"@types/node": "^16.18.35",
"chai": "^4.2.0",
"mocha": "^8.0.1",
"nyc": "^15.1.0",
"ts-node": "^8.6.2",
"typescript": "^4.4.4"
},
"exports": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
}
}