Use prettier to format style code

This commit is contained in:
redhoodsu
2018-06-18 17:56:12 +08:00
parent 29d9d75d39
commit c05b4403fb
20 changed files with 1444 additions and 1306 deletions

View File

@@ -10,7 +10,7 @@
"dev": "webpack-dev-server --config script/webpack.dev.js --host 0.0.0.0",
"test": "karma start",
"test:sauce": "karma start karma.sauce.js",
"format": "prettier *.js eustia/*.js src/**/*.js src/*.js script/*.js test/*.js --write",
"format": "prettier *.js eustia/*.js src/**/*.js src/*.js script/*.js test/*.js src/**/*.scss src/**/*.css --write",
"lint": "eslint src/**/*.js",
"setup": "node script/cpTestLib",
"genIcon": "node script/icomoon",