|
|
|
@ -5,7 +5,7 @@
|
|
|
|
"dev": "next dev -H 0.0.0.0 -p 4121",
|
|
|
|
"dev": "next dev -H 0.0.0.0 -p 4121",
|
|
|
|
"build": "next build",
|
|
|
|
"build": "next build",
|
|
|
|
"start": "next start",
|
|
|
|
"start": "next start",
|
|
|
|
"export": "next export",
|
|
|
|
"export": "next build && next export",
|
|
|
|
"eslint": "eslint src/ --ext .ts,.tsx,.js,.jsx --fix --cache",
|
|
|
|
"eslint": "eslint src/ --ext .ts,.tsx,.js,.jsx --fix --cache",
|
|
|
|
"stylelint": "stylelint 'src/**/*.less' 'src/**/*.css' --fix --cache",
|
|
|
|
"stylelint": "stylelint 'src/**/*.less' 'src/**/*.css' --fix --cache",
|
|
|
|
"pre-commit": "pretty-quick --staged && npm run eslint && npm run stylelint"
|
|
|
|
"pre-commit": "pretty-quick --staged && npm run eslint && npm run stylelint"
|
|
|
|
|