Files
lucia-frontend/package.json
Cindy Chang af5ab081de 1. npm install --save-dev @types/axios @types/vue @types/vue-router
2. create file vue-router.d.ts
2. pinia use my plugin
3. npm i --save-dev @types/cytoscape. npm i --save-dev @types/cytoscape-dagre. npm i --save-dev @types/cytoscape-popper.
4. add apiError.d.ts npm install --save-dev @types/vue-router.
5. add vue-axios.d.ts
2024-07-09 12:00:34 +08:00

82 lines
2.4 KiB
JSON

{
"name": "frontend",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "vitest",
"coverage": "vitest run --coverage",
"cy:run": "cypress run",
"test:unit": "vitest --environment jsdom --root src/",
"test:e2e": "start-server-and-test preview :4173 'cypress run --e2e'",
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' :4173 'cypress open --e2e'",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
},
"dependencies": {
"autoprefixer": "^10.4.13",
"axios": "^1.2.2",
"chart.js": "^4.3.0",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-plugin-datalabels": "^2.2.0",
"chartjs-plugin-dragdata": "^1.1.3",
"cytoscape": "^3.23.0",
"cytoscape-dagre": "^2.5.0",
"cytoscape-popper": "^2.0.0",
"date-fns": "^2.30.0",
"decimal.js": "^10.4.3",
"i18next": "^23.11.5",
"i18next-browser-languagedetector": "^8.0.0",
"javascript-color-gradient": "^2.4.4",
"mitt": "^3.0.1",
"moment": "^2.29.4",
"npx": "^10.2.2",
"pinia": "^2.0.28",
"postcss": "^8.4.20",
"primeicons": "^6.0.1",
"primevue": "^3.48.1",
"tailwindcss": "^3.2.4",
"tippy.js": "^6.3.7",
"vue": "^3.2.45",
"vue-axios": "^3.5.2",
"vue-chartjs": "^5.2.0",
"vue-sweetalert2": "^5.0.5",
"vue-toast-notification": "^3.0.4",
"vuedraggable": "^4.1.0"
},
"devDependencies": {
"@4tw/cypress-drag-drop": "^2.2.5",
"@rushstack/eslint-patch": "^1.1.4",
"@types/cytoscape": "^3.21.4",
"@types/cytoscape-dagre": "^2.3.3",
"@types/cytoscape-popper": "^2.0.4",
"@types/node": "^20.14.10",
"@types/vue": "^2.0.0",
"@types/vue-router": "^2.0.0",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/test-utils": "^2.2.6",
"autoprefixer": "^10.4.13",
"cypress": "^12.0.2",
"cypress-xpath": "^2.0.1",
"eslint": "^8.22.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-vue": "^9.3.0",
"html-webpack-plugin": "^5.5.0",
"i": "^0.3.7",
"jsdom": "^20.0.3",
"npm": "^10.8.1",
"postcss": "^8.4.20",
"prettier": "^2.7.1",
"sass": "^1.57.1",
"start-server-and-test": "^2.0.3",
"tailwindcss": "^3.2.4",
"ts-node": "^10.9.2",
"typescript": "^5.5.3",
"vite": "^4.0.0",
"vitest": "^0.25.6",
"vue-router": "^4.4.0"
}
}