Updated lint and build commands

This commit is contained in:
Jonathan Barrow
2023-04-27 14:35:27 -04:00
parent 55ee3ce18b
commit 2de196a649

View File

@@ -4,8 +4,8 @@
"description": "",
"main": "./dist/server.js",
"scripts": {
"lint": "./node_modules/.bin/eslint .",
"build": "npm run clean && tsc && tsc-alias && npm run copy-static",
"lint": "npx eslint .",
"build": "npm run lint && npm run clean && tsc && tsc-alias && npm run copy-static",
"clean": "rm -rf ./dist",
"copy-static": "npm run copy-assets && npm run copy-timezones",
"copy-assets": "cp -r ./src/assets ./dist/assets",