diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3a1bea6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,25 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# production +/build + +# misc +.DS_Store +.env.local +.env.development.local +.env.test.local +.env.production.local + +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +.idea diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..842b505 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "typescript.enablePromptUseWorkspaceTsdk": true, + "typescript.tsdk": "node_modules/typescript/lib" + } \ No newline at end of file diff --git a/.yarnrc b/.yarnrc new file mode 100644 index 0000000..e1a507d --- /dev/null +++ b/.yarnrc @@ -0,0 +1 @@ +"@frontend:registry" "https://penahub.gitlab.yandexcloud.net/api/v4/packages/npm/" diff --git a/craco.config.js b/craco.config.js new file mode 100644 index 0000000..fa1bc01 --- /dev/null +++ b/craco.config.js @@ -0,0 +1,17 @@ +const CracoAlias = require("craco-alias"); + +module.exports = { + plugins: [ + { + plugin: CracoAlias, + options: { + source: "tsconfig", + // baseUrl SHOULD be specified + // plugin does not take it from tsconfig + baseUrl: "./src", + // tsConfigPath should point to the file where "baseUrl" and "paths" are specified + tsConfigPath: "./tsconfig.extend.json" + } + } + ] +}; \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..01e7eea --- /dev/null +++ b/package.json @@ -0,0 +1,53 @@ +{ + "name": "squzanswerer", + "version": "1.0.0", + "private": true, + "repository": "git@penahub.gitlab.yandexcloud.net:frontend/squzanswerer.git", + "author": "ryletd", + "license": "MIT", + "dependencies": { + "@craco/craco": "^7.1.0", + "@emotion/react": "^11.11.1", + "@emotion/styled": "^11.11.0", + "@frontend/kitui": "^1.0.54", + "@mui/icons-material": "^5.15.0", + "@mui/material": "^5.15.0", + "@mui/x-date-pickers": "^6.18.4", + "axios": "^1.6.2", + "dayjs": "^1.11.10", + "notistack": "^3.0.1", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-rnd": "^10.4.1", + "react-router-dom": "^6.21.0", + "react-scripts": "^5.0.1", + "swr": "^2.2.4", + "typescript": "^5.3.3", + "use-debounce": "^10.0.0", + "zustand": "^4.4.7" + }, + "devDependencies": { + "@emoji-mart/data": "^1.1.2", + "@emoji-mart/react": "^1.1.1", + "@types/node": "^20.10.4", + "@types/react": "^18.2.45", + "@types/react-dom": "^18.2.18", + "craco-alias": "^3.0.1" + }, + "scripts": { + "start": "craco start", + "build": "craco build" + }, + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] + } +} diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..1f72bd6 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..a96c59f --- /dev/null +++ b/public/index.html @@ -0,0 +1,19 @@ + + +
+ + + + + + + + + +