Skip to content

Commit

Permalink
env: add script to create .env from sample
Browse files Browse the repository at this point in the history
  • Loading branch information
MomenNano committed Aug 2, 2022
1 parent 3298974 commit b3ecd1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Fastify API Template. Written with TypeScript.",
"main": "index.js",
"scripts": {
"create:env": "node -r fs -e \"fs.copyFileSync('.env.sample', '.env', fs.constants.COPYFILE_EXCL)\"",
"lint": "ts-standard | snazzy",
"lint:fix": "standard --fix",
"test:unit": "npm run build && jest --testPathPattern=dist/",
Expand Down

0 comments on commit b3ecd1c

Please sign in to comment.