|
1 | 1 | { |
2 | 2 | "name": "express-typescript-boilerplate", |
3 | | - "version": "1.1.0", |
| 3 | + "version": "1.2.0", |
4 | 4 | "description": "Boilerplate for an restful express-application written in TypeScript.", |
5 | 5 | "main": "src/index.ts", |
6 | 6 | "scripts": { |
|
14 | 14 | "build": "./node_modules/.bin/gulp build", |
15 | 15 | "clean": "./node_modules/.bin/gulp clean", |
16 | 16 | "zip": "./node_modules/.bin/gulp zip", |
17 | | - "docs": "npm run docs:generate && npm run docs:server", |
18 | | - "docs:generate": "./node_modules/.bin/gulp docs", |
19 | | - "docs:server": "./node_modules/.bin/http-server ./docs --cors", |
20 | 17 | "db:migrate": "./node_modules/.bin/knex migrate:latest", |
21 | 18 | "db:migrate:rollback": "./node_modules/.bin/knex migrate:rollback", |
22 | 19 | "db:seed": "./node_modules/.bin/knex seed:run", |
23 | | - "db:clean": "./node_modules/.bin/ts-node ./src/console/CleanDatabaseCommand.ts", |
24 | 20 | "db:refresh": "npm run db:drop && npm run db:migrate", |
25 | 21 | "start": "node src/index.js" |
26 | 22 | }, |
|
57 | 53 | "@types/bookshelf": "^0.8.38", |
58 | 54 | "@types/cors": "^2.8.1", |
59 | 55 | "@types/debug": "0.0.29", |
| 56 | + "@types/dotenv": "^4.0.0", |
60 | 57 | "@types/express": "^4.0.35", |
61 | 58 | "@types/faker": "^4.1.0", |
62 | 59 | "@types/helmet": "0.0.34", |
63 | 60 | "@types/inversify": "^2.0.33", |
64 | 61 | "@types/inversify-express-utils": "^2.0.0", |
| 62 | + "@types/jest": "^19.2.2", |
65 | 63 | "@types/knex": "0.0.47", |
66 | 64 | "@types/lodash": "^4.14.63", |
67 | 65 | "@types/morgan": "^1.7.32", |
|
72 | 70 | "body-parser": "^1.17.1", |
73 | 71 | "bookshelf": "^0.10.3", |
74 | 72 | "bookshelf-camelcase": "^1.1.4", |
| 73 | + "class-validator": "^0.7.0", |
75 | 74 | "compression": "^1.6.2", |
76 | 75 | "cors": "^2.8.1", |
77 | 76 | "debug": "^2.6.0", |
| 77 | + "dotenv": "^4.0.0", |
78 | 78 | "express": "^4.14.0", |
79 | 79 | "faker": "^3.1.0", |
80 | | - "helmet": "^3.4.0", |
81 | | - "inversify": "^4.1.0", |
82 | | - "inversify-express-utils": "^3.5.1", |
83 | | - "knex": "^0.12.7", |
84 | | - "lodash": "^4.17.4", |
85 | | - "morgan": "^1.7.0", |
86 | | - "pg": "^6.1.5", |
87 | | - "reflect-metadata": "^0.1.10", |
88 | | - "request": "^2.81.0", |
89 | | - "serve-favicon": "^2.4.2", |
90 | | - "ts-node": "^2.0.0", |
91 | | - "typescript": "^2.3.2", |
92 | | - "winston": "^2.3.1", |
93 | | - "@types/jest": "^19.2.2", |
94 | 80 | "gulp": "^3.9.1", |
95 | 81 | "gulp-clean": "^0.3.2", |
96 | 82 | "gulp-concat": "^2.6.1", |
|
106 | 92 | "gulp-typedoc": "^2.0.2", |
107 | 93 | "gulp-typescript": "^3.1.4", |
108 | 94 | "gulp-zip": "^3.2.0", |
| 95 | + "helmet": "^3.4.0", |
109 | 96 | "http-server": "^0.9.0", |
| 97 | + "inversify": "^4.1.0", |
| 98 | + "inversify-express-utils": "^3.5.1", |
110 | 99 | "jasmine-spec-reporter": "^4.0.0", |
111 | 100 | "jest": "^19.0.2", |
| 101 | + "knex": "^0.12.7", |
| 102 | + "lodash": "^4.17.4", |
| 103 | + "morgan": "^1.7.0", |
112 | 104 | "nodemon": "^1.11.0", |
113 | 105 | "path": "^0.12.7", |
| 106 | + "pg": "^6.1.5", |
| 107 | + "reflect-metadata": "^0.1.10", |
114 | 108 | "request": "^2.79.0", |
115 | 109 | "require-dir": "^0.3.1", |
116 | 110 | "run-sequence": "^1.2.2", |
| 111 | + "serve-favicon": "^2.4.2", |
117 | 112 | "sqlite3": "^3.1.8", |
118 | 113 | "ts-jest": "^19.0.11", |
| 114 | + "ts-node": "^2.0.0", |
119 | 115 | "tslint": "^4.3.1", |
120 | | - "typedoc": "^0.5.5", |
121 | 116 | "typescript": "^2.2.1", |
122 | | - "typings": "^2.1.0" |
| 117 | + "typings": "^2.1.0", |
| 118 | + "winston": "^2.3.1" |
123 | 119 | }, |
124 | 120 | "jest": { |
125 | 121 | "transform": { |
|
0 commit comments