mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 08:23:35 +00:00
Speed up npm run test with eslint/tsc caching
Ignore .agents skill bundles from eslint (template files not part of the build), enable eslint --cache and tsc --incremental so warm re-runs skip unchanged files.
This commit is contained in:
4 files changed
+8
-2
No files matched your search
+1
-1
@@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"dev": "npm i --silent && vite",
|
||||
"build": "npm i --silent && vite build -l error && cp dist/index.html dist/404.html && echo 'Project built successfully!'",
|
||||
"test": "npm i --silent && tsc --noEmit && eslint && vitest run --reporter=dot --silent && vite build -l error && cp dist/index.html dist/404.html && echo 'All tests passed!'"
|
||||
"test": "npm i --silent && tsc --noEmit && eslint --cache && vitest run --reporter=dot --silent && vite build -l error && cp dist/index.html dist/404.html && echo 'All tests passed!'"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nostrify/nostrify": "^0.52.0",
|
||||
|
||||
Reference in new issue
Block a user