From 30aee3e5cf7d5370662deb78cd451b1f0f0c6622 Mon Sep 17 00:00:00 2001 From: "Rong Sen Ng (motss)" Date: Sun, 5 Dec 2021 15:02:51 +0800 Subject: [PATCH] chore: sort package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1f6b9c95..5a192e4b 100644 --- a/package.json +++ b/package.json @@ -87,6 +87,7 @@ "clean": "rm -rf .*cache *.log coverage/ dist/ logs/", "postinstall": "if [ \"$CI\" != 'true' ]; then npm dedupe; fi", "lint": "eslint src --ext .js,.ts", + "lint-commit": "npm x -y -- commitlint --edit", "lint:build": "npm run lint -- --config .build.eslintrc.json", "nano-staged": "nano-staged", "prepare": "if [ \"$CI\" != 'true' ]; then npm x -y -- simple-git-hooks; fi", @@ -97,8 +98,7 @@ "test:helpers": "TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs", "ts": "tsc", "watch": "npm run clean && tsc --watch", - "wtr": "node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js", - "lint-commit": "npm x -y -- commitlint --edit" + "wtr": "node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js" }, "simple-git-hooks": { "pre-commit": "npm run check && npm run nano-staged && npm run ts -- --noEmit",