Skip to content

Commit aac3b33

Browse files
author
hirsch88
committed
Fix nps db.seed task
1 parent b712c20 commit aac3b33

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package-scripts.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,30 +49,30 @@ module.exports = {
4949
migrate: {
5050
script: series(
5151
'nps banner.migrate',
52-
'nps migrate.config',
52+
'nps db.config',
5353
runFast('./node_modules/.bin/typeorm migrations:run'),
5454
),
5555
},
5656
revert: {
5757
script: series(
5858
'nps banner.revert',
59-
'nps migrate.config',
59+
'nps db.config',
6060
runFast('./node_modules/.bin/typeorm migrations:revert'),
6161
),
6262
},
6363
seed: {
6464
script: series(
6565
'nps banner.seed',
66-
'nps migrate.config',
67-
runFast('./src/lib/seeds.ts'),
66+
'nps db.config',
67+
runFast('./src/lib/seeds/'),
6868
),
6969
},
7070
config: {
7171
script: runFast('./src/lib/ormconfig.ts'),
7272
},
7373
drop: {
74-
script: runFast('./node_modules/.bin/typeorm schema:drop')
75-
}
74+
script: runFast('./node_modules/.bin/typeorm schema:drop'),
75+
},
7676
},
7777
/**
7878
* These run various kinds of tests. Default is unit.

0 commit comments

Comments
 (0)