* Add vite-env.d.ts
Should have been added with bc99728dcd
* Update readmes
* Use vites SWC plugin
74 lines
2.3 KiB
JSON
74 lines
2.3 KiB
JSON
{
|
|
"name": "project",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"preview": "vite preview",
|
|
"build": "vite build",
|
|
"test": "node -e \"console.log('imagine')\"",
|
|
"build-md5": "find build -type f | sort | xargs md5sum | awk '{ print $1 }' | tr -d '\n' | md5sum| awk '{ print $1 }' > buildZip/md5sum ",
|
|
"build-zip": "cd build && rev=$(git rev-list HEAD --count) && echo r$rev > revision && zip -9 -r ../buildZip/Tachidesk-WebUI-r$rev *",
|
|
"lint": "eslint src --ext .ts,.tsx,.js,.jsx",
|
|
"createChangelog": "ts-node tools/scripts/createReleaseChanglog.ts"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.11.0",
|
|
"@emotion/styled": "^11.11.0",
|
|
"@fontsource/roboto": "^5.0.2",
|
|
"@mui/icons-material": "^5.11.16",
|
|
"@mui/material": "^5.13.3",
|
|
"@vitejs/plugin-react-swc": "^3.3.2",
|
|
"axios": "^1.4.0",
|
|
"file-selector": "^0.6.0",
|
|
"i18next": "^23.2.7",
|
|
"i18next-browser-languagedetector": "^7.0.2",
|
|
"react": "^18.2.0",
|
|
"react-beautiful-dnd": "^13.1.1",
|
|
"react-dom": "^18.2.0",
|
|
"react-i18next": "^13.0.1",
|
|
"react-router-dom": "^6.11.2",
|
|
"react-virtuoso": "^4.3.8",
|
|
"swr": "^2.1.5",
|
|
"use-query-params": "^2.2.1",
|
|
"vite": "^4.3.9",
|
|
"vite-tsconfig-paths": "^4.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.3.1",
|
|
"@types/react": "^18.2.8",
|
|
"@types/react-beautiful-dnd": "^13.1.4",
|
|
"@types/react-dom": "^18.2.4",
|
|
"@types/yargs": "^17.0.24",
|
|
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
|
"@typescript-eslint/parser": "^6.2.1",
|
|
"eslint": "^8.42.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
"eslint-plugin-no-relative-import-paths": "^1.5.2",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"eslint-plugin-react": "^7.32.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"prettier": "^3.0.1",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.1.3",
|
|
"yargs": "^17.7.2"
|
|
}
|
|
}
|