generated from WarstekHUN/typescript-npm-package-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.91 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
{
"$schema": "https://json.schemastore.org/package",
"name": "zilaws-client",
"version": "2.2.1",
"description": "ZilaWS is a blazingly fast and very lightweight library that provides an extremely easy-to-use way to transmit data via websockets between client-side and server-side using eventhandlers and async waiters.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"umd:main": "dist/umd/index.js",
"types": "dist/types/index.d.ts",
"browser": "dist/umd/index.js",
"scripts": {
"build": "npm run format:fix && npm run test:cov-build && npm run format:fix && npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types",
"forcebuild": "npm run format:fix && npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types",
"build:cjs": "rimraf ./dist/cjs && tsc -p config/tsconfig.cjs.json",
"build:esm": "rimraf ./dist/esm && tsc -p config/tsconfig.esm.json",
"build:umd": "rimraf ./dist/umd && webpack --config config/webpack.config.js",
"build:types": "rimraf ./dist/types && tsc -p config/tsconfig.types.json",
"clean": "rimraf ./dist/cjs ./dist/esm ./dist/umd ./dist/types",
"test": "jest --no-cache --runInBand",
"test:cov": "jest --coverage --no-cache --runInBand",
"test:cov-browser": "jest --coverage --no-cache --runInBand && start ./coverage/lcov-report/index.html",
"test:cov-build": "jest --coverage --no-cache --runInBand && jest-coverage-badges-ts --output \"./.coverage-badges\"",
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"format:fix": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"release": "rimraf ./*.tgz -g && npm run build && node tools/versionManager.js"
},
"files": [
"dist"
],
"keywords": [
"websocket",
"client",
"connection",
"library",
"eventhandler",
"waiter",
"async",
"tcp",
"realtime",
"browser",
"node",
"typescript",
"events"
],
"author": "warstekhun",
"license": "MIT",
"homepage": "https://zilaws.com",
"repository": {
"type": "git",
"url": "[email protected]:ZilaWS/client.git"
},
"bugs": {
"url": "https://github.com/ZilaWS/client"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.14.10",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"jest-coverage-badges-ts": "^0.1.8",
"prettier": "^3.3.2",
"prompt": "^1.3.0",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.5.3",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4",
"zilaws-server": "^2.2.0"
},
"dependencies": {
"uuid": "^10.0.0",
"ws": "^8.18.0"
}
}