-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
83 lines (83 loc) · 1.79 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
{
"name": "ts-mysql-analyzer",
"version": "0.3.0",
"description": "A MySQL query analyzer.",
"license": "MIT",
"repository": "stevenmiller888/ts-mysql-analyzer",
"author": "Steven Miller (https://github.com/stevenmiller888)",
"engines": {
"node": ">=12.13"
},
"keywords": [
"typescript",
"mysql-analyzer",
"sql-analyzer",
"query",
"mysql",
"sql"
],
"files": [
"dist"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"pub": "np",
"test": "jest",
"lint": "eslint src/**/*.ts",
"build": "tsc",
"watch": "tsc -b -w",
"clean": "rm -rf dist",
"db-cli": "docker run -it --network host chaifeng/mycli mysql://127.0.0.1:3310/test"
},
"prettier": {
"semi": false,
"singleQuote": true,
"printWidth": 120
},
"jest": {
"preset": "ts-jest",
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"testEnvironment": "node"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{yml,md,json}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@types/jest": "^25.1.4",
"@types/node": "^13.9.0",
"@types/prettier": "^1.19.0",
"@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"husky": "^4.2.3",
"jest": "^25.1.0",
"lint-staged": "^10.0.8",
"np": "^6.2.0",
"prettier": "^1.19.1",
"ts-jest": "^25.2.1",
"ts-node": "^8.6.2",
"wait-port": "^0.2.7"
},
"dependencies": {
"leven": "^3.1.0",
"ts-mysql-parser": "^0.2.0",
"ts-mysql-schema": "^0.0.3",
"typescript": "^3.8.3"
}
}