Skip to content

Commit

Permalink
Add npm script entries for prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
dijitali committed Apr 12, 2024
1 parent 218b42a commit fb588b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"test:unit": "vue-cli-service test:unit",
"build-component": "rm -rf dist && VUE_APP_CC_OUTPUT=embedded vue-cli-service build --target wc --name license-chooser src/main.js",
"test:cypress": "node_modules/.bin/cypress open",
"lint": "prettier ./src/**/*.{css,js,vue} --write && vue-cli-service lint src/**/*.{vue,js} --fix && npx stylelint ./src/**/*.{vue,css} --fix",
"lint": "vue-cli-service lint src/**/*.{vue,js} --fix && npx stylelint ./src/**/*.{vue,css} --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"i18n:report": "vue-cli-service i18n:report -v --src src/**/*.vue --locales src/locales/**.json -o output.json",
"prepare": "husky install"
},
Expand Down

0 comments on commit fb588b6

Please sign in to comment.