|
|
@@ -3,10 +3,10 @@
|
|
|
"private": true,
|
|
|
"scripts": {
|
|
|
"coverage": "yarn test -- --coverage",
|
|
|
- "eslint:fix": "yarn eslint app/javascript/packs spec/javascript --ext js,jsx --fix",
|
|
|
- "lint": "yarn eslint app/javascript/packs spec/javascript --ext js,jsx",
|
|
|
+ "eslint:fix": "yarn eslint app/javascript/packs spec/javascript --ext js,jsx,ts,tsx --fix",
|
|
|
+ "lint": "yarn eslint app/javascript/packs spec/javascript --ext js,jsx,ts,tsx",
|
|
|
"lint:fix": "yarn prettier:fix && yarn eslint:fix",
|
|
|
- "prettier:fix": "yarn prettier \"app/javascript/**/*.js{,x}\" \"spec/javascript\" \".prettierrc.js\" \".eslintrc.js\" --write",
|
|
|
+ "prettier:fix": "yarn prettier \"app/javascript/**/*.{j,t}s{,x}\" \"spec/javascript\" \".prettierrc.js\" \".eslintrc.js\" --write",
|
|
|
"test": "jest --verbose false",
|
|
|
"test:update_snapshots": "jest --updateSnapshot",
|
|
|
"test:watch": "jest --watchAll"
|