-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
67 lines (67 loc) · 2.12 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
{
"name": "mysql-notification",
"version": "1.4.0",
"description": "Example of a user defined function (UDF) in MySQL",
"engines": {
"node": ">= 14.18.0"
},
"dependencies": {
"@types/minimist": "^1.2.2",
"@types/mysql": "^2.15.21",
"@types/node": "^18.7.14",
"@types/websocket": "^1.0.5",
"cross-env": "^7.0.3",
"dotenv": "^16.0.1",
"minimist": "^1.2.5",
"mysql": "^2.18.1",
"pm2": "^5.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.2",
"websocket": "^1.0.34",
"winston": "^3.8.1"
},
"devDependencies": {
"@types/http-server": "^0.12.1",
"@types/jest": "^28.1.0",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"eslint": "^8.23.0",
"jest": "^28.0.0",
"prettier": "^2.7.1",
"ts-jest": "^28.0.0",
"ts-node-dev": "^2.0.0"
},
"scripts": {
"test": "jest",
"start": "cross-env NODE_ENV=production pm2 start ./build/src/index.js -- $PM2_ARGS",
"build": "rm -rf build && tsc --build",
"start-ts": "NODE_ENV=production node build/src/index.js",
"dev": "ts-node-dev --respawn -- src/index.ts",
"pm2": "node_modules/.bin/pm2",
"format": "prettier --write \"src/*.ts\"",
"compile": "(cd ./mysql-plugin/src; make)",
"setup": "(cd ./mysql-plugin/src; make install)",
"clean": "(cd ./mysql-plugin/src; make clean)",
"lint": "eslint --ext .ts src",
"insert": "npx ts-node src/insert.ts",
"update": "npx ts-node src/update.ts",
"delete": "npx ts-node src/delete.ts",
"select": "npx ts-node src/select.ts",
"docker:insert": "docker-compose exec app npm run insert --",
"docker:update": "docker-compose exec app npm run update --",
"docker:delete": "docker-compose exec app npm run delete --",
"docker:select": "docker-compose exec app npm run select --"
},
"repository": {
"type": "git",
"url": "[email protected]:Cyclonecode/mysql-notification.git"
},
"bugs": {
"url": "https://github.com/cyclonecode/mysql-notification/issues"
},
"author": {
"name": "Cyclonecode",
"email": "[email protected]"
},
"license": "GPL-3.0-only"
}