diff --git a/package.json b/package.json index 5e368abfc0..c886312bd5 100644 --- a/package.json +++ b/package.json @@ -39,10 +39,11 @@ "test-mock": "mocha ts/test-mock/**/*_test.js", "test-node-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/modules ts/test-node ts/test-both", "eslint": "eslint --cache .", - "lint": "run-s --print-label 'format --list-different' check:types eslint", + "lint": "run-s --print-label lint-prettier check:types eslint", "lint-deps": "node ts/util/lint/linter.js", "lint-license-comments": "ts-node ts/util/lint/license_comments.ts", - "format": "prettier --write \"*.{html,css,js,json,md,scss,ts,tsx}\" \"./**/*.{html,css,js,json,md,scss,ts,tsx}\"", + "lint-prettier": "prettier --check .", + "format": "prettier --write .", "transpile": "run-p check:types build:esbuild", "check:types": "tsc --noEmit", "clean-transpile-once": "rimraf app/**/*.js app/*.js ts/**/*.js ts/*.js tsconfig.tsbuildinfo",