File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -25,16 +25,16 @@ module.exports = {
2525 description : 'Serves the current app and watches for changes to restart it'
2626 } ,
2727 /**
28- * Setup's stuff
28+ * Setup of the development environment
2929 */
3030 setup : {
31- db : {
32- script : series (
33- 'nps db.migrate ' ,
34- 'nps db.seed'
35- ) ,
36- description : 'Setup`s the database by migrating and seeding'
37- }
31+ script : series (
32+ 'yarn install' ,
33+ 'nps db.drop ' ,
34+ 'nps db.migrate' ,
35+ 'nps db.seed'
36+ ) ,
37+ description : 'Setup`s the development environment(yarn & database)'
3838 } ,
3939 /**
4040 * Creates the needed configuration files
@@ -267,11 +267,11 @@ function copy(source, target) {
267267}
268268
269269function run ( path ) {
270- return `ts-node ${ path } ` ;
270+ return `ts-node --typeCheck ${ path } ` ;
271271}
272272
273273function runFast ( path ) {
274- return run ( `-F ${ path } `) ;
274+ return `ts-node ${ path } `;
275275}
276276
277277function tslint ( path ) {
You can’t perform that action at this time.
0 commit comments