Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
6043d892
Commit
6043d892
authored
May 29, 2019
by
ζθ΄€
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use defult mock
parent
f2e3525f
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4131 additions
and
5 deletions
+4131
-5
.gitignore
.gitignore
+0
-1
lambda/mock/index.js
lambda/mock/index.js
+4130
-0
package.json
package.json
+1
-1
scripts/generateMock.js
scripts/generateMock.js
+0
-3
No files found.
.gitignore
View file @
6043d892
...
@@ -26,7 +26,6 @@ package-lock.json
...
@@ -26,7 +26,6 @@ package-lock.json
.history
.history
*.log
*.log
functions/*
functions/*
lambda/mock/index.js
.temp/**
.temp/**
# umi
# umi
...
...
lambda/mock/index.js
0 β 100644
View file @
6043d892
This diff is collapsed.
Click to expand it.
package.json
View file @
6043d892
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
"lint:style"
:
"stylelint --fix 'src/**/*.less' --syntax less"
,
"lint:style"
:
"stylelint --fix 'src/**/*.less' --syntax less"
,
"lint:ts"
:
"tslint -p . -c tslint.yml"
,
"lint:ts"
:
"tslint -p . -c tslint.yml"
,
"prettier"
:
" check-prettier write"
,
"prettier"
:
" check-prettier write"
,
"site"
:
"npm run fetch:blocks && umi build
&& npm run functions:build
"
,
"site"
:
"npm run fetch:blocks && umi build"
,
"start"
:
"umi dev"
,
"start"
:
"umi dev"
,
"start:no-mock"
:
"cross-env MOCK=none umi dev"
,
"start:no-mock"
:
"cross-env MOCK=none umi dev"
,
"test"
:
"umi test"
,
"test"
:
"umi test"
,
...
...
scripts/generateMock.js
deleted
100644 β 0
View file @
f2e3525f
const
generateMock
=
require
(
'
merge-umi-mock-data
'
);
const
path
=
require
(
'
path
'
);
generateMock
(
path
.
join
(
__dirname
,
'
../mock
'
),
path
.
join
(
__dirname
,
'
../lambda/mock/index.js
'
));
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment