98 lines
3.7 KiB
JSON
98 lines
3.7 KiB
JSON
{
|
|
"name": "client",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"build": "npm run typecheck && vite build && node versionize && cp ./dist/index.html ../server/vbv_lernwelt/templates/vue/index.html && rm -rf ../server/vbv_lernwelt/static/vue/* && cp -r ./dist/static/vue ../server/vbv_lernwelt/static/",
|
|
"build:tailwind": "tailwindcss -i tailwind.css -o ../server/vbv_lernwelt/static/css/tailwind.css --minify",
|
|
"codegen": "graphql-codegen && node minimizeGraphqlSchema.mjs",
|
|
"codegen:watch": "graphql-codegen --watch",
|
|
"coverage": "vitest run --coverage",
|
|
"cypress:open": "cypress open",
|
|
"dev": "concurrently \"vite\" \"npm run codegen:watch\"",
|
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
"lint:errors": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --quiet --ignore-path .gitignore",
|
|
"prettier": "prettier . --write",
|
|
"prettier:check": "prettier . --check --ignore-unknown",
|
|
"tailwind": "tailwindcss -i tailwind.css -o ../server/vbv_lernwelt/static/css/tailwind.css --watch",
|
|
"test": "vitest run",
|
|
"typecheck": "npm run codegen && vue-tsc --noEmit -p tsconfig.app.json --composite false",
|
|
"typecheck-only": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
|
|
"i18next:sort": "prettier --write src/locales/**/*.json",
|
|
"i18next:parse": "i18next && npm run i18next:sort"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/tailwindcss": "^0.2.1",
|
|
"@headlessui/vue": "^1.7.22",
|
|
"@parcel/watcher": "^2.4.1",
|
|
"@sentry/tracing": "^7.114.0",
|
|
"@sentry/vue": "^8.17.0",
|
|
"@urql/exchange-graphcache": "^7.1.2",
|
|
"@urql/introspection": "^1.1.0",
|
|
"@urql/vue": "^1.3.2",
|
|
"@vuepic/vue-datepicker": "^8.8.1",
|
|
"@vueuse/core": "^10.11.0",
|
|
"@vueuse/router": "^10.11.0",
|
|
"chart.js": "^4.4.4",
|
|
"cypress": "^12.14.0",
|
|
"d3": "^7.9.0",
|
|
"dayjs": "^1.11.11",
|
|
"graphql": "^16.9.0",
|
|
"i18next": "^23.11.5",
|
|
"i18next-locize-backend": "^6.4.3",
|
|
"i18next-vue": "^4.0.0",
|
|
"locize": "^3.3.0",
|
|
"lodash": "^4.17.21",
|
|
"loglevel": "^1.9.1",
|
|
"mitt": "^3.0.1",
|
|
"pinia": "^2.1.7",
|
|
"vue": "^3.4.31",
|
|
"vue-chartjs": "^5.3.1",
|
|
"vue-router": "^4.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@graphql-codegen/cli": "^5.0.2",
|
|
"@graphql-codegen/client-preset": "^4.3.2",
|
|
"@parcel/watcher": "^2.4.1",
|
|
"@rushstack/eslint-patch": "^1.8.0",
|
|
"@savvywombat/tailwindcss-grid-areas": "^4.0.0",
|
|
"@tailwindcss/forms": "^0.5.7",
|
|
"@tailwindcss/typography": "^0.5.13",
|
|
"@testing-library/vue": "^8.1.0",
|
|
"@tsconfig/node20": "^20.1.4",
|
|
"@types/d3": "^7.4.3",
|
|
"@types/jsdom": "^21.1.7",
|
|
"@types/lodash": "^4.17.6",
|
|
"@types/node": "^20.14.10",
|
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
"@vue/eslint-config-prettier": "^9.0.0",
|
|
"@vue/eslint-config-typescript": "^13.0.0",
|
|
"@vue/test-utils": "^2.4.6",
|
|
"@vue/tsconfig": "^0.5.1",
|
|
"autoprefixer": "^10.4.19",
|
|
"concurrently": "^8.2.2",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^8.10.0",
|
|
"eslint-plugin-cypress": "^2.15.2",
|
|
"eslint-plugin-vue": "^9.27.0",
|
|
"i18next-parser": "^9.0.2",
|
|
"jsdom": "^24.1.0",
|
|
"locize-cli": "^8.0.1",
|
|
"postcss": "^8.4.39",
|
|
"postcss-import": "^16.1.0",
|
|
"prettier": "^3.3.2",
|
|
"prettier-plugin-organize-imports": "^4.0.0",
|
|
"prettier-plugin-sort-json": "^4.0.0",
|
|
"prettier-plugin-tailwindcss": "^0.6.5",
|
|
"replace-in-file": "^7.2.0",
|
|
"sass": "^1.77.7",
|
|
"sass-loader": "^14.2.1",
|
|
"start-server-and-test": "^2.0.4",
|
|
"tailwindcss": "^3.4.4",
|
|
"typescript": "^5.5.3",
|
|
"vite": "^4.5.3",
|
|
"vitest": "^2.0.2",
|
|
"vue-eslint-parser": "^9.4.3",
|
|
"vue-tsc": "^2.0.26"
|
|
}
|
|
}
|