Skip to content

Commit 4008f49

Browse files
committed
initial commit
0 parents  commit 4008f49

File tree

148 files changed

+7431
-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.

148 files changed

+7431
-0
lines changed

.editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+
15+
[Makefile]
16+
indent_style = tab

.eslintignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/lambda/
2+
/scripts
3+
/config
4+
.history

.eslintrc.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
extends: [require.resolve('@umijs/fabric/dist/eslint')],
3+
globals: {
4+
ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: true,
5+
page: true,
6+
},
7+
};

.gitignore

+177
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
# ==== project-wise ignores
2+
/python/adminui/static
3+
4+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
5+
6+
# dependencies
7+
**/node_modules
8+
# roadhog-api-doc ignore
9+
/src/utils/request-temp.js
10+
_roadhog-api-doc
11+
12+
# production
13+
/dist
14+
/.vscode
15+
16+
# misc
17+
.DS_Store
18+
npm-debug.log*
19+
yarn-error.log
20+
21+
/coverage
22+
.idea
23+
yarn.lock
24+
package-lock.json
25+
*bak
26+
.vscode
27+
28+
# visual studio code
29+
.history
30+
*.log
31+
functions/*
32+
.temp/**
33+
34+
# umi
35+
.umi
36+
.umi-production
37+
38+
# screenshot
39+
screenshot
40+
.firebase
41+
.eslintcache
42+
43+
build
44+
45+
46+
# ========
47+
# python gitignore
48+
49+
# Byte-compiled / optimized / DLL files
50+
__pycache__/
51+
*.py[cod]
52+
*$py.class
53+
54+
# C extensions
55+
*.so
56+
57+
# Distribution / packaging
58+
.Python
59+
build/
60+
develop-eggs/
61+
dist/
62+
downloads/
63+
eggs/
64+
.eggs/
65+
lib/
66+
lib64/
67+
parts/
68+
sdist/
69+
var/
70+
wheels/
71+
pip-wheel-metadata/
72+
share/python-wheels/
73+
*.egg-info/
74+
.installed.cfg
75+
*.egg
76+
MANIFEST
77+
78+
# PyInstaller
79+
# Usually these files are written by a python script from a template
80+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
81+
*.manifest
82+
*.spec
83+
84+
# Installer logs
85+
pip-log.txt
86+
pip-delete-this-directory.txt
87+
88+
# Unit test / coverage reports
89+
htmlcov/
90+
.tox/
91+
.nox/
92+
.coverage
93+
.coverage.*
94+
.cache
95+
nosetests.xml
96+
coverage.xml
97+
*.cover
98+
*.py,cover
99+
.hypothesis/
100+
.pytest_cache/
101+
102+
# Translations
103+
*.mo
104+
*.pot
105+
106+
# Django stuff:
107+
*.log
108+
local_settings.py
109+
db.sqlite3
110+
db.sqlite3-journal
111+
112+
# Flask stuff:
113+
instance/
114+
.webassets-cache
115+
116+
# Scrapy stuff:
117+
.scrapy
118+
119+
# Sphinx documentation
120+
docs/_build/
121+
122+
# PyBuilder
123+
target/
124+
125+
# Jupyter Notebook
126+
.ipynb_checkpoints
127+
128+
# IPython
129+
profile_default/
130+
ipython_config.py
131+
132+
# pyenv
133+
.python-version
134+
135+
# pipenv
136+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
137+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
138+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
139+
# install all needed dependencies.
140+
#Pipfile.lock
141+
142+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
143+
__pypackages__/
144+
145+
# Celery stuff
146+
celerybeat-schedule
147+
celerybeat.pid
148+
149+
# SageMath parsed files
150+
*.sage.py
151+
152+
# Environments
153+
.env
154+
.venv
155+
env/
156+
venv/
157+
ENV/
158+
env.bak/
159+
venv.bak/
160+
161+
# Spyder project settings
162+
.spyderproject
163+
.spyproject
164+
165+
# Rope project settings
166+
.ropeproject
167+
168+
# mkdocs documentation
169+
/site
170+
171+
# mypy
172+
.mypy_cache/
173+
.dmypy.json
174+
dmypy.json
175+
176+
# Pyre type checker
177+
.pyre/

.prettierignore

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
**/*.svg
2+
package.json
3+
.umi
4+
.umi-production
5+
/dist
6+
.dockerignore
7+
.DS_Store
8+
.eslintignore
9+
*.png
10+
*.toml
11+
docker
12+
.editorconfig
13+
Dockerfile*
14+
.gitignore
15+
.prettierignore
16+
LICENSE
17+
.eslintcache
18+
*.lock
19+
yarn-error.log
20+
.history

.prettierrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const fabric = require('@umijs/fabric');
2+
3+
module.exports = {
4+
...fabric.prettier,
5+
};

.stylelintrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const fabric = require('@umijs/fabric');
2+
3+
module.exports = {
4+
...fabric.stylelint,
5+
};

README.md

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Ant Design Pro
2+
3+
This project is initialized with [Ant Design Pro](https://pro.ant.design). Follow is the quick guide for how to use.
4+
5+
## Environment Prepare
6+
7+
Install `node_modules`:
8+
9+
```bash
10+
npm install
11+
```
12+
13+
or
14+
15+
```bash
16+
yarn
17+
```
18+
19+
## Provided Scripts
20+
21+
Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test.
22+
23+
Scripts provided in `package.json`. It's safe to modify or add additional script:
24+
25+
### Start project
26+
27+
```bash
28+
npm start
29+
```
30+
31+
### Build project
32+
33+
```bash
34+
npm run build
35+
```
36+
37+
### Check code style
38+
39+
```bash
40+
npm run lint
41+
```
42+
43+
You can also use script to auto fix some lint error:
44+
45+
```bash
46+
npm run lint:fix
47+
```
48+
49+
### Test code
50+
51+
```bash
52+
npm test
53+
```
54+
55+
## More
56+
57+
You can view full document on our [official website](https://pro.ant.design). And welcome any feedback in our [github](https://github.com/ant-design/ant-design-pro).

0 commit comments

Comments
 (0)