Update package.json
Add additional scripts and packages to the package.json file.
"build": "node ./scripts/build.js",
"test": "react-scripts test",
"eject": "react-scripts eject",
+ "format": "prettier --write \"**/*.+(js|jsx|json|css|scss|md)\"",
"lint": "eslint .",
"add-to-canopy": "mkdir -p ../../sapling-dev-server/product && cp -r ./build/static/* ../../sapling-dev-server/product",
- "deploy": "npm run build && npm run add-to-canopy"
+ "deploy": "npm run build && npm run add-to-canopy",
+ "watch": "nodemon --ext js,scss,ts,css --watch src --exec npm run deploy"
},
"eslintConfig": {
"extends": "react-app"
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
+ "classnames": "^2.2.6",
+ "lodash": "^4.17.15",
+ "papaparse": "^5.1.1",
"prop-types": "^15.7.2",
"react": "^16.13.0",
"react-dom": "^16.13.0",
