up
This commit is contained in:
7
README.md
Normal file
7
README.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
Để chạy, dùng lệnh ở cmd:
|
||||||
|
|
||||||
|
### `npm start`
|
||||||
|
|
||||||
|
Mởi trình duyệt tại [http://localhost:3000](http://localhost:3000) để xem và sửa code
|
||||||
|
|
||||||
|
|
||||||
2
_readme.txt
Normal file
2
_readme.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
19-May-2021:
|
||||||
|
Dung cho front-end cat html
|
||||||
13
config-overrides.js
Normal file
13
config-overrides.js
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
/* config-overrides.js */
|
||||||
|
/* copied from https://github.com/facebook/create-react-app/issues/5118 */
|
||||||
|
|
||||||
|
const path = require('path');
|
||||||
|
|
||||||
|
module.exports = function override(config, env) {
|
||||||
|
config.resolve = {
|
||||||
|
...config.resolve,
|
||||||
|
alias: { '@': path.resolve(__dirname, 'src') },
|
||||||
|
};
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
18448
package-lock.json
generated
Normal file
18448
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
64
package.json
Normal file
64
package.json
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
{
|
||||||
|
"name": "chatboard",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"private": true,
|
||||||
|
"dependencies": {
|
||||||
|
"antd": "^4.14.1",
|
||||||
|
"autosize": "^4.0.2",
|
||||||
|
"axios": "^0.21.1",
|
||||||
|
"classnames": "^2.3.1",
|
||||||
|
"eventemitter3": "^4.0.7",
|
||||||
|
"idb-keyval": "^5.0.5",
|
||||||
|
"lodash": "^4.17.21",
|
||||||
|
"memoize-one": "^5.1.1",
|
||||||
|
"querystring": "^0.2.1",
|
||||||
|
"react": "^17.0.2",
|
||||||
|
"react-dom": "^17.0.2",
|
||||||
|
"react-redux": "^7.2.3",
|
||||||
|
"redux": "^4.0.5",
|
||||||
|
"redux-thunk": "^2.3.0",
|
||||||
|
"shave": "^2.5.10",
|
||||||
|
"socket.io-client": "^4.0.0",
|
||||||
|
"store2": "^2.12.0",
|
||||||
|
"typescript": "^4.2.3",
|
||||||
|
"validator": "^13.5.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@testing-library/jest-dom": "^5.11.10",
|
||||||
|
"@testing-library/react": "^11.2.5",
|
||||||
|
"@testing-library/user-event": "^12.8.3",
|
||||||
|
"@types/jest": "^26.0.22",
|
||||||
|
"@types/lodash": "^4.14.168",
|
||||||
|
"@types/node": "^12.20.7",
|
||||||
|
"@types/react": "^17.0.3",
|
||||||
|
"@types/react-dom": "^17.0.3",
|
||||||
|
"react-app-rewired": "^2.1.8",
|
||||||
|
"react-scripts": "4.0.3",
|
||||||
|
"web-vitals": "^1.1.1",
|
||||||
|
"http-proxy-middleware": "^0.19.1"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"start": "react-app-rewired start",
|
||||||
|
"build": "react-app-rewired build",
|
||||||
|
"test": "react-app-rewired test",
|
||||||
|
"eject": "react-scripts eject"
|
||||||
|
},
|
||||||
|
"eslintConfig": {
|
||||||
|
"extends": [
|
||||||
|
"react-app",
|
||||||
|
"react-app/jest"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"browserslist": {
|
||||||
|
"production": [
|
||||||
|
">0.2%",
|
||||||
|
"not dead",
|
||||||
|
"not op_mini all"
|
||||||
|
],
|
||||||
|
"development": [
|
||||||
|
"last 1 chrome version",
|
||||||
|
"last 1 firefox version",
|
||||||
|
"last 1 safari version"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
27
tsconfig.json
Normal file
27
tsconfig.json
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "es5",
|
||||||
|
"lib": [
|
||||||
|
"dom",
|
||||||
|
"dom.iterable",
|
||||||
|
"esnext"
|
||||||
|
],
|
||||||
|
"allowJs": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"strict": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
"module": "esnext",
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"isolatedModules": true,
|
||||||
|
"noEmit": true,
|
||||||
|
"jsx": "react-jsx"
|
||||||
|
},
|
||||||
|
"extends": "./tsconfig.paths.json",
|
||||||
|
"include": [
|
||||||
|
"src"
|
||||||
|
]
|
||||||
|
}
|
||||||
8
tsconfig.paths.json
Normal file
8
tsconfig.paths.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"@/*": ["src/*"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user