This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.35 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
{
"name": "tp-dacs-2022-external",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"prestart": "npm run drop-sqlite-db || true",
"start": "cross-env NODE_ENV=development npm run nodemon",
"poststart": "npm run create-sqlite-db && npm run seed-sqlite-db",
"nodemon": "nodemon -L --exec \"node --inspect=0.0.0.0:9230 --experimental-specifier-resolution=node --loader ts-node/esm src/api.ts\"",
"create-sqlite-db": "shx touch ./db/database.sqlite",
"drop-sqlite-db": "shx rm ./db/database.sqlite",
"seed-sqlite-db": "npx sequelize-cli db:seed:all",
"lint": "eslint src",
"lint-fix": "eslint src --fix",
"typecheck": "tsc --project tsconfig.json --noEmit",
"prepush": "npm run test",
"pretest": "npm run lint",
"production": "cross-env NODE_ENV=production node ./src/api.ts",
"test": "npm run create-sqlite-db && cross-env NODE_ENV=testing jest --coverage && npm run drop-sqlite-db",
"test:watch": "jest --watch --maxWorkers=25%",
"test-ci": "jest --coverage --forceExit",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*": [
"npm run lint -- --fix"
]
},
"dependencies": {
"body-parser": "^1.20.0",
"cors": "^2.8.5",
"express": "^4.18.1",
"helmet": "^5.1.0",
"sequelize": "^6.20.0",
"sqlite3": "^5.0.8"
},
"devDependencies": {
"@goldstack/nodemonx": "0.3.32",
"@goldstack/utils-typescript-references": "0.1.13",
"@types/express": "^4.17.13",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.35",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"cross-env": "^7.0.3",
"eslint": "^8.16.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-next": "^12.1.6",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"husky": "^8.0.1",
"jest": "^28.1.0",
"lint-staged": "^12.4.2",
"nodemon": "^2.0.16",
"prettier": "^2.6.2",
"sequelize-cli": "^6.4.1",
"shx": "^0.3.4",
"supertest": "^6.2.3",
"ts-jest": "^28.0.3",
"ts-node": "^10.8.0",
"typescript": "^4.7.2"
}
}