felicity-lims/package.json

112 lines
5.3 KiB
JSON
Raw Normal View History

2023-11-10 14:05:15 +08:00
{
"name": "felicity-lims",
"version": "0.1.0",
"main": "webapp/main.ts",
"license": "Public",
"scripts": {
2024-01-24 01:13:37 +08:00
"webapp:dev": "vite",
"webapp:vf": "vite --force",
"webapp:build:report": "npx vite-bundle-visualizer",
"webapp:build:only": "vite build",
"webapp:prettier:check": "prettier --check \"{,webapp/**/}*.{md,json,yml,html,cjs,mjs,js,ts,tsx,css,scss}\"",
"webapp:prettier:format": "prettier --write \"{,webapp/**/}*.{md,json,yml,html,cjs,mjs,js,ts,tsx,css,scss}\"",
"webapp:lint": "eslint . --ext .js,.ts,.tsx,.vue",
"webapp:lint:fix": "npm run lint -- --fix",
"webapp:codegen": "graphql-codegen --config codegen.yml --verbose",
"server:uv": "cd felicity && uvicorn main:felicity --host=0.0.0.0 --port=8000 --workers 1",
"server:uv:watch": "cd felicity && uvicorn main:felicity --reload --host=0.0.0.0 --port=8000 --workers 1 --log-level debug --use-colors",
"server:gu": "cd felicity && gunicorn main:felicity --workers 1 --worker-class uvicorn.workers.UvicornH11Worker --bind 0.0.0.0:8000 --name felicity --access-logfile - --error-logfile - --log-level info --timeout 600",
"server:gu:watch": "cd felicity && gunicorn main:felicity --workers 1 --worker-class uvicorn.workers.UvicornH11Worker --bind 0.0.0.0:8000 --name felicity --reload --access-logfile - --error-logfile - --log-level info --timeout 600",
"server:test": "cd felicity && bash ./scripts/test.sh",
"server:lint": "cd felicity && bash ./scripts/lint.sh",
"server:format": "cd felicity && bash ./scripts/format.sh",
"server:format:imports": "cd felicity && bash ./scripts/format_imports.sh",
"server:schema:export": "cd felicity && strawberry export-schema api.gql.schema:schema > ./api/gql/schema.graphql",
"server:schema:export:tofront": "cd felicity && strawberry export-schema api.gql.schema:schema > ../webapp/graphql/schema.graphql",
"server:codegen:not-working": "# npm run backend:schema:export && strawberry codegen --schema api.gql.schema --output-dir ../graphql -p python -p typescript ./api/gql/schema.graphql",
"server:magidoc:generate": "magidoc generate",
"server:magidoc:preview": "magidoc preview",
2023-11-11 00:48:39 +08:00
"standalone:build": "rm -rf felicity/templates/static/* && vite build && cp -r dist/** felicity/templates/static",
2024-01-24 01:13:37 +08:00
"db:al:upgrade": "cd felicity && alembic upgrade head",
"db:al:revision": "cd felicity && alembic revision --autogenerate -m"
2023-11-10 14:05:15 +08:00
},
"dependencies": {
2024-01-23 01:42:18 +08:00
"@antv/g2": "^4.2.10",
"@antv/g2plot": "^2.4.31",
2023-11-10 14:05:15 +08:00
"@ckeditor/ckeditor5-build-decoupled-document": "^35.4.0",
2024-01-23 01:42:18 +08:00
"@editorjs/editorjs": "^2.28.2",
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-brands-svg-icons": "^6.5.1",
"@fortawesome/free-regular-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/vue-fontawesome": "^3.0.5",
2023-11-10 14:05:15 +08:00
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/client-preset": "^4.1.0",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@graphql-codegen/typescript-urql": "^3.7.3",
"@graphql-codegen/typescript-vue-urql": "^2.3.6",
2023-11-24 06:22:22 +08:00
"@graphql-typed-document-node/core": "^3.2.0",
"@magidoc/cli": "^4.1.2",
2024-01-23 01:42:18 +08:00
"@types/lodash-es": "^4.17.12",
"@urql/core": "^3.2.2",
2023-11-10 14:05:15 +08:00
"@urql/exchange-auth": "^1.0.0",
2024-01-23 01:42:18 +08:00
"@urql/vue": "^1.1.2",
"@vueform/multiselect": "^2.6.6",
"@vueuse/core": "^9.13.0",
2023-11-10 14:05:15 +08:00
"@vueuse/motion": "2.0.0-beta.12",
2024-01-23 01:42:18 +08:00
"axios": "^1.6.5",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.10",
2023-11-10 14:05:15 +08:00
"floating-vue": "2.0.0-beta.20",
2024-01-23 01:42:18 +08:00
"graphql": "^16.8.1",
2023-11-10 14:05:15 +08:00
"graphql-tag": "^2.12.6",
2024-01-23 01:42:18 +08:00
"graphql-ws": "^5.14.3",
2023-11-10 14:05:15 +08:00
"js-confetti": "^0.11.0",
"jstat": "^1.9.6",
"jwt-decode": "^3.1.2",
"lodash-es": "^4.17.21",
2024-01-23 01:42:18 +08:00
"mitt": "^3.0.1",
"moment": "^2.30.1",
2023-11-10 14:05:15 +08:00
"notyf": "^3.10.0",
"pdf-lib": "^1.17.1",
2024-01-23 01:42:18 +08:00
"pinia": "^2.1.7",
2023-11-10 14:05:15 +08:00
"process": "^0.11.10",
"react": "^18.2.0",
2024-01-23 01:42:18 +08:00
"socket.io": "^4.7.4",
"socket.io-client": "^4.7.4",
2023-11-10 14:05:15 +08:00
"split.js": "^1.6.5",
"subscriptions-transport-ws": "^0.11.0",
2024-01-23 01:42:18 +08:00
"sweetalert2": "^11.10.3",
"tailwindcss": "^3.4.1",
"urql": "^3.0.4",
"vee-validate": "^4.12.4",
"vite-tsconfig-paths": "^4.3.1",
"vue": "^3.4.15",
2023-11-10 14:05:15 +08:00
"vue-multiselect": "3.0.0-alpha.2",
2024-01-23 01:42:18 +08:00
"vue-router": "^4.2.5",
2023-11-10 14:05:15 +08:00
"vue-sweetalert2": "^5.0.5",
"vuedraggable": "^4.1.0",
2024-01-23 01:42:18 +08:00
"wonka": "^6.3.4",
2023-11-10 14:05:15 +08:00
"yup": "^0.32.11"
},
"devDependencies": {
2024-01-23 01:42:18 +08:00
"@tailwindcss/forms": "^0.5.7",
"@types/node": "^18.19.8",
2023-11-10 14:05:15 +08:00
"@urql/devtools": "^2.0.3",
2024-01-23 01:42:18 +08:00
"@vitejs/plugin-vue": "^4.6.2",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/compiler-sfc": "^3.4.15",
"autoprefixer": "^10.4.17",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.10.0",
2023-11-10 14:05:15 +08:00
"eslint-plugin-prettier": "^4.2.1",
2024-01-23 01:42:18 +08:00
"eslint-plugin-vue": "^9.20.1",
2023-11-10 14:05:15 +08:00
"jshint": "^2.13.6",
2024-01-23 01:42:18 +08:00
"postcss": "^8.4.33",
"prettier": "^2.8.8",
"typescript": "^5.3.3",
"vite": "^4.5.2"
2023-11-10 14:05:15 +08:00
}
}