-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.29 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
{
"name": "nodejs-starter-typescript",
"version": "1.0.0",
"description": "Starter template for nodejs with typescript",
"main": "index.js",
"scripts": {
"start": "nodemon",
"build": "tsc",
"lint:fix": "tslint --fix -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'",
"prettify": "prettier --single-quote --print-width 120 --write {src,test}/**/*.ts",
"format:code": "run-s lint:fix prettify",
"migration:make": "knex --migrations-directory src/db/migrations migrate:make -x ts",
"rollback": "knex migrate:rollback --knexfile src/db/knexfile.ts",
"migrate": "knex migrate:latest --knexfile src/db/knexfile.ts"
},
"keywords": [
"typescript",
"nodejs"
],
"author": "Binaya Baral <[email protected]>",
"license": "MIT",
"devDependencies": {
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/node": "^18.6.2",
"nodemon": "^2.0.22",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"ts-lint": "^4.5.1",
"ts-node": "^10.9.1",
"tslint-config-leapfrog": "^1.0.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.7.4"
},
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"knex": "^2.2.0",
"knex-stringcase": "^1.4.6",
"pg": "^8.11.3"
}
}