package.json 10.8 KB
Newer Older
vitam-prg's avatar
vitam-prg committed
1
{
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
2
3
4
  "name": "vitamui-ui",
  "version": "5.4.0-SNAPSHOT",
  "license": "MIT",
5
6
7
8
  "pki": {
    "path": "../../dev-deployment/environments/certs/server/hosts/localhost",
    "asset": "reverse"
  },
vitam-prg's avatar
vitam-prg committed
9
10
  "scripts": {
    "ng": "ng",
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
11
    "ng-high-memory": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng",
12
13
    "start": "ng serve --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
    "start:en": "ng serve --proxy-config proxy.conf.json  --configuration=en --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
14
15
16
17
18
19
20
    "start:demo": "ng serve demo --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
    "start:portal": "ng serve portal --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
    "start:starter-kit": "ng serve --proxy-config proxy.conf.json starter-kit --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
    "start:starter-kit-mocked-server": "ng serve --port 5000 --proxy-config proxy-mock.conf.json starter-kit",
    "json-server": "json-server --watch projects/starter-kit/mock-api/_db.js --config projects/starter-kit/mock-api/config.json --routes projects/starter-kit/mock-api/routes.json ",
    "mock-starter-kit": "concurrently 'npm run json-server' 'npm run start:starter-kit-mocked-server'",
    "start:identity": "ng serve identity --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
naji's avatar
naji committed
21
    "start:pastis": "ng serve pastis --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
22
23
24
25
    "start:referential": "ng serve referential --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
    "start:ingest": "ng serve ingest --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
    "start:archive-search": "ng serve archive-search --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
    "build": "ng build --prod --i18n-locale fr --build-optimizer=false --optimization=false",
26
    "postinstall": "ngcc",
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
27
28
29
30
    "build:prod": "export NODE_OPTIONS=--max_old_space_size=8192; ng build --prod --output-path ../../../target/www",
    "build:dev": "ng build --prod --i18n-locale fr --build-optimizer=false --optimization=false",
    "build:fr": "ng build --prod --i18n-locale fr --output-path ../../../target/www/fr",
    "build:en": "ng build --prod --i18n-file src/locale/messages.en.xlf --i18n-format xlf --i18n-locale en --output-path ../../../target/www/en",
vitam-prg's avatar
vitam-prg committed
31
    "build:all": "npm run build:fr && npm run build:en",
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
32
33
34
35
36
37
    "build:demo": "ng build demo --prod --i18n-locale fr",
    "build:portal": "export NODE_OPTIONS=--max_old_space_size=4096; ng build portal --prod",
    "build:identity": "export NODE_OPTIONS=--max_old_space_size=4096; ng build identity --prod --output-path ../../../target/www/fr",
    "build:ingest": "export NODE_OPTIONS=--max_old_space_size=4096; ng build ingest --prod --i18n-locale fr",
    "build:archive-search": "export NODE_OPTIONS=--max_old_space_size=4096; ng build archive-search --prod --i18n-locale fr",
    "build:referential": "export NODE_OPTIONS=--max_old_space_size=4096; ng build referential --prod --i18n-locale fr",
naji's avatar
naji committed
38
    "build:pastis": "export NODE_OPTIONS=--max_old_space_size=4096; ng build pastis --prod --i18n-locale fr",
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
39
40
41
42
43
    "analyze-portal": "ng build portal --stats-json --prod ; webpack-bundle-analyzer dist/portal/stats-es2015.json",
    "analyze-identity": "ng build identity --stats-json --prod --i18n-locale fr ; webpack-bundle-analyzer dist/identity/stats-es2015.json",
    "analyze-referential": "ng build referential --stats-json --prod --i18n-locale fr ; webpack-bundle-analyzer dist/referential/stats-es2015.json",
    "analyze-ingest": "ng build ingest --stats-json --prod --i18n-locale fr ; webpack-bundle-analyzer dist/ingest/stats-es2015.json",
    "analyze-archive-search": "ng build archive-search --stats-json --prod --i18n-locale fr ; webpack-bundle-analyzer dist/archive-search/stats-es2015.json",
vitam-prg's avatar
vitam-prg committed
44
    "test": "ng test --watch=false",
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
45
46
47
48
49
50
    "test:demo": "ng test demo --watch=false",
    "test:portal": "ng test portal --watch=false",
    "test:identity": "ng test identity --watch=false",
    "test:ingest": "ng test ingest --watch=false",
    "test:referential": "ng test referential --watch=false",
    "test:archive-search": "ng test archive-search --watch=false",
naji's avatar
naji committed
51
    "test:pastis": "ng test pastis --watch=false",
benemart's avatar
benemart committed
52
    "test:vitamui-library": "ng test vitamui-library --watch=false",
vitam-prg's avatar
vitam-prg committed
53
54
55
    "test:conf-ci": "ng test --watch=false --karma-config=karma.conf.ci.js",
    "test:sonar": "ng test --code-coverage --watch=false",
    "lint": "ng lint --format=stylish",
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
56
57
58
59
60
61
62
    "lint:demo": "ng lint demo --format=stylish",
    "lint:identity": "ng lint identity --format=stylish",
    "lint:ingest": "ng lint ingest --format=stylish",
    "lint:portal": "ng lint portal --format=stylish",
    "lint:archive-search": "ng lint archive-search --format=stylish",
    "lint:referential": "ng lint referential --format=stylish",
    "lint:pastis": "ng lint pastis --format=stylish",
pybelecalo's avatar
pybelecalo committed
63
    "lint:vitamui-library": "ng lint vitamui-library --format=stylish",
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
64
65
66
67
68
69
70
71
72
73
74
    "e2e": "ng e2e",
    "i18n-extract": "ng xi18n --outputPath=locale --i18n-locale=fr",
    "i18n-merge": "xliffmerge --profile xliffmerge.json fr en",
    "i18n:identity": "ng xi18n identity --outputPath=src/locale --i18n-locale=fr && xliffmerge --profile projects/identity/xliffmerge.json fr en",
    "i18n:ingest": "ng xi18n ingest --outputPath=src/locale --i18n-locale=fr && xliffmerge --profile projects/ingest/xliffmerge.json fr en",
    "i18n:archive-search": "ng xi18n archive-search --outputPath=src/locale --i18n-locale=fr && xliffmerge --profile projects/archive-search/xliffmerge.json fr en",
    "i18n:referential": "ng xi18n referential --outputPath=src/locale --i18n-locale=fr && xliffmerge --profile projects/referential/xliffmerge.json fr en",
    "i18n:pastis": "ng xi18n pastis --outputPath=src/locale --i18n-locale=fr && xliffmerge --profile projects/pastis/xliffmerge.json fr en",
    "check:demo": "npm run lint:demo && npm run build:demo",
    "check:portal": "npm run lint:portal && npm run test:portal && npm run build:portal",
    "check:identity": "npm run lint:identity && npm run test:identity && npm run build:identity",
75
    "extract-translations": "ngx-translate-extract --input ./projects/portal/src --output ./projects/portal/src/assets/i18n/*.json --sort --format namespaced-json --key-as-default-value",
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
76
77
    "check:referential": "npm run lint:referential && npm run test:referential && npm run build:referential",
    "check:archive-search": "npm run lint:archive-search && npm run test:archive-search && npm run build:archive-search",
benemart's avatar
benemart committed
78
79
80
    "copy-scss:vitamui-library": "cp-cli ./projects/vitamui-library/src/sass ./dist/sass",
    "build:vitamui-library": "ng build vitamui-library",
    "watch:vitamui-library": "ng build vitamui-library --watch"
vitam-prg's avatar
vitam-prg committed
81
82
83
  },
  "private": true,
  "dependencies": {
Hamza GRAINI's avatar
Hamza GRAINI committed
84
85
86
87
88
89
    "@angular/animations": "10.1.3",
    "@angular/cdk": "^10.1.3",
    "@angular/common": "10.1.3",
    "@angular/compiler": "10.1.3",
    "@angular/core": "10.1.3",
    "@angular/forms": "10.1.3",
90
    "@angular/localize": "^10.1.6",
Hamza GRAINI's avatar
Hamza GRAINI committed
91
92
93
    "@angular/material": "^10.1.3",
    "@angular/platform-browser": "10.1.3",
    "@angular/platform-browser-dynamic": "10.1.3",
94
    "@angular/pwa": "^0.803.29",
Hamza GRAINI's avatar
Hamza GRAINI committed
95
96
    "@angular/router": "10.1.3",
    "@angular/service-worker": "10.1.3",
naji's avatar
naji committed
97
    "@babel/compat-data": "^7.8.0",
98
99
    "@ngx-translate/core": "^12.1.2",
    "@ngx-translate/http-loader": "^6.0.0",
naji's avatar
naji committed
100
    "@types/d3": "^3.5.43",
101
    "@types/uuid": "^7.0.0",
102
    "angular-svg-icon": "^11.2.0",
naji's avatar
naji committed
103
    "autoprefixer": "^9.7.5",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
104
105
    "bootstrap": "^4.5.0",
    "bufferutil": "^4.0.1",
vitam-prg's avatar
vitam-prg committed
106
    "classlist.js": "^1.1.20150312",
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
107
    "colors": "1.4.0",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
108
    "core-js": "^2.6.11",
naji's avatar
naji committed
109
110
    "d3": "^3.5.17",
    "d3-svg-legend": "^1.13.0",
111
    "flag-icon-css": "^3.5.0",
naji's avatar
naji committed
112
    "generate-schema": "^2.6.0",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
113
114
    "hammerjs": "^2.0.8",
    "jquery": "^3.5.1",
115
    "lodash": "^4.17.15",
vitam-prg's avatar
vitam-prg committed
116
    "material-design-icons": "^3.0.1",
naji's avatar
naji committed
117
118
119
    "ng2-date-picker": "^8.0.0",
    "ng2-file-upload": "^1.4.0",
    "ng2-nvd3": "^2.0.0",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
120
    "ngx-color-picker": "^9.0.0",
benemart's avatar
benemart committed
121
    "ngx-filesize": "^2.0.2",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
122
    "ngx-quicklink": "^0.2.1",
naji's avatar
naji committed
123
    "ngx-toastr": "^11.3.3",
124
    "ngx-translate-multi-http-loader": "^3.0.0",
naji's avatar
naji committed
125
    "ngx-ui-loader": "^10.0.0",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
126
    "popper.js": "^1.16.1",
naji's avatar
naji committed
127
    "remove": "^0.1.5",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
128
    "rxjs": "^6.5.5",
naji's avatar
naji committed
129
    "serialize-javascript": "^5.0.1",
Hamza GRAINI's avatar
Hamza GRAINI committed
130
    "tslib": "^2.0.3",
131
    "ui-frontend-common": "file:../ui-frontend-common/ui-frontend-common-2.1.32.tgz",
pybelecalo's avatar
pybelecalo committed
132
    "underscore": "^1.13.1",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
133
    "utf-8-validate": "^5.0.2",
benemart's avatar
benemart committed
134
    "uuid": "^7.0.2",
vitam-prg's avatar
vitam-prg committed
135
    "web-animations-js": "^2.3.2",
naji's avatar
naji committed
136
    "zone.js": "~0.10.3"
vitam-prg's avatar
vitam-prg committed
137
138
  },
  "devDependencies": {
139
    "@angular-builders/custom-webpack": "^8.4.1",
Hamza GRAINI's avatar
Hamza GRAINI committed
140
141
142
143
144
    "@angular-devkit/build-angular": "^0.1001.3",
    "@angular-devkit/build-ng-packagr": "^0.1001.3",
    "@angular/cli": "^10.1.3",
    "@angular/compiler-cli": "10.1.3",
    "@angular/language-service": "10.1.3",
145
    "@angular/localize": "^10.2.3",
146
    "@biesbjerg/ngx-translate-extract": "^7.0.2",
vitam-prg's avatar
vitam-prg committed
147
    "@types/jasmine": "~3.3.0",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
148
    "@types/jasminewd2": "^2.0.8",
149
    "@types/lodash": "^4.14.156",
vitam-prg's avatar
vitam-prg committed
150
    "@types/node": "~8.9.1",
bbenarbia's avatar
bbenarbia committed
151
    "@types/underscore": "^1.11.2",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
152
    "codelyzer": "^5.2.2",
153
    "concurrently": "^5.3.0",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
154
    "cp-cli": "^2.0.0",
155
    "jasmine-core": "^3.7.0",
vitam-prg's avatar
vitam-prg committed
156
157
    "jasmine-marbles": "^0.4.1",
    "jasmine-spec-reporter": "~4.2.1",
158
    "json-server": "^0.16.3",
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
159
    "karma": "^6.3.12",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
160
161
162
163
    "karma-chrome-launcher": "^2.2.0",
    "karma-coverage-istanbul-reporter": "~2.1.1",
    "karma-jasmine": "^2.0.1",
    "karma-jasmine-html-reporter": "^1.5.4",
Hamza GRAINI's avatar
Hamza GRAINI committed
164
165
    "moment-locales-webpack-plugin": "^1.2.0",
    "ng-packagr": "^10.1.2",
vitam-prg's avatar
vitam-prg committed
166
    "ngx-i18nsupport": "^0.17.1",
167
    "ngx-markdown": "8.2.2",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
168
169
    "node-sass": "^4.14.1",
    "protractor": "^7.0.0",
vitam-prg's avatar
vitam-prg committed
170
171
    "puppeteer": "^1.2.0",
    "ts-node": "~7.0.1",
Hamza GRAINI's avatar
Hamza GRAINI committed
172
    "tsickle": "^0.39.1",
vitam-prg's avatar
vitam-prg committed
173
    "tslint": "~5.11.0",
Hamza GRAINI's avatar
Hamza GRAINI committed
174
    "typescript": "~4.0.5",
Makhtar DIAGNE's avatar
Makhtar DIAGNE committed
175
    "webpack-bundle-analyzer": "^3.8.0"
Baptiste Toulemonde's avatar
feat tu    
Baptiste Toulemonde committed
176
177
178
  },
  "overrides": {
    "colors": "1.4.0"
vitam-prg's avatar
vitam-prg committed
179
  }
naji's avatar
naji committed
180
}