Skip to content

Commit 650fa71

Browse files
committed
update knex and bookshelf and run migrations before tests
1 parent c4fa51e commit 650fa71

File tree

2 files changed

+731
-135
lines changed

2 files changed

+731
-135
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"test": "./node_modules/.bin/jest -b --runInBand",
88
"build": "./node_modules/.bin/babel src/index.js > index.js",
9-
"pretest": "npm run-script build",
9+
"pretest": "npm run-script build && knex migrate:latest",
1010
"prepare": "npm run-script build"
1111
},
1212
"repository": {
@@ -32,12 +32,12 @@
3232
"babel-polyfill": "^6.7.4",
3333
"babel-preset-es2015": "^6.6.0",
3434
"babel-preset-stage-0": "^6.5.0",
35-
"bookshelf": "^0.12.0",
35+
"bookshelf": "^0.14.2",
3636
"co": "^4.6.0",
3737
"graphql": "^0.11.0",
3838
"graphql-relay": "^0.5.1",
3939
"jest-cli": "^21.1.0",
40-
"knex": "0.14.1",
40+
"knex": "^0.16.3",
4141
"regenerator-runtime": "^0.11.0",
4242
"sqlite3": "^4.0.6"
4343
},

0 commit comments

Comments
 (0)