diff --git a/package.json b/package.json index 931cc9e2..a1f3a7b5 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "react": "^17.0.2", "react-dom": "^17.0.2", "sequelize": "^6.12.5", + "ts-node": "^10.4.0", "typescript-eslint": "^0.0.1-alpha.0" }, "devDependencies": { @@ -59,7 +60,7 @@ "precommit": "lint-staged", "start": "NODE_ENV=production next start", "export": "next export", - "db:seed": "ts-node src/db/seeds/index.ts", + "db:seed": "node_modules/.bin/ts-node src/db/seeds/index.ts", "db:migrate": "npx sequelize-cli db:migrate", "db:migrate:undo": "npx sequelize-cli db:migrate:undo", "db:migrate:create": "npx sequelize migration:create --name"