Skip to content

Commit 936aff6

Browse files
committed
feat: lintfix and better deploy
1 parent 3df49a1 commit 936aff6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,13 @@
5959
},
6060
"scripts": {
6161
"start": "react-scripts start",
62-
"build": "react-scripts build && cp utils/view-bundle.sh build/",
62+
"build": "PUBLIC_URL=/fleet-debugger react-scripts build",
63+
"internal": "npm run build && rsync -avzhe ssh --progress --delete --inplace ./build/ ${CLOUDTOP}:${CLOUDPATH}",
6364
"test": "react-scripts test",
6465
"eject": "react-scripts eject",
6566
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
6667
"lint": "cross-env NODE_ENV=development eslint src --ext .js,.jsx,.ts,.tsx",
68+
"lintfix": "cross-env NODE_ENV=development eslint src --ext .js,.jsx,.ts,.tsx --fix",
6769
"docs": "echo NOT IMPLEMENTED"
6870
},
6971
"eslintConfig": {

0 commit comments

Comments
 (0)