Skip to content

Commit 99abe4e

Browse files
committed
truck management added
0 parents  commit 99abe4e

File tree

123 files changed

+51692
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+51692
-0
lines changed

.env

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
REACT_APP_VERSION = v3.3.2
2+
GENERATE_SOURCEMAP = false

.eslintrc

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"browser": true,
5+
"es2021": true
6+
},
7+
"extends": [
8+
"prettier",
9+
"plugin:react/jsx-runtime",
10+
"plugin:jsx-a11y/recommended",
11+
"plugin:react-hooks/recommended",
12+
"eslint:recommended",
13+
"plugin:react/recommended"
14+
],
15+
"settings": {
16+
"react": {
17+
"createClass": "createReactClass", // Regex for Component Factory to use,
18+
// default to "createReactClass"
19+
"pragma": "React", // Pragma to use, default to "React"
20+
"fragment": "Fragment", // Fragment to use (may be a property of <pragma>), default to "Fragment"
21+
"version": "detect", // React version. "detect" automatically picks the version you have installed.
22+
// You can also use `16.0`, `16.3`, etc, if you want to override the detected value.
23+
// It will default to "latest" and warn if missing, and to "detect" in the future
24+
"flowVersion": "0.53" // Flow version
25+
},
26+
"import/resolver": {
27+
"node": {
28+
"moduleDirectory": ["node_modules", "src/"]
29+
}
30+
}
31+
},
32+
"parser": "@babel/eslint-parser",
33+
"parserOptions": {
34+
"ecmaFeatures": {
35+
"experimentalObjectRestSpread": true,
36+
"impliedStrict": true,
37+
"jsx": true
38+
},
39+
"ecmaVersion": 12
40+
},
41+
"plugins": ["prettier", "react", "react-hooks"],
42+
"rules": {
43+
"react/jsx-uses-react": "error",
44+
"react/jsx-uses-vars": "error",
45+
"react/react-in-jsx-scope": "off",
46+
"no-undef": "off",
47+
"react/display-name": "off",
48+
"react/jsx-filename-extension": "off",
49+
"no-param-reassign": "off",
50+
"react/prop-types": 1,
51+
"react/require-default-props": "off",
52+
"react/no-array-index-key": "off",
53+
"react/jsx-props-no-spreading": "off",
54+
"react/forbid-prop-types": "off",
55+
"import/order": "off",
56+
"import/no-cycle": "off",
57+
"no-console": "off",
58+
"jsx-a11y/anchor-is-valid": "off",
59+
"prefer-destructuring": "off",
60+
"no-shadow": "off",
61+
"import/no-named-as-default": "off",
62+
"import/no-extraneous-dependencies": "off",
63+
"jsx-a11y/no-autofocus": "off",
64+
"no-restricted-imports": [
65+
"error",
66+
{
67+
"patterns": ["@mui/*/*/*", "!@mui/material/test-utils/*"]
68+
}
69+
],
70+
"no-unused-vars": [
71+
"error",
72+
{
73+
"ignoreRestSiblings": false
74+
}
75+
],
76+
"prettier/prettier": [
77+
"warn",
78+
{
79+
"bracketSpacing": true,
80+
"printWidth": 140,
81+
"singleQuote": true,
82+
"trailingComma": "none",
83+
"tabWidth": 2,
84+
"useTabs": false,
85+
"endOfLine": "auto"
86+
}
87+
]
88+
}
89+
}

.gitignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
24+
/.idea/

.prettierrc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bracketSpacing": true,
3+
"printWidth": 140,
4+
"singleQuote": true,
5+
"trailingComma": "none",
6+
"tabWidth": 2,
7+
"useTabs": false
8+
}

README.md

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Getting Started with Create React App
2+
3+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4+
5+
## Available Scripts
6+
7+
In the project directory, you can run:
8+
9+
### `npm install`
10+
11+
Install packages
12+
13+
### `npm start`
14+
15+
Runs the app in the development mode.\
16+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
17+
18+
The page will reload when you make changes.\
19+
You may also see any lint errors in the console.
20+
21+
### `npm test`
22+
23+
Launches the test runner in the interactive watch mode.\
24+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
25+
26+
### `npm run build`
27+
28+
Builds the app for production to the `build` folder.\
29+
It correctly bundles React in production mode and optimizes the build for the best performance.
30+
31+
The build is minified and the filenames include the hashes.\
32+
Your app is ready to be deployed!
33+
34+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
35+
36+
### `npm run eject`
37+
38+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
39+
40+
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
41+
42+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
43+
44+
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
45+
46+
## Learn More
47+
48+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
49+
50+
To learn React, check out the [React documentation](https://reactjs.org/).
51+
52+
### Code Splitting
53+
54+
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
55+
56+
### Analyzing the Bundle Size
57+
58+
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
59+
60+
### Making a Progressive Web App
61+
62+
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
63+
64+
### Advanced Configuration
65+
66+
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
67+
68+
### Deployment
69+
70+
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
71+
72+
### `npm run build` fails to minify
73+
74+
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)

jsconfig.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"target": "esnext",
4+
"module": "commonjs",
5+
"baseUrl": "src"
6+
},
7+
"include": ["src/**/*"],
8+
"exclude": ["node_modules"]
9+
}

0 commit comments

Comments
 (0)