-
Notifications
You must be signed in to change notification settings - Fork 173
/
Copy pathpackage.json
92 lines (92 loc) · 2.85 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "node-typescript-koa-rest",
"version": "1.8.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 --ignore tests/ --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 --headless -u 50 -r 10 -t 60s -f loadtests/locustfile.py --host=https://node-typescript-koa-rest.herokuapp.com",
"test": "jest",
"test:coverage": "jest --collect-coverage",
"test:watch": "jest --watch"
},
"engines": {
"node": "14.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/jest": "^26.0.22",
"@types/koa": "2.13.1",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-helmet": "^6.0.2",
"@types/koa__router": "^8.0.4",
"@types/koa__cors": "^3.0.2",
"@types/node": "^14.14.37",
"@types/shelljs": "^0.8.8",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"eslint": "^7.23.0",
"jest": "^26.6.3",
"nodemon": "^2.0.7",
"shelljs": "^0.8.4",
"ts-jest": "^26.5.4",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
},
"dependencies": {
"@koa/cors": "^3.1.0",
"class-validator": "^0.13.1",
"cron": "^1.8.2",
"dotenv": "^8.2.0",
"koa": "^2.13.1",
"koa-bodyparser": "^4.3.0",
"koa-helmet": "^6.1.0",
"koa-jwt": "^4.0.0",
"@koa/router": "^10.0.0",
"koa-swagger-decorator": "^1.6.4",
"pg": "^8.5.1",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.2.32",
"winston": "^3.3.3"
},
"jest": {
"roots": [
"<rootDir>"
],
"testMatch": [
"**/tests/**/*.+(ts|tsx|js)"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
}
}
}