Skip to content

Commit

Permalink
chore: add lint and format aliases to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Dec 4, 2023
1 parent d7f86b4 commit 96e9427
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
},
"scripts": {
"generate-types": "graphql-codegen",
"lint-js": "eslint ./ --ext .ts --ext .tsx --max-warnings 0 --ignore-path .gitignore",
"format-js": "npm run lint-js -- --fix",
"lint": "eslint ./ --ext .ts --ext .tsx --max-warnings 0 --ignore-path .gitignore",
"lint-js": "npm run lint",
"format": "npm run lint -- --fix",
"format-js": "npm run format",
"check-ts": "npm run generate-types && tsc --noEmit --emitDeclarationOnly false",
"check-modules": "depcheck",
"build": "npm run generate-types && tsc && babel src --extensions \".ts,.tsx\" --out-dir dist && cp -r README.md package.json src dist/",
Expand Down

0 comments on commit 96e9427

Please sign in to comment.