diff --git a/package.json b/package.json index 2bbf115..4751d3e 100644 --- a/package.json +++ b/package.json @@ -16,17 +16,16 @@ "dev": "npm run build:template && npm run build:prism && npm run dev:tool", "dev:tool": "vue-cli-service serve src/nginxconfig/mount.js", "deploy:spaces:comment": "do-vue comment nginxconfig", - "test": "npm run test:prettier && npm run test:eslint && npm run test:stylelint && npm run test:i18n-packs && npm run test:jest", + "test": "npm run test:prettier:fix && npm run test:eslint && npm run test:stylelint && npm run test:i18n-packs && npm run test:jest", "test:jest": "jest --env=jsdom /test/.*.js?$", - "test:fix": "npm run test:eslint:fix", + "test:fix": "npm run test:prettier:fix && npm run test:eslint:fix", "test:eslint": "eslint 'src/**/*.{js,vue}' --cache", "test:eslint:fix": "npm run test:eslint -- --fix", "test:stylelint": "stylelint 'src/**/*.scss' --config node_modules/do-bulma/.stylelintrc.json", "test:i18n-packs": "node --es-module-specifier-resolution=node src/nginxconfig/i18n/verify.js", - "test:prettier": "npm run prettier:check", - "prepare": "husky install", - "prettier": "prettier --write 'src/**/*.{js,vue}'", - "prettier:check": "prettier 'src/**/*.{js,vue}' --check" + "test:prettier": "prettier 'src/**/*.{js,vue}' --check", + "test:prettier:fix": "prettier --write 'src/**/*.{js,vue}'", + "prepare": "husky install" }, "jest": { "testRegex": "/test/.*.js?$"