File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 4
4
"description" : " A delightful way to building a RESTful API with NodeJs & TypeScript" ,
5
5
"main" : " src/app.ts" ,
6
6
"engines" : {
7
- "node" : " 8.2 .1"
7
+ "node" : " >= 6.9 .1"
8
8
},
9
9
"scripts" : {
10
10
"start" : " node dist/app.js" ,
85
85
"helmet" : " ^3.9.0" ,
86
86
"inquirer" : " ^3.3.0" ,
87
87
"inversify" : " ^4.5.0" ,
88
- "inversify-express-utils" : " ^4.1.0 " ,
88
+ "inversify-express-utils" : " ^4.2.2 " ,
89
89
"jsonwebtoken" : " ^8.1.0" ,
90
90
"knex" : " ^0.13.0" ,
91
91
"lodash" : " ^4.17.4" ,
Original file line number Diff line number Diff line change
1
+ import 'reflect-metadata';
1
2
import * as Knex from 'knex';
2
3
3
4
import { Factory } from '../factories';
Original file line number Diff line number Diff line change
1
+ import 'reflect-metadata' ;
1
2
import * as Knex from 'knex' ;
2
3
3
4
import { Factory } from '../factories' ;
4
5
import { User } from '../../api/models/User' ;
5
6
6
-
7
7
exports . seed = async ( db : Knex ) => {
8
8
const factory = Factory . getInstance ( ) ;
9
9
await factory . get ( User )
Original file line number Diff line number Diff line change @@ -2309,7 +2309,7 @@ invariant@^2.2.2:
2309
2309
dependencies :
2310
2310
loose-envify "^1.0.0"
2311
2311
2312
- inversify-express-utils@^4.1.0 :
2312
+ inversify-express-utils@^4.2.2 :
2313
2313
version "4.2.2"
2314
2314
resolved "https://registry.yarnpkg.com/inversify-express-utils/-/inversify-express-utils-4.2.2.tgz#dd0a733cfdc7250a09132f7e694afd928ede6583"
2315
2315
dependencies :
You can’t perform that action at this time.
0 commit comments