added lint & standalone as targets

This commit is contained in:
proddy
2021-05-14 12:45:49 +02:00
parent 42a362196e
commit 15df0c0552
2 changed files with 90 additions and 2 deletions

View File

@@ -35,10 +35,12 @@
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"format": "prettier --write '**/*.{ts,js,css,json,md}'",
"format": "prettier --write '**/*.{ts,tsx,js,css,json,md}'",
"build-hosted": "env-cmd -f .env.hosted npm run build",
"build-localhost": "PUBLIC_URL=/ react-app-rewired build",
"mock-api": "nodemon --watch ../mock-api ../mock-api/server.js"
"mock-api": "nodemon --watch ../mock-api ../mock-api/server.js",
"standalone": "npm-run-all -p start mock-api",
"lint": "eslint . --ext .ts,.tsx"
},
"eslintConfig": {
"extends": "react-app"
@@ -57,6 +59,8 @@
},
"devDependencies": {
"concurrently": "^6.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"http-proxy-middleware": "^1.1.1",
"nodemon": "^2.0.7",
"npm-run-all": "^4.1.5",