<%#
 Copyright 2013-2021 the original author or authors from the BegCode 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.0",
  "description": "Description for <%= baseName  %>",
  "private": true,
  "license": "UNLICENSED",
  "cacheDirectories": [
    "node_modules"
  ],
  "dependencies": {
    "@ant-design/colors": "<%= nodeDependencies['@ant-design/colors'] %>",
    "@ant-design/icons-vue": "<%= nodeDependencies['@ant-design/icons-vue'] %>",
    "ant-design-vue": "<%= nodeDependencies['ant-design-vue'] %>",
    "axios": "<%= nodeDependencies['axios'] %>",
    "nprogress": "<%= nodeDependencies['nprogress'] %>",
    "codemirror": "<%= nodeDependencies['codemirror'] %>",
<%_ if (withWebsite) { _%>
    "bootstrap": "<%= nodeDependencies['bootstrap'] %>",
    "bootstrap-icons": "<%= nodeDependencies['bootstrap-icons'] %>",
    "countdown": "<%= nodeDependencies['countdown'] %>",
    "flag-icon-css": "<%= nodeDependencies['flag-icon-css'] %>",
    "fslightbox": "<%= nodeDependencies['fslightbox'] %>",
    "list.js": "<%= nodeDependencies['list.js'] %>",
    "swiper": "<%= nodeDependencies['swiper'] %>",
<%_ } _%>
    "dayjs": "<%= nodeDependencies['dayjs'] %>",
<%_ if (communicationSpringWebsocket) { _%>
    "@stomp/rx-stomp": "1.1.4",
    "sockjs-client": "1.5.2",
    "rxjs": "7.4.0",
<%_ } _%>
<%_ if (clientTheme === 'vben') { _%>
    "dom-align": "<%= nodeDependencies['dom-align'] %>",
    "enquire.js": "<%= nodeDependencies['enquire.js'] %>",
    "js-cookie": "<%= nodeDependencies['js-cookie'] %>",
    "vue-cropper": "<%= nodeDependencies['vue-cropper'] %>",
    "vue-cropperjs": "<%= nodeDependencies['vue-cropperjs'] %>",
    "vue-infinite-scroll": "<%= nodeDependencies['vue-infinite-scroll'] %>",
    "xss": "<%= nodeDependencies['xss'] %>",
<%_ } _%>
    "vue": "<%= nodeDependencies['vue'] %>",
    "vue-draggable-next": "<%= nodeDependencies['vue-draggable-next'] %>",
    "vue-i18n": "<%= nodeDependencies['vue-i18n'] %>",
    "vue-router": "<%= nodeDependencies['vue-router'] %>",
    "vxe-table": "<%= nodeDependencies['vxe-table'] %>",
    "vxe-table-plugin-export-xlsx": "<%= nodeDependencies['vxe-table-plugin-export-xlsx'] %>",
    "@iconify/iconify": "<%= nodeDependencies['@iconify/iconify'] %>",
    "@vueuse/core": "<%= nodeDependencies['@vueuse/core'] %>",
    "@zxcvbn-ts/core": "<%= nodeDependencies['@zxcvbn-ts/core'] %>",
    "cropperjs": "<%= nodeDependencies['cropperjs'] %>",
    "cron-parser": "<%= nodeDependencies['cron-parser'] %>",
    "china-area-data": "<%= nodeDependencies['china-area-data'] %>",
    "clipboard": "<%= nodeDependencies['clipboard'] %>",
    "vue-print-nb-jeecg": "<%= nodeDependencies['vue-print-nb-jeecg'] %>",
    "crypto-js": "<%= nodeDependencies['crypto-js'] %>",
    "echarts": "<%= nodeDependencies['echarts'] %>",
    "exceljs": "<%= nodeDependencies['exceljs'] %>",
    "pinia": "<%= nodeDependencies['pinia'] %>",
    "pinia-plugin-persistedstate": "<%= nodeDependencies['pinia-plugin-persistedstate'] %>",
    "md5": "<%= nodeDependencies['md5'] %>",
    "big.js": "<%= nodeDependencies['big.js'] %>",
    "dingtalk-jsapi": "<%= nodeDependencies['dingtalk-jsapi'] %>",
    "print-js": "<%= nodeDependencies['print-js'] %>",
    "sortablejs": "<%= nodeDependencies['sortablejs'] %>",
    "vditor": "<%= nodeDependencies['vditor'] %>",
    "vue-types": "<%= nodeDependencies['vue-types'] %>",
    "xlsx": "<%= nodeDependencies['xlsx'] %>",
    "qs": "<%= nodeDependencies['qs'] %>",
    "html2canvas": "<%= nodeDependencies['html2canvas'] %>",
    "showdown": "<%= nodeDependencies['showdown'] %>",
    "lodash-es": "<%= nodeDependencies['lodash-es'] %>",
    "@vueuse/shared": "<%= nodeDependencies['@vueuse/shared'] %>",
    "@vue/shared": "<%= nodeDependencies['@vue/shared'] %>",
    "@vue/runtime-core": "<%= nodeDependencies['@vue/runtime-core'] %>",
    "tinymce": "<%= nodeDependencies['tinymce'] %>",
    "@tinymce/tinymce-vue": "<%= nodeDependencies['@tinymce/tinymce-vue'] %>",
    "event-source-polyfill": "<%= nodeDependencies['event-source-polyfill'] %>",
    "markdown-it": "<%= nodeDependencies['markdown-it'] %>",
    "@traptitech/markdown-it-katex": "<%= nodeDependencies['@traptitech/markdown-it-katex'] %>",
    "markdown-it-link-attributes": "<%= nodeDependencies['markdown-it-link-attributes'] %>",
    "highlight.js": "<%= nodeDependencies['highlight.js'] %>",
    "resize-observer-polyfill": "<%= nodeDependencies['resize-observer-polyfill'] %>",
    "path-to-regexp": "<%= nodeDependencies['path-to-regexp'] %>",
    "driver.js": "<%= nodeDependencies['driver.js'] %>",
    "xe-utils": "<%= nodeDependencies['xe-utils'] %>"
  },
  "devDependencies": {
    "@types/node": "<%= nodeDependencies['@types/node'] %>",
    "@types/sinon": "<%= nodeDependencies['@types/sinon'] %>",
<%_ if (false) { _%>
    "sass": "<%= nodeDependencies['sass'] %>",
    "sass-loader": "<%= nodeDependencies['sass-loader'] %>",
<%_ } _%>
    "@typescript-eslint/eslint-plugin": "<%= nodeDependencies['@typescript-eslint/eslint-plugin'] %>",
    "@typescript-eslint/parser": "<%= nodeDependencies['@typescript-eslint/parser'] %>",
    "@vue/test-utils": "<%= nodeDependencies['@vue/test-utils'] %>",
    "autoprefixer": "<%= nodeDependencies['autoprefixer'] %>",
<%_ if (!skipJhipsterDependencies) { _%>
    "generator-begcode": "<%= jhipsterVersion %>",
  <%_ blueprints.forEach(blueprint => { _%>
    "<%= blueprint.name %>": "<%= blueprint.version %>",
  <%_ }); _%>
<%_ } _%>
<%_ if (!skipCommitHook) { _%>
    "husky": "<%= nodeDependencies['husky'] %>",
    "lint-staged": "<%= nodeDependencies['lint-staged'] %>",
<%_ } _%>
    "less": "<%= nodeDependencies['less'] %>",
    "picocolors": "<%= nodeDependencies['picocolors'] %>",
    "postcss": "<%= nodeDependencies['postcss'] %>",
    "postcss-html": "<%= nodeDependencies['postcss-html'] %>",
    "postcss-less": "<%= nodeDependencies['postcss-less'] %>",
    "postcss-scss": "<%= nodeDependencies['postcss-scss'] %>",
    "prettier": "<%= nodeDependencies['prettier'] %>",
<%_ if (!skipServer) { _%>
    "prettier-plugin-java": "<%= nodeDependencies['prettier-plugin-java'] %>",
<%_ } _%>
<%_ if (clientFramework === 'vben') { _%>
    "@types/jest": "<%= nodeDependencies['@types/jest'] %>",
    "cz-git": "<%= nodeDependencies['cz-git'] %>",
    "czg": "<%= nodeDependencies['czg'] %>",
    "ts-jest": "<%= nodeDependencies['ts-jest'] %>",
    "pretty-quick": "<%= nodeDependencies['pretty-quick'] %>",
    "jest": "<%= nodeDependencies['jest'] %>",
    "is-ci": "<%= nodeDependencies['is-ci'] %>",
    "http-server": "<%= nodeDependencies['http-server'] %>",
    "eslint-plugin-jest": "<%= nodeDependencies['eslint-plugin-jest'] %>",
    "eslint-define-config": "<%= nodeDependencies['eslint-define-config'] %>",
<%_ } _%>
    "rimraf": "<%= nodeDependencies['rimraf'] %>",
    "eslint": "<%= nodeDependencies['eslint'] %>",
    "eslint-plugin-prettier": "<%= nodeDependencies['eslint-plugin-prettier'] %>",
    "eslint-plugin-vue": "<%= nodeDependencies['eslint-plugin-vue'] %>",
    "typescript": "<%= nodeDependencies['typescript'] %>",
    "@commitlint/cli": "<%= nodeDependencies['@commitlint/cli'] %>",
    "@purge-icons/generated": "<%= nodeDependencies['@purge-icons/generated'] %>",
    "@iconify/json": "<%= nodeDependencies['@iconify/json'] %>",
    "@types/fs-extra": "<%= nodeDependencies['@types/fs-extra'] %>",
    "@types/lodash-es": "<%= nodeDependencies['@types/lodash-es'] %>",
    "@types/codemirror": "<%= nodeDependencies['@types/codemirror'] %>",
    "@vitejs/plugin-legacy": "<%= nodeDependencies['@vitejs/plugin-legacy'] %>",
    "@vitejs/plugin-vue": "<%= nodeDependencies['@vitejs/plugin-vue'] %>",
    "@vitejs/plugin-vue-jsx": "<%= nodeDependencies['@vitejs/plugin-vue-jsx'] %>",
    "@types/intro.js": "<%= nodeDependencies['@types/intro.js'] %>",
    "@types/crypto-js": "<%= nodeDependencies['@types/crypto-js'] %>",
    "@vue/compiler-sfc": "<%= nodeDependencies['@vue/compiler-sfc'] %>",
    "cross-env": "<%= nodeDependencies['cross-env'] %>",
    "commitizen": "<%= nodeDependencies['commitizen'] %>",
    "dotenv": "<%= nodeDependencies['dotenv'] %>",
    "esno": "<%= nodeDependencies['esno'] %>",
    "inquirer": "<%= nodeDependencies['inquirer'] %>",
    "stylelint": "<%= nodeDependencies['stylelint'] %>",
    "ts-node": "<%= nodeDependencies['ts-node'] %>",
    "vite": "<%= nodeDependencies['vite'] %>",
    "unocss": "<%= nodeDependencies['unocss'] %>",
    "sinon": "<%= nodeDependencies['sinon'] %>",
    "happy-dom": "<%= nodeDependencies['happy-dom'] %>",
    "@types/nprogress": "<%= nodeDependencies['@types/nprogress'] %>",
    "@types/inquirer": "<%= nodeDependencies['@types/inquirer'] %>",
    "@types/qs": "<%= nodeDependencies['@types/qs'] %>",
    "@types/showdown": "<%= nodeDependencies['@types/showdown'] %>",
    "@types/sortablejs": "<%= nodeDependencies['@types/sortablejs'] %>",
    "postcss-html": "<%= nodeDependencies['postcss-html'] %>",
    "postcss-less": "<%= nodeDependencies['postcss-less'] %>",
    "papaparse": "<%= nodeDependencies['papaparse'] %>",
    "stylelint-config-recommended": "<%= nodeDependencies['stylelint-config-recommended'] %>",
    "stylelint-config-recommended-vue": "<%= nodeDependencies['stylelint-config-recommended-vue'] %>",
    "vue-tsc": "<%= nodeDependencies['vue-tsc'] %>",
    "sass": "<%= nodeDependencies['sass'] %>",
    "unplugin-auto-import": "<%= nodeDependencies['unplugin-auto-import'] %>",
    "unplugin-vue-components": "<%= nodeDependencies['unplugin-vue-components'] %>",
    "swagger-ui-dist": "<%= nodeDependencies['swagger-ui-dist'] %>",
    "vite-plugin-mkcert": "<%= nodeDependencies['vite-plugin-mkcert'] %>",
    "vue-eslint-parser": "<%= nodeDependencies['vue-eslint-parser'] %>",
    "vite-plugin-svg-icons": "<%= nodeDependencies['vite-plugin-svg-icons'] %>",
    "vite-plugin-pwa": "<%= nodeDependencies['vite-plugin-pwa'] %>",
    "vite-plugin-purge-icons": "<%= nodeDependencies['vite-plugin-purge-icons'] %>",
    "axios-mock-adapter": "<%= nodeDependencies['axios-mock-adapter'] %>",
    "vite-plugin-html": "<%= nodeDependencies['vite-plugin-html'] %>",
    "vite-plugin-static-copy": "<%= nodeDependencies['vite-plugin-static-copy'] %>",
    "vite-plugin-compression": "<%= nodeDependencies['vite-plugin-compression'] %>",
    "stylelint-order": "<%= nodeDependencies['stylelint-order'] %>",
    "stylelint-config-standard": "<%= nodeDependencies['stylelint-config-standard'] %>",
    "rollup-plugin-visualizer": "<%= nodeDependencies['rollup-plugin-visualizer'] %>",
    "@rys-fe/vite-plugin-theme": "<%= nodeDependencies['@rys-fe/vite-plugin-theme'] %>",
    "rollup": "<%= nodeDependencies['rollup'] %>",
    "npm-run-all": "<%= nodeDependencies['npm-run-all'] %>",
    "fs-extra": "<%= nodeDependencies['fs-extra'] %>",
    "vitest": "<%= nodeDependencies.vitest %>",
    "@vue/tsconfig": "<%= nodeDependencies['@vue/tsconfig'] %>",
    "eslint-config-prettier": "<%= nodeDependencies['eslint-config-prettier'] %>",
    "@commitlint/config-conventional": "<%= nodeDependencies['@commitlint/config-conventional'] %>"
  },
  "engines": {
    "node": ">=<%= nodeVersion %>"
  },
  "config": {
    "default_environment": "prod"
  },
  "scripts": {
    "prettier:check": "prettier --check \"{,src/**/,webpack/}*.{<%= prettierExtensions %>}\"",
    "prettier:format": "prettier --write \"{,src/**/,webpack/}*.{<%= prettierExtensions %>}\"",
    "lint": "vue-cli-service lint --no-fix",
    "lint:fix": "vue-cli-service lint",
    "cleanup": "rimraf <%= this.relativeDir(clientRootDir, temporaryDir) %>",
    "clean-www": "rimraf <%= this.relativeDir(clientRootDir, clientDistDir) %>",
    "clean:lib": "rimraf node_modules",
    "start": "vite",
    "start-tls": "<%= clientPackageManager %> run webapp:dev -- --env.tls",
    "serve": "<%= clientPackageManager %> run start",
    "build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 vite build && esno ./build/script/postBuild.ts",
    "build:analyze": "cross-env NODE_OPTIONS=--max-old-space-size=8192 REPORT=true vite build",
<%_ if (cypressTests) {  _%>
    "e2e": "<%= clientPackageManager %> run e2e:cypress:headed --",
    "e2e:headless": "<%= clientPackageManager %> run e2e:cypress --",
<%_ } _%>
<%_ if (cypressTests) { _%>
    "e2e:cypress:headless": "<%= clientPackageManager %> run e2e:cypress -- --headless",
    "e2e:cypress": "cypress run --browser chrome --record ${CYPRESS_ENABLE_RECORD:-false}",
    "cypress": "cypress open",
<%_ } _%>
    "jest": "jest --coverage --logHeapUsage --maxWorkers=2 --no-cache --config <%= this.CLIENT_TEST_SRC_DIR %>jest.conf.js",
    "jest:update": "<%= clientPackageManager %> run jest -- --updateSnapshot",
    "pretest": "<%= clientPackageManager %> run lint",
    "test": "<%= clientPackageManager %> run jest",
    "gen:icon": "esno ./build/generate/icon/index.ts",
    "reinstall": "rimraf pnpm-lock.yaml && rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && pnpm run install",
    "test-ci": "<%= clientPackageManager %> run lint && <%= clientPackageManager %> run jest:update",
    "test:watch": "<%= clientPackageManager %> run jest -- --watch",
    "webapp:build": "<%= clientPackageManager %> run clean-www && <%= clientPackageManager %> run webapp:build:dev",
    "webapp:build:dev": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=8192 vite build && esno ./build/script/postBuild.ts",
    "webapp:build:prod": "<%= clientPackageManager %> run build",
    "build:docker": "vite build --mode docker",
    "webapp:dev": "<%= clientPackageManager %> run start",
    "webapp:prod": "<%= clientPackageManager %> run clean-www && <%= clientPackageManager %> run webapp:build:prod",
    "webapp:test": "<%= clientPackageManager %> run test"
  },
  "jestSonar": {
    "reportPath": "<%= temporaryDir %>test-results/jest",
    "reportFile": "TESTS-results-sonar.xml"
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not ie <= 8"
  ]
}
