-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.34 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
{
"name": "simple-websockets",
"version": "1.3.1",
"description": "",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"type": "module",
"exports": {
"import": "./lib/esm/index.js",
"default": "./lib/cjs/index.js"
},
"types": "./types/index.d.ts",
"scripts": {
"test": "jest --coverage",
"make-badges": "istanbul-badges-readme",
"transpile:cjs": "tsc -p tsconfig.json",
"transpile:esm": "tsc -p tsconfig.esm.json",
"transpile:all": "npm run transpile:cjs && npm run transpile:esm",
"transpile": "npm run transpile:all && npm run post-compile && npm run move-build",
"move-build": "cp lib/cjs/*.d.ts lib/esm",
"lint": "eslint . --ext .ts",
"prettier-format": "prettier --config .prettierrc --write **/*.ts",
"post-compile": "npm run prettier-format && npm run lint && npm test && npm run make-badges",
"start": "npm run build:live",
"build:live": "nodemon --exec ./node_modules/.bin/ts-node -- ./src/index.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/osztenkurden/simple-websockets.git"
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/lib/"
],
"modulePathIgnorePatterns": [
"<rootDir>/lib/"
],
"projects": [
"<rootDir>/setup/jest.node.config.ts",
"<rootDir>/setup/jest.browser.config.ts",
"<rootDir>/setup/jest.unknown.config.ts"
],
"collectCoverageFrom": [
"src/*"
],
"coverageReporters": [
"json-summary",
"text",
"lcov"
]
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/osztenkurden/simple-websockets/issues"
},
"homepage": "https://github.com/osztenkurden/simple-websockets#readme",
"devDependencies": {
"@types/browser-or-node": "^1.3.0",
"@types/node": "^14.14.31",
"@types/ws": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"eslint": "^7.20.0",
"istanbul-badges-readme": "^1.2.0",
"jest": "^26.6.3",
"jest-ts-webcompat-resolver": "^1.0.0",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"simple-websockets-server": "^1.0.2",
"ts-jest": "^26.5.1",
"ts-node": "^9.1.1",
"typescript": "^4.1.5"
},
"dependencies": {
"browser-or-node": "^1.3.0",
"reconnecting-websocket": "^4.4.0",
"ws": "^7.4.3"
}
}