fix(seed): Show debug logs on seed command

This commit is contained in:
Bouncey
2018-10-12 10:53:06 +01:00
committed by mrugesh mohapatra
parent fc72dde582
commit 162e25143e
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
"ensure-env": "cross-env DEBUG=fcc:* node ./tools/scripts/ensure-env.js", "ensure-env": "cross-env DEBUG=fcc:* node ./tools/scripts/ensure-env.js",
"lint": "echo 'Warning: TODO - Define Linting.'", "lint": "echo 'Warning: TODO - Define Linting.'",
"pretest-ci": "npm-run-all -s lint bootstrap", "pretest-ci": "npm-run-all -s lint bootstrap",
"seed": "node tools/scripts/seed/seedChallenges", "seed": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedChallenges",
"test": "npm-run-all -p test:*", "test": "npm-run-all -p test:*",
"test-ci": "npm test", "test-ci": "npm test",
"test:client": "cd ./client && npm test && cd ../", "test:client": "cd ./client && npm test && cd ../",

View File

@ -2,7 +2,7 @@
"name": "@freecodecamp/database-seeding", "name": "@freecodecamp/database-seeding",
"version": "0.0.1", "version": "0.0.1",
"description": "A script to seed challenges in to the database", "description": "A script to seed challenges in to the database",
"main": "index.js", "main": "seedChallenges.js",
"scripts": { "scripts": {
"test": "jest" "test": "jest"
}, },