mirror of
https://github.com/nx-bat/discordbot-ng.git
synced 2026-09-22 10:29:10 -04:00
[CI] Create lint-and-build action. (#14)
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
"scripts": {
|
||||
"dev": "tsx watch --enable-source-maps src/index.ts",
|
||||
"start": "node dist/index.js",
|
||||
"lint": "npx eslint .",
|
||||
"typecheck": "npx tsc --noEmit",
|
||||
"build": "npm run clean && node scripts/build.js && npm run copyfiles",
|
||||
"clean": "rimraf dist",
|
||||
"copyfiles": "copyfiles -u 1 \"./src/**/*.html\" ./dist",
|
||||
|
||||
Reference in New Issue
Block a user