-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 4.71 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
89
{
"name": "billd-live-server",
"version": "0.1.0",
"description": "基于Vue3 + WebRTC + Node + SRS搭建的直播间",
"keywords": [
"billd",
"bilibili",
"webrtc",
"rtmp",
"flv",
"hls"
],
"homepage": "https://live.hsslive.cn",
"bugs": {
"url": "https://github.com/galaxy-s10/billd-live-server/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/galaxy-s10/billd-live-server"
},
"license": "MIT",
"author": "shuisheng <[email protected]>",
"scripts": {
"build": "rimraf dist && tsc -P ./tsconfig.prod.json || true",
"copy": "ts-node ./deploy/handleGiteeJenkins.mjs",
"cz": "cz",
"dev": "cross-env NODE_ENV=development NODE_APP_RELEASE_PROJECT_NAME=billd-live-server NODE_APP_RELEASE_PROJECT_ENV=dev NODE_APP_RELEASE_PROJECT_PORT=4300 nodemon --exec node -r @swc-node/register ./src/index.ts",
"dev:beta": "cross-env NODE_ENV=development NODE_APP_RELEASE_PROJECT_NAME=billd-live-server NODE_APP_RELEASE_PROJECT_ENV=beta NODE_APP_RELEASE_PROJECT_PORT=4300 nodemon --exec node -r @swc-node/register ./src/index.ts",
"dev:prod": "cross-env NODE_ENV=development NODE_APP_RELEASE_PROJECT_NAME=billd-live-server NODE_APP_RELEASE_PROJECT_ENV=prod NODE_APP_RELEASE_PROJECT_PORT=4200 nodemon --exec node -r @swc-node/register ./src/index.ts",
"docker:dev": "cross-env NODE_ENV=development NODE_APP_RELEASE_PROJECT_ALIAS=src NODE_APP_RELEASE_PROJECT_NAME=billd-live-server NODE_APP_RELEASE_PROJECT_ENV=dev NODE_APP_RELEASE_PROJECT_PORT=4300 nodemon --exec node -r @swc-node/register ./src/init/docker.ts",
"docker:prod": "cross-env NODE_ENV=production NODE_APP_RELEASE_PROJECT_ALIAS=src NODE_APP_RELEASE_PROJECT_NAME=billd-live-server NODE_APP_RELEASE_PROJECT_ENV=prod NODE_APP_RELEASE_PROJECT_PORT=4200 nodemon --exec node -r @swc-node/register ./src/init/docker.ts",
"lint": "eslint --config ./.eslintrc.js . --ext .js,.ts --cache",
"lint:fix": "eslint --config ./.eslintrc.js . --ext .js,.ts --cache --fix",
"mysql:beta": "cross-env NODE_APP_INIT_MYSQL=true NODE_ENV=development NODE_APP_RELEASE_PROJECT_NAME=billd-live-server NODE_APP_RELEASE_PROJECT_ENV=beta NODE_APP_RELEASE_PROJECT_PORT=4300 nodemon --exec node -r @swc-node/register ./src/index.ts",
"mysql:dev": "cross-env NODE_APP_INIT_MYSQL=true NODE_ENV=development NODE_APP_RELEASE_PROJECT_NAME=billd-live-server NODE_APP_RELEASE_PROJECT_ENV=dev NODE_APP_RELEASE_PROJECT_PORT=4300 nodemon --exec node -r @swc-node/register ./src/index.ts",
"mysql:prod": "cross-env NODE_APP_INIT_MYSQL=true NODE_ENV=development NODE_APP_RELEASE_PROJECT_NAME=billd-live-server NODE_APP_RELEASE_PROJECT_ENV=prod NODE_APP_RELEASE_PROJECT_PORT=4200 nodemon --exec node -r @swc-node/register ./src/index.ts",
"oxclint": "pnpm dlx oxlint@latest",
"oxlint": "oxlint",
"prepare": "husky install",
"prettier": "prettier --write .",
"push": "cz && standard-version",
"release": "standard-version",
"release:first": "standard-version --first-release",
"start:beta": "cross-env NODE_ENV=production NODE_APP_RELEASE_PROJECT_NAME=billd-live-server NODE_APP_RELEASE_PROJECT_ENV=beta NODE_APP_RELEASE_PROJECT_PORT=4300 nodemon ./dist/index.js",
"start:prod": "cross-env NODE_ENV=production NODE_APP_RELEASE_PROJECT_NAME=billd-live-server NODE_APP_RELEASE_PROJECT_ENV=prod NODE_APP_RELEASE_PROJECT_PORT=4200 nodemon ./dist/index.js",
"sync-repo": "ts-node ./deploy/handleSyncPublic.mjs",
"typecheck": "tsc -p ./tsconfig.prod.json --noEmit"
},
"config": {},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^16.0.1",
"@commitlint/config-conventional": "^16.0.0",
"@swc-node/register": "^1.6.7",
"@types/amqplib": "^0.10.1",
"@types/crypto-js": "^4.1.0",
"@types/fs-extra": "^9.0.13",
"@types/jsonwebtoken": "^8.5.6",
"@types/koa": "^2.13.4",
"@types/koa-bodyparser": "^4.3.4",
"@types/koa-csrf": "^3.0.2",
"@types/koa-generic-session": "^2.2.1",
"@types/koa-router": "^7.4.4",
"@types/koa-static": "^4.0.2",
"@types/node": "^16.11.9",
"@types/node-schedule": "^1.3.2",
"@types/redis": "^4.0.11",
"@types/ssh2": "^0.5.51",
"@types/validator": "^13.7.0",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"autocannon": "^7.14.0",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"eslint": "^8.2.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.0",
"lint-staged": "^12.1.6",
"nodemon": "^2.0.15",
"prettier": "^2.6.0",
"standard-version": "^9.3.2",
"trash": "^8.1.1",
"ts-node": "^10.4.0",
"typescript": "^4.8.2"
}
}