Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fixed linting scripts

Blue Mouse373ae8ce2f95
diff --git a/package.json b/package.json
index 4945dc4d6..85569a190 100644
--- a/package.json
+++ b/package.json
@@ -12,14 +12,14 @@
"build": "nest build production && mv apps/production/dist dist",
"build:selfhosted": "npm run prebuild && nest build selfhosted && mv apps/selfhosted/dist dist && npm run postbuild",
"postbuild": "cp .env dist/.env",
- "format": "prettier --write \"apps/**/*.ts\" \"test/**/*.ts\"",
+ "format": "prettier --write \"apps/selfhosted/src/**/*.ts\" \"apps/production/src/**/*.ts\" \"test/**/*.ts\"",
"start": "cross-env NODE_ENV=development nest start",
"start:dev": "cross-env NODE_ENV=development nest start --watch",
"start:selfhosted": "cross-env NODE_ENV=development nest start selfhosted --watch",
"start:debug": "cross-env NODE_ENV=development nest start --debug --watch",
"start:prod": "cross-env NODE_ENV=production node dist/main",
- "lint": "eslint \"{apps,test}/**/*.ts\"",
- "lint:fix": "eslint \"{apps,test}/**/*.ts\" --fix",
+ "lint": "eslint \"{apps/production/src,apps/selfhosted/src}/**/*.ts\"",
+ "lint:fix": "eslint \"{apps/production/src,apps/selfhosted/src}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",