mirror of
https://github.com/flarum/framework.git
synced 2025-04-02 23:19:04 +08:00
Add NPM shortcut for running prettier
This commit is contained in:
parent
19adcf33dd
commit
c098423c00
@ -24,6 +24,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "webpack --mode development --watch",
|
"dev": "webpack --mode development --watch",
|
||||||
"build": "webpack --mode production"
|
"build": "webpack --mode production",
|
||||||
|
"format": "prettier --write src"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user