-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Expand file tree
/
Copy pathpackage.json.ejs
More file actions
118 lines (113 loc) · 5.44 KB
/
package.json.ejs
File metadata and controls
118 lines (113 loc) · 5.44 KB
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<%#
Copyright 2013-2026 the original author or authors from the JHipster project.
This file is part of the JHipster project, see https://www.jhipster.tech/
for more information.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-%>
{
"name": "<%- dasherizedBaseName %>",
"version": "0.0.1-SNAPSHOT",
"description": "<%- projectDescription %>",
"private": true,
"license": "UNLICENSED",
"type": "module",
"dependencies": {
"@angular/common": "<%- nodeDependencies['@angular/common'] %>",
"@angular/compiler": "<%- nodeDependencies['@angular/common'] %>",
"@angular/core": "<%- nodeDependencies['@angular/common'] %>",
"@angular/forms": "<%- nodeDependencies['@angular/common'] %>",
"@angular/localize": "<%- nodeDependencies['@angular/common'] %>",
"@angular/platform-browser": "<%- nodeDependencies['@angular/common'] %>",
"@angular/router": "<%- nodeDependencies['@angular/common'] %>",
"@fortawesome/angular-fontawesome": "<%- nodeDependencies['@fortawesome/angular-fontawesome'] %>",
"@fortawesome/free-solid-svg-icons": "<%- nodeDependencies['@fortawesome/free-solid-svg-icons'] %>",
"@ng-bootstrap/ng-bootstrap": "<%- nodeDependencies['@ng-bootstrap/ng-bootstrap'] %>",
<%_ if (enableTranslation) { _%>
"@ngx-translate/core": "<%- nodeDependencies['@ngx-translate/core'] %>",
"@ngx-translate/http-loader": "<%- nodeDependencies['@ngx-translate/http-loader'] %>",
<%_ } _%>
"bootstrap": "<%- nodeDependencies.bootstrap %>",
<%_ if (!clientThemeNone) { _%>
"bootswatch": "<%- nodeDependencies.bootswatch %>",
<%_ } _%>
"dayjs": "<%- nodeDependencies.dayjs %>",
"ngx-infinite-scroll": "<%- nodeDependencies['ngx-infinite-scroll'] %>",
"rxjs": "<%- nodeDependencies.rxjs %>",
"tslib": "<%- nodeDependencies.tslib %>"
},
"devDependencies": {
<%_ if (skipServer) { _%>
"sonar-scanner": "3.1.0",
<%_ } _%>
<%_ if (microfrontend) { _%>
<%_ if (applicationTypeGateway) { _%>
"@angular-architects/module-federation-runtime": "<%- nodeDependencies['@angular-architects/module-federation-runtime'] %>",
<%_ } _%>
"@angular-architects/module-federation": "<%- nodeDependencies['@angular-architects/module-federation'] %>",
<%_ } _%>
"@vitest/coverage-v8": "<%- nodeDependencies.vitest %>",
"@angular/build": "<%- nodeDependencies['@angular/cli'] %>",
"@angular/cli": "<%- nodeDependencies['@angular/cli'] %>",
"@angular/compiler-cli": "<%- nodeDependencies['@angular/common'] %>",
"@angular/service-worker": "<%- nodeDependencies['@angular/common'] %>",
"@eslint/js": null,
"@types/node": "<%- nodeDependencies['@types/node'] %>",
"angular-eslint": "<%- nodeDependencies['angular-eslint'] %>",
"browser-sync": "<%- nodeDependencies['browser-sync'] %>",
"eslint": "<%- nodeDependencies.eslint %>",
"eslint-config-prettier": "<%- nodeDependencies['eslint-config-prettier'] %>",
"eslint-plugin-prettier": "<%- nodeDependencies['eslint-plugin-prettier'] %>",
"globals": "<%- nodeDependencies.globals %>",
"jiti": null,
"jsdom": null,
<%_ if (enableI18nRTL) { _%>
"postcss-rtlcss": "<%- nodeDependencies['postcss-rtlcss'] %>",
<%_ } _%>
"rimraf": "<%- nodeDependencies.rimraf %>",
"swagger-ui-dist": "<%- nodeDependencies['swagger-ui-dist'] %>",
"typescript": "<%- nodeDependencies.typescript %>",
"typescript-eslint": "<%- nodeDependencies['typescript-eslint'] %>",
"vitest": null,
"vitest-sonar-reporter": null
},
"engines": {
"node": ">=<%- nodeVersion %>"
},
"config": {
"default_environment": "prod"
},
"scripts": {
"lint": "eslint",
"lint:fix": "<%- nodePackageManager %> run lint -- --fix",
"cleanup": "rimraf <%- this.relativeDir(clientRootDir, temporaryDir) %>",
"clean-www": "rimraf <%- this.relativeDir(clientRootDir, clientDistDir) %>",
"start": "ng serve<% if (!microfrontend) { %> --hmr<% } %>",
"start-tls": "<%- nodePackageManager %> run webapp:dev-ssl",
<%_ if (skipServer) { _%>
"sonar": "sonar-scanner",
<%_ } _%>
"serve": "<%- nodePackageManager %> run start --",
"build": "<%- nodePackageManager %> run webapp:prod --",
"pretest": "<%- nodePackageManager %> run lint",
"test": "ng test --coverage",
"test:watch": "<%- nodePackageManager %> run test -- --watch",
"watch": "concurrently npm:start<% if (!skipServer) { %> npm:backend:start<% } %>",
"build-watch": "concurrently 'npm run webapp:build:dev -- --watch'<% if (!skipServer) { %> npm:backend:start<% } %>",
"webapp:build": "<%- nodePackageManager %> run clean-www && <%- nodePackageManager %> run webapp:build:dev",
"webapp:build:dev": "ng build --configuration development",
"webapp:build:prod": "ng build --configuration production",
"webapp:dev": "ng serve",
"webapp:dev-verbose": "ng serve --verbose",
"webapp:dev-ssl": "ng serve --ssl",
"webapp:prod": "<%- nodePackageManager %> run clean-www && <%- nodePackageManager %> run webapp:build:prod",
"webapp:test": "<%- nodePackageManager %> run test --"
}
}