Scripts: add weblate script again
This commit is contained in:
parent
f63f886ea5
commit
59443c0cf0
1 changed files with 3 additions and 1 deletions
|
@ -73,7 +73,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"init": "npm ci && npm run prep:layeroverview && npm run generate && npm run download:editor-layer-index && npm run generate:layouts && npm run clean && npm run weblate:add-upstream",
|
"init": "npm ci && npm run prep:layeroverview && npm run generate && npm run download:editor-layer-index && npm run generate:layouts && npm run clean",
|
||||||
"start": "npm run generate:layeroverview && npm run strt",
|
"start": "npm run generate:layeroverview && npm run strt",
|
||||||
"strt": "vite --host | sed 's/localhost:/127.0.0.1:/g'",
|
"strt": "vite --host | sed 's/localhost:/127.0.0.1:/g'",
|
||||||
"build": "./scripts/build.sh",
|
"build": "./scripts/build.sh",
|
||||||
|
@ -114,6 +114,8 @@
|
||||||
"download:editor-layer-index": "vite-node scripts/downloadEli.ts",
|
"download:editor-layer-index": "vite-node scripts/downloadEli.ts",
|
||||||
"download:stats": "vite-node scripts/GenerateSeries.ts",
|
"download:stats": "vite-node scripts/GenerateSeries.ts",
|
||||||
"download:images": "vite-node scripts/generateImageAnalysis.ts -- ~/data/imgur-image-backup/",
|
"download:images": "vite-node scripts/generateImageAnalysis.ts -- ~/data/imgur-image-backup/",
|
||||||
|
"weblate:add-upstream": "git remote add weblate https://translate.mapcomplete.org/git/mapcomplete/core/ ; git remote update weblate",
|
||||||
|
"weblate:fix": "npm run weblate:add-upstream && git merge weblate/master && git rebase origin/master && git push origin master",
|
||||||
"lint": "npm run lint:prettier && npm run lint:eslint && npm run lint:themes",
|
"lint": "npm run lint:prettier && npm run lint:eslint && npm run lint:themes",
|
||||||
"lint:eslint": "eslint ./src",
|
"lint:eslint": "eslint ./src",
|
||||||
"lint:prettier": "prettier --check '**/*.ts' '**/*.svelte'",
|
"lint:prettier": "prettier --check '**/*.ts' '**/*.svelte'",
|
||||||
|
|
Loading…
Reference in a new issue