-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1009 Bytes
/
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
{
"name": "awm-workouts",
"author": "Michael Pyle",
"version": "1.0.0",
"license": "MIT",
"description": "Workouts Database Loader",
"main": "build/main.js",
"scripts": {
"build": "tsc",
"clean": "rm -rf .tsbuildinfo build/*",
"lint": "tslint",
"loaddb": "node build/main.js",
"postbuild": "cp -r ./sql ./build",
"rebuild": "npm run clean && npm run build",
"reload": "./setupdb.sh && npm start",
"reset": "npm run setupdb && npm run loaddb",
"setupdb": "./setupdb.sh",
"start": "npm run build && npm run loaddb",
"test": "jest",
"testdb": "node build/testdb.js"
},
"dependencies": {
"better-sqlite3": "^11.1.2",
"pg-promise": "^11.9.1"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.11",
"@types/jest": "^29.5.12",
"@types/node": "^22.1.0",
"eslint": "^9.8.0",
"ts-jest": "^29.2.4",
"typescript": "^5.5.4"
},
"jest": {
"preset": "ts-jest",
"verbose": true,
"rootDir": "./src"
}
}