-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
102 lines (99 loc) · 4.6 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "tiny-translator",
"description": "A tiny web application to translate xliff files",
"version": "0.12.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"start-failtests": "ng serve --env=failtests",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"extract-i18n": "ng xi18n --output-path src/i18n --locale en && xliffmerge --profile xliffmerge.json en de fr-google ru-google",
"start-en": "ng serve --aot --i18n-file=src/i18n/messages.en.xlf --locale=en --i18n-format=xlf",
"start-de": "ng serve --aot --i18n-file=src/i18n/messages.de.xlf --locale=en --i18n-format=xlf",
"start-fr": "ng serve --aot --i18n-file=src/i18n/messages.fr-google.xlf --locale=fr --i18n-format=xlf",
"start-ru": "ng serve --aot --i18n-file=src/i18n/messages.ru-google.xlf --locale=ru --i18n-format=xlf",
"serve-prod-ngsw": "npm run build-prod-en && http-server dist/en -p 8080",
"serve-prod": "http-server buildtest -p 8080",
"build-prod": "npm run build-prod-en && npm run build-prod-de && npm run build-prod-fr && npm run build-prod-ru && cpx ./src/ghpages/* ./dist",
"build-prod-en": "cross-env-shell LANG=\"en\" XLFFILE=\"src/i18n/messages.en.xlf\" npm run build-prod-lang",
"build-prod-de": "cross-env-shell LANG=\"de\" XLFFILE=\"src/i18n/messages.de.xlf\" npm run build-prod-lang",
"build-prod-fr": "cross-env-shell LANG=\"fr\" XLFFILE=\"src/i18n/messages.fr-google.xlf\" npm run build-prod-lang",
"build-prod-ru": "cross-env-shell LANG=\"ru\" XLFFILE=\"src/i18n/messages.ru-google.xlf\" npm run build-prod-lang",
"prebuild-prod-lang": "cross-env-shell replace %BASE_HREF% /tiny-translator/$LANG/ src/environments/environment.prod.ts",
"ngsw-config-lang": "cross-env-shell ngsw-config dist/$LANG src/ngsw-config.json /tiny-translator/$LANG",
"ngsw-copy-lang": "cross-env-shell cpx node_modules/@angular/service-worker/ngsw-worker.js dist/$LANG/ && cross-env-shell replace /ngsw.json /tiny-translator/$LANG/ngsw.json dist/$LANG/ngsw-worker.js",
"build-prod-lang": "cross-env-shell ng build --prod --aot --i18n-file=$XLFFILE --locale=$LANG --i18n-format=xlf --base-href=/tiny-translator/$LANG/ --output-path=dist/$LANG && cross-env-shell npm run ngsw-config-lang && cross-env-shell npm run ngsw-copy-lang",
"postbuild-prod-lang": "cross-env-shell replace /tiny-translator/$LANG/ %BASE_HREF% src/environments/environment.prod.ts",
"publish2githubpages": "angular-cli-ghpages --no-silent",
"dockerbuild": "docker build -t tiny-translator:0.5 .",
"publish2dockerhub": "docker push $DOCKER_ID_USER/tiny-translator:0.5",
"echox": "cross-env-shell X=\"aValue\" Y=\"anotherValue\" npm run echo",
"echo": "cross-env-shell echo lmaa $X $Y && cross-env-shell echo lmaa2 $Y $X"
},
"repository": {
"type": "git",
"url": "git+https://github.com/martinroob/tiny-translator.git"
},
"keywords": [
"i18n",
"tooling",
"angular",
"xliff"
],
"author": "Martin Roob <[email protected]> (www.roobsoft.de)",
"license": "MIT",
"bugs": {
"url": "https://github.com/martinroob/tiny-translator/issues"
},
"homepage": "https://github.com/martinroob/tiny-translator#readme",
"dependencies": {
"@angular/animations": "^5.0.3",
"@angular/cdk": "^5.0.0-rc.2",
"@angular/common": "^5.0.3",
"@angular/compiler": "^5.0.3",
"@angular/core": "^5.0.3",
"@angular/flex-layout": "^2.0.0-beta.10-4905443",
"@angular/forms": "^5.0.3",
"@angular/http": "^5.0.3",
"@angular/material": "^5.0.0-rc.2",
"@angular/platform-browser": "^5.0.3",
"@angular/platform-browser-dynamic": "^5.0.3",
"@angular/router": "^5.0.3",
"@angular/service-worker": "^5.0.3",
"core-js": "^2.4.1",
"file-saver": "^1.3.3",
"flag-icon-css": "^2.8.0",
"hammerjs": "^2.0.8",
"ngx-i18nsupport-lib": "^1.6.1",
"rxjs": "^5.5.2",
"zone.js": "^0.8.14"
},
"devDependencies": {
"@angular/cli": "^1.5.4",
"@angular/compiler-cli": "^5.0.3",
"@angular/language-service": "^5.0.3",
"@types/jasmine": "~2.5.53",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60",
"codelyzer": "^4.0.1",
"cpx": "^1.5.0",
"cross-env": "^5.1.1",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0",
"karma-chrome-launcher": "~2.1.1",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"ngx-i18nsupport": "^0.8.4",
"protractor": "~5.1.2",
"replace": "^0.3.0",
"ts-node": "~3.2.0",
"tslint": "^5.8.0",
"typescript": "2.4"
}
}