|
@@ -18,12 +18,15 @@
|
|
|
"scripts": {
|
|
|
"start": "react-scripts start",
|
|
|
"build": "react-scripts build",
|
|
|
- "format": "prettier --write src/",
|
|
|
+ "format": "prettier --check src/",
|
|
|
+ "format:fix": "prettier --write src/",
|
|
|
"lint": "eslint --report-unused-disable-directives 'src/**/*.js{,x}'",
|
|
|
"lint:fix": "yarn lint --fix",
|
|
|
- "fix": "yarn format && yarn lint:fix",
|
|
|
+ "check": "yarn format && yarn lint",
|
|
|
+ "fix": "yarn format:fix && yarn lint:fix",
|
|
|
"test": "react-scripts test",
|
|
|
"test:ci": "CI=true yarn test",
|
|
|
+ "test:u": "yarn test -u --watchAll=false",
|
|
|
"test:cov": "yarn test --coverage --watchAll=false",
|
|
|
"eject": "react-scripts eject",
|
|
|
"deploy": "scp -r build hiram:/opt/terrassumptions/srv/build-$(date +'%Y-%m-%dT%H:%M:%S')"
|