comparison client/package.json @ 1802:70573eea890e

improve Translation process : improve package.json and update the documentation * update vue-gettext dependency * add script to automate the `make translations` process via yarn serve/build * delete run:both, it misses the step in serve/build * update the Documention according to the last changes
author Fadi Abbud <fadi.abbud@intevation.de>
date Tue, 15 Jan 2019 09:50:59 +0100
parents 89b38d7e7b6a
children 26e660537d8b 9a2fbeaabd52
comparison
equal deleted inserted replaced
1801:11669276e197 1802:70573eea890e
6 "type": "hg", 6 "type": "hg",
7 "url": "https://hg.intevation.de/gemma" 7 "url": "https://hg.intevation.de/gemma"
8 }, 8 },
9 "private": true, 9 "private": true,
10 "scripts": { 10 "scripts": {
11 "run:both": "concurrently \"../cmd/gemma/gemma\" \"vue-cli-service serve\"", 11 "serve": "make translations && VUE_APP_HGREV=$(hg log -r . --template \"{data|shortdate}-{node|short}\") vue-cli-service serve",
12 "serve": "VUE_APP_HGREV=$(hg log -r . --template \"{data|shortdate}-{node|short}\") vue-cli-service serve", 12 "build": "make translations && VUE_APP_HGREV=$(hg log -r . --template \"{data|shortdate}-{node|short}\") vue-cli-service build",
13 "build": "VUE_APP_HGREV=$(hg log -r . --template \"{data|shortdate}-{node|short}\") vue-cli-service build",
14 "analyze": "ANALYZE=true vue-cli-service serve", 13 "analyze": "ANALYZE=true vue-cli-service serve",
15 "lint": "vue-cli-service lint", 14 "lint": "vue-cli-service lint",
16 "test:unit": "vue-cli-service test:unit", 15 "test:unit": "vue-cli-service test:unit",
17 "test:e2e": "vue-cli-service test:e2e" 16 "test:e2e": "vue-cli-service test:e2e"
18 }, 17 },
63 "copy-webpack-plugin": "^4.6.0", 62 "copy-webpack-plugin": "^4.6.0",
64 "easygettext": "^2.7.0", 63 "easygettext": "^2.7.0",
65 "node-sass": "^4.10.0", 64 "node-sass": "^4.10.0",
66 "pretty-quick": "^1.8.0", 65 "pretty-quick": "^1.8.0",
67 "sass-loader": "^7.0.1", 66 "sass-loader": "^7.0.1",
68 "vue-gettext": "^2.1.1", 67 "vue-gettext": "^2.1.2",
69 "vue-template-compiler": "^2.5.17", 68 "vue-template-compiler": "^2.5.17",
70 "webpack-bundle-analyzer": "^3.0.3" 69 "webpack-bundle-analyzer": "^3.0.3"
71 }, 70 },
72 "browserslist": [ 71 "browserslist": [
73 "> 1%", 72 "> 1%",