Skip to content

Commit

Permalink
chore: install dotenv-cli and cross-env
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhiz committed May 1, 2023
1 parent 8c79ed4 commit 525ae5e
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 2 deletions.
56 changes: 56 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"postinstall": "husky install",
"lint": "eslint src --max-warnings=0",
"typecheck": "tsc --project tsconfig.json --noEmit",
"test:load-envs": "dotenv -e .env.test",
"dev:load-envs": "dotenv -e .env.development",
"test:load-envs": "dotenv -e envs/.env.test",
"dev:load-envs": "dotenv -e envs/.env.development",
"test": "cross-env NODE_ENV=test jest --runInBand",
"test:watch": "cross-env NODE_ENV=test jest --watch --runInBand",
"test:coverage": "cross-env NODE_ENV=test jest --runInBand --coverage --collectCoverageFrom='./src/**'",
Expand All @@ -28,6 +28,9 @@
"pre-commit": "lint-staged"
}
},
"prisma": {
"seed": "npm run dev:load-envs -- tsx prisma/seed.ts"
},
"lint-staged": {
"src/**/*": [
"npm run lint -- --fix"
Expand Down Expand Up @@ -66,7 +69,9 @@
"@typescript-eslint/parser": "^5.57.1",
"chalk": "^5.2.0",
"commitizen": "^4.3.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"dotenv-cli": "^7.2.1",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import-helpers": "^1.3.1",
Expand Down

0 comments on commit 525ae5e

Please sign in to comment.