mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-09 18:05:09 +00:00
Adding generate translations to pnpm dev task. (#2410)
This commit is contained in:
parent
9aa1e06ae3
commit
0894c77b6c
|
@ -9,7 +9,7 @@
|
||||||
"build:dev": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=development",
|
"build:dev": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=development",
|
||||||
"build:prod": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=production",
|
"build:prod": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=production",
|
||||||
"clean": "pnpm rimraf dist",
|
"clean": "pnpm rimraf dist",
|
||||||
"dev": "pnpm build:dev --watch",
|
"dev": "node generate_translations.js && pnpm build:dev --watch",
|
||||||
"lint": "pnpm translations:generate && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
|
"lint": "pnpm translations:generate && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
|
||||||
"prebuild:dev": "pnpm clean && node generate_translations.js",
|
"prebuild:dev": "pnpm clean && node generate_translations.js",
|
||||||
"prebuild:prod": "pnpm clean && node generate_translations.js",
|
"prebuild:prod": "pnpm clean && node generate_translations.js",
|
||||||
|
|
Loading…
Reference in a new issue