Skip to content

Commit

Permalink
build: improve dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilhermeasper committed Apr 28, 2024
1 parent d8db5e8 commit eaec513
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
7 changes: 6 additions & 1 deletion nodemon.json
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{}
{
"watch": ["src"],
"ext": ".ts,.js",
"ignore": [],
"exec": "npm run dev"
}
8 changes: 4 additions & 4 deletions package-lock.json

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

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"axios": "^1.4.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"crypto-js": "^4.1.1",
"crypto-js": "^4.2.0",
"date-fns": "^2.30.0",
"dotenv": "^16.3.1",
"eslint": "^8.47.0",
Expand All @@ -31,9 +31,8 @@
"typescript": "5.1.6"
},
"scripts": {
"build": "npm run tsc",
"tsc": "tsc -p tsconfig.json",
"dev": "tsc --watch & NODE_ENV=development nodemon dist",
"build": "tsc -p tsconfig.json",
"dev": "npm run build && npm run start",
"test": "tsc && ./node_modules/.bin/mocha dist/**/*.spec.js",
"lint": "tslint 'src/**/*.ts' --fix",
"clean": "rm -rf dist/ .logs/",
Expand Down

0 comments on commit eaec513

Please sign in to comment.