Skip to content

Commit

Permalink
update npm command
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Apr 15, 2024
1 parent 38611ae commit 4c7e73f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
- name: Build Intl polyfills
run: npm run build:intl-polyfills
- name: Check types
run: npm run types
run: npm run lint:types
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"test": "jest",
"lint:prettier": "prettier \"src/**/*.{js,ts,jsx,tsx}\" --check",
"lint:eslint": "eslint . --ext .js,.jsx,.ts,.tsx --cache --ignore-path .gitignore",
"lint": "npm run lint:prettier && npm run lint:eslint",
"lint:types": "tsc --noEmit",
"lint": "npm run lint:prettier && npm run lint:eslint && npm run lint:types",
"postinstall": "patch-package",
"prepare": "husky install",
"format": "prettier \"src/**/*.{js,ts,jsx,tsx}\" --write",
"deep-clean": "./scripts/deep-clean.sh",
"build:translations": "node ./scripts/build-translations.js ",
"build:intl-polyfills": "node ./scripts/build-intl-polyfills.mjs",
"extract-messages": "formatjs extract 'src/frontend/**/*.{ts,tsx}' --ignore='**/*.d.ts' --format crowdin --out-file ./messages/en.json",
"types": "tsc --noEmit"
"extract-messages": "formatjs extract 'src/frontend/**/*.{ts,tsx}' --ignore='**/*.d.ts' --format crowdin --out-file ./messages/en.json"
},
"dependencies": {
"@bam.tech/react-native-image-resizer": "^3.0.7",
Expand Down
2 changes: 1 addition & 1 deletion src/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"main": "index.js",
"scripts": {
"build": "node ./scripts/bundle-backend.mjs --entry=index.js --output=index.bundle.js",
"types": "tsc --noEmit",
"lint:types": "tsc --noEmit",
"postinstall": "patch-package"
},
"author": "Digital Democracy",
Expand Down

0 comments on commit 4c7e73f

Please sign in to comment.