-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
61 lines (61 loc) · 1.81 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
{
"name": "node-msocietybot",
"version": "0.0.1",
"description": "Awesome project developed with TypeORM.",
"devDependencies": {
"@types/mysql2": "github:types/mysql2",
"@types/pg": "^7.14.11",
"@typescript-eslint/eslint-plugin": "^2.21.0",
"@typescript-eslint/parser": "^2.21.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"jest": "^26.4.2",
"jest-circus": "^25.1.0",
"lint-staged": "^10.0.8",
"nock": "^12.0.1",
"prettier": "^1.19.1",
"testcontainers": "^3.4.3",
"ts-jest": "^26.3.0"
},
"dependencies": {
"@types/debug": "^4.1.5",
"@types/jest": "^25.2.3",
"@types/node": "^12.20.25",
"debug": "^4.3.2",
"dotenv": "^8.6.0",
"mysql2": "^2.2.5",
"pg": "^8.5.1",
"reflect-metadata": "^0.1.10",
"telegraf": "^4.4.2",
"ts-node": "^10.2.1",
"typeorm": "^0.2.37",
"typeorm-naming-strategies": "^1.1.0",
"typescript": "^4.4.3",
"uuidv4": "^6.2.12"
},
"scripts": {
"start": "ts-node src/index.ts",
"test": "jest",
"lint-staged": "lint-staged",
"tsc": "tsc --noEmit",
"lint": "eslint src --max-warnings 0 --ext js,ts,tsx",
"create-migration": "ts-node ./node_modules/typeorm/cli.js migration:generate -n",
"create-entity": "ts-node ./node_modules/typeorm/cli.js entity:create -n",
"migrate": "ts-node ./node_modules/typeorm/cli.js migration:run",
"migrate-from-mysql": "DEBUG=msocietybot-mysql-migrator ts-node src/mysqlToPostgresMigrator.ts",
"preinstall": "node bin/check-nvmrc.js",
"prestart": "node bin/check-nvmrc.js"
},
"husky": {
"hooks": {
"pre-commit": "npm run tsc && npm run lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --max-warnings 0 --fix"
]
}
}