diff --git a/frontend/.gitignore b/frontend/.gitignore new file mode 100644 index 00000000..bc67f550 --- /dev/null +++ b/frontend/.gitignore @@ -0,0 +1,7 @@ +node_modules/ +build/ +dist/ +.eslintcache +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/frontend/package.json b/frontend/package.json index 2f285e2b..94fd44d3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,8 +10,9 @@ "papaparse": "^5.4.1" }, "scripts": { + "postinstall": "chmod +x ./node_modules/.bin/react-scripts || true", "start": "react-scripts start", - "build": "react-scripts build" + "build": "node ./node_modules/react-scripts/bin/react-scripts.js build" }, "proxy": "http://localhost:5000", "browserslist": {