-
-
Notifications
You must be signed in to change notification settings - Fork 86
/
package.json
88 lines (88 loc) · 3.54 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
83
84
85
86
87
88
{
"name": "geckos.io",
"description": "Real-time client/server communication over UDP using WebRTC and Node.js",
"version": "2.0.0",
"private": true,
"type": "module",
"scripts": {
"start": "npm run dev",
"lint": "eslint packages/**/*.ts",
"lint:fix": "eslint --fix packages/**/*.ts",
"format": "prettier --check \"packages/**/!(*.d).ts\"",
"format:write": "prettier --write \"packages/**/!(*.d).ts\"",
"lerna:ls": "lerna ls",
"lerna:diff": "lerna diff",
"lerna:changed": "lerna changed",
"lerna:version": "npm run build && lerna version --no-changelog --no-push --no-git-tag-version --no-commit-hooks && cd packages/client && npm run bundle",
"build:common": "tsc --build packages/common/tsconfig.json",
"build:client": "tsc --build packages/client/tsconfig.json",
"build:server": "tsc --build packages/server/tsconfig.json",
"build:cjs": "tsc --build packages/common/tsconfig.cjs.json && node ./scripts/changeImports.mjs && tsc --build packages/server/tsconfig.cjs.json && node ./scripts/changeImports.mjs --reverse && node ./scripts/packageType.mjs",
"build": "npm run clear && npm run build:common && npm run build:client && npm run build:server",
"publish": "npm-run-all build publish:*",
"publish:common": "cd packages/common/ && npm publish",
"publish:server": "cd packages/server/ && npm publish",
"publish:client": "cd packages/client/ && npm publish",
"dev": "npm run build && cd packages/chatApp && npm run dev",
"postinstall": "lerna bootstrap --no-ci && npm run build",
"test": "npm run build-client-bundle && npm run test:mjs",
"test:mjs": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --forceExit --testMatch \"**/test/{common,e2e,server}/**/*test.?(c)js\"",
"test:cjs": "jest --coverage --forceExit --testMatch \"**/test/cjs/**/*test.?(c)js\"",
"clear": "rimraf packages/client/lib packages/common/lib packages/server/lib packages/common/cjs packages/server/cjs",
"build-client-bundle": "webpack --config packages/client/webpack/webpack.prod.cjs --env path=../../../test/.tmp --env packageVersion=latest",
"prune": "npm-run-all prune:*",
"prune:node-modules": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"prune:dist": "find . -name 'dist' -type d -prune -exec rm -rf '{}' +"
},
"keywords": [
"realtime",
"framework",
"webrtc",
"nodejs",
"udp",
"sctp",
"events",
"io"
],
"author": "Yannick Deubel (https://github.com/yandeu)",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "git://github.com/geckosio/geckos.io.git"
},
"bugs": {
"url": "https://github.com/geckosio/geckos.io/issues"
},
"homepage": "http://geckos.io",
"directories": {
"lib": "lib"
},
"devDependencies": {
"@types/node": "^20.12.8",
"@yandeu/eslint-config": "^0.0.4",
"@yandeu/prettier-config": "^0.0.4",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.46.0",
"express6": "^0.1.2",
"html-webpack-plugin": "^5.2.0",
"jest": "^29.0.3",
"jest-after-this": "^1.0.2",
"jest-puppeteer": "^10.0.1",
"lerna": "^5.1.8",
"nodemon": "^3.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.1",
"puppeteer": "^22.7.1",
"rimraf": "^3.0.2",
"source-map-support": "^0.5.11",
"ts-loader": "^9.2.1",
"typescript": "^5.1.6",
"webpack": "^5.16.0",
"webpack-cli": "^4.4.0",
"webpack-node-externals": "^3.0.0"
},
"funding": {
"url": "https://github.com/sponsors/yandeu"
}
}