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
00dba831
Commit
00dba831
authored
May 30, 2019
by
lonwern
Committed by
ιεΈ
May 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #4311 lint error in windows
parent
d9954616
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
create-umi/package.json
create-umi/package.json
+2
-2
package.json
package.json
+2
-2
No files found.
create-umi/package.json
View file @
00dba831
...
...
@@ -13,7 +13,7 @@
"lint:fix"
:
"eslint --fix --ext .js src tests && npm run lint:style && npm run tslint:fix"
,
"lint:js"
:
"eslint --ext .js src tests"
,
"lint:prettier"
:
"check-prettier lint"
,
"lint:style"
:
"stylelint --fix
'src/**/*.less'
--syntax less"
,
"lint:style"
:
"stylelint --fix
\"
src/**/*.less
\"
--syntax less"
,
"lint:ts"
:
"tslint -p . -c tslint.yml"
,
"prettier"
:
" check-prettier write"
,
"start"
:
"umi dev"
,
...
...
@@ -21,7 +21,7 @@
"test"
:
"umi test"
,
"test:all"
:
"node ./tests/run-tests.js"
,
"test:component"
:
"umi test ./src/components"
,
"tslint:fix"
:
"tslint --fix
'src/**/*.ts*'
"
,
"tslint:fix"
:
"tslint --fix
\"
src/**/*.ts*
\"
"
,
"fetch:blocks"
:
"node ./scripts/fetch-blocks.js"
},
"husky"
:
{
...
...
package.json
View file @
00dba831
...
...
@@ -24,7 +24,7 @@
"lint:fix"
:
"eslint --fix --ext .js src tests && npm run lint:style && npm run tslint:fix"
,
"lint:js"
:
"eslint --ext .js src tests"
,
"lint:prettier"
:
"check-prettier lint"
,
"lint:style"
:
"stylelint --fix
'src/**/*.less'
--syntax less"
,
"lint:style"
:
"stylelint --fix
\"
src/**/*.less
\"
--syntax less"
,
"lint:ts"
:
"tslint -p . -c tslint.yml"
,
"prettier"
:
" check-prettier write"
,
"site"
:
"npm run fetch:blocks && npm run functions:build && umi build"
,
...
...
@@ -33,7 +33,7 @@
"test"
:
"umi test"
,
"test:all"
:
"node ./tests/run-tests.js"
,
"test:component"
:
"umi test ./src/components"
,
"tslint:fix"
:
"tslint --fix
'src/**/*.ts*'
"
"tslint:fix"
:
"tslint --fix
\"
src/**/*.ts*
\"
"
},
"husky"
:
{
"hooks"
:
{
...
...
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