-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.03 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 1.03 KB
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
{
"name": "sqlx-ts-demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"lint": "npx eslint . --ext .ts",
"lint:fix": "npm run lint -- --fix && npm run prettier",
"prettier": "npx prettier \"src/**/*.queries.ts\" --write",
"build": "npm run compile:pg && npm run compile:sequelize && npm run compile",
"compile:sequelize": "npx sqlx-ts ./sequelize --config ./.sqlxrc.json -g",
"compile:pg": "npx sqlx-ts ./pg --config ./.sqlxrc.json -g",
"compile": "npx tsc -p ./tsconfig.json",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"mysql2": "^3.5.2",
"pg": "^8.11.1",
"pg-hstore": "^2.3.4",
"sequelize": "^6.32.1",
"sqlx-ts": "^0.3.1"
},
"devDependencies": {
"@types/pg": "^8.10.2",
"@types/sequelize": "^4.28.14",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.45.0",
"prettier": "^3.0.0",
"typescript": "^5.1.6"
}
}