fix tests, add golden command (#4486)

Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
Jeremy Letto 2021-11-26 15:55:12 -06:00 committed by GitHub
parent 6ce346af4a
commit 6dc9f004ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 481 additions and 272 deletions

View file

@ -33,10 +33,12 @@
"postinstall:default": "./copy_shared_files.sh",
"start": "cross-env ESLINT_NO_DEV_ERRORS=true react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"test": "cross-env CI=true react-scripts test",
"test:watch": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint \"./**/*.{ts,tsx}\"",
"lint:fix": "eslint \"./**/*.{ts,tsx}\" --fix"
"lint:fix": "eslint \"./**/*.{ts,tsx}\" --fix",
"golden": "npm run lint && npm run test"
},
"eslintConfig": {
"extends": "react-app"