forked from javieraviles/node-typescript-koa-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.48 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.48 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
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
{
"name": "node-typescript-koa-rest",
"version": "1.7.0",
"description": "API REST using NodeJS and KOA framework, typescript. TypeORM for SQL with class-validators. Middlewares JWT, CORS, Winston Logger. Swagger API docs",
"main": "dist/server.js",
"scripts": {
"watch-server": "nodemon --watch src -e ts,tsx --exec ts-node src/server.ts",
"build-ts": "tsc",
"copy-static-assets": "ts-node copyStaticAssets.ts",
"lint": "tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix",
"serve": "node dist/server.js",
"build": "npm run lint && npm run build-ts && npm run copy-static-assets",
"start": "npm run serve",
"test:integration:heroku": "newman run integrationtests/node-koa-typescript.postman_collection.json -e integrationtests/env/heroku-dev.postman_environment.json",
"test:integration:local": "newman run integrationtests/node-koa-typescript.postman_collection.json -e integrationtests/env/local-dev.postman_environment.json",
"test:load": "locust --no-web -c 50 -r 10 -f loadtests/locustfile.py --run-time 1m --host=https://node-typescript-koa-rest.herokuapp.com"
},
"engines": {
"node": "12.x.x",
"npm": "6.x.x"
},
"author": "Javier Aviles",
"license": "MIT",
"homepage": "https://github.com/javieraviles/node-typescript-koa-rest#readme",
"keywords": [
"typescript",
"koa",
"koa2",
"jwt",
"winston",
"boilerplate",
"typeORM",
"class-validator",
"helmet",
"sql",
"api rest",
"heroku",
"cors",
"github actions"
],
"repository": "github:javieraviles/node-typescript-koa-rest",
"devDependencies": {
"@types/cron": "^1.7.2",
"@types/koa": "2.0.49",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-helmet": "^3.1.2",
"@types/koa__router": "^8.0.2",
"@types/koa__cors": "^3.0.1",
"@types/node": "^12.12.6",
"@types/shelljs": "^0.8.7",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"eslint": "^6.8.0",
"nodemon": "^2.0.2",
"shelljs": "^0.8.3",
"ts-node": "^8.8.2",
"typescript": "^3.8.3"
},
"dependencies": {
"@koa/cors": "^3.0.0",
"class-validator": "^0.11.1",
"cron": "^1.8.2",
"dotenv": "^8.2.0",
"koa": "^2.11.0",
"koa-bodyparser": "^4.3.0",
"koa-helmet": "^5.2.0",
"koa-jwt": "^3.6.0",
"@koa/router": "^8.0.8",
"koa-swagger-decorator": "^1.5.16",
"pg": "^7.12.1",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.2.24",
"winston": "^3.2.1"
}
}