Skip to content

Commit 719c17c

Browse files
committed
style: alphabetize package.json scripts
1 parent 0e5c1c7 commit 719c17c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -32,34 +32,34 @@
3232
},
3333
"scripts": {
3434
"_format": "prettier --loglevel=warn \"{src,tools,scripts,tests,.github}/**/*.{mjs,cjs,js,mts,md,yml,json,html,ts}\" \"*.{mjs,cjs,js,mts,yml,json,html,ts}\" \".*.{mjs,cjs,js,yml,json,html,ts}\" \"!CHANGELOG.md\" \"!**/*/package-lock.json\" \"!.github/**/*.md\"",
35-
"clean": "rm -rf dist/",
36-
"start": "node ./bin/run.js",
3735
"build": "tsc --project tsconfig.build.json",
36+
"certs": "openssl req -x509 -out localhost.crt -keyout localhost.key -newkey rsa:2048 -nodes -sha256 -subj \"/CN=localhost\" -extensions EXT -config certconf",
37+
"clean": "rm -rf dist/",
3838
"dev": "tsc --project tsconfig.build.json --watch",
39-
"test": "npm run test:dev",
39+
"docs": "npm run --prefix=site build",
40+
"e2e": "node ./tools/e2e/run.js",
4041
"format": "npm run _format -- --write",
4142
"format:check": "npm run _format -- --check",
43+
"start": "node ./bin/run.js",
44+
"test": "npm run test:dev",
4245
"lint": "eslint --cache \"{src,scripts,tests,.github}/**/*.{mjs,cjs,js,md,html}\" \"*.{mjs,cjs,js,md,html}\"",
4346
"lint:fix": "npm run lint --fix",
4447
"test:dev": "run-s certs test:init:* test:dev:*",
48+
"test:dev:vitest": "vitest run tests/unit/ && vitest run tests/integration",
4549
"test:init": "run-s test:init:*",
46-
"test:init:cli-version": "npm run start -- --version",
4750
"test:init:cli-help": "npm run start -- --help",
51+
"test:init:cli-version": "npm run start -- --version",
4852
"test:init:eleventy-deps": "cd tests/integration/__fixtures__/eleventy-site && pnpm install --frozen-lockfile",
4953
"test:init:hugo-deps": "npm ci --prefix tests/integration/__fixtures__/hugo-site --no-audit",
5054
"test:init:monorepo-deps": "cd tests/integration/__fixtures__/monorepo && pnpm install --frozen-lockfile",
5155
"test:init:next-deps": "npm ci --prefix tests/integration/__fixtures__/next-app-without-config --no-audit && npm ci --prefix tests/integration/__fixtures__/next-app --no-audit",
52-
"test:dev:vitest": "vitest run tests/unit/ && vitest run tests/integration",
53-
"test:ci:vitest:unit": "vitest run --coverage tests/unit/",
5456
"test:ci:vitest:integration": "vitest run --coverage tests/integration/",
55-
"e2e": "node ./tools/e2e/run.js",
56-
"docs": "npm run --prefix=site build",
57-
"watch": "c8 --reporter=lcov vitest --watch",
57+
"test:ci:vitest:unit": "vitest run --coverage tests/unit/",
5858
"postinstall": "node ./scripts/postinstall.js",
5959
"prepublishOnly": "npm shrinkwrap",
60-
"certs": "openssl req -x509 -out localhost.crt -keyout localhost.key -newkey rsa:2048 -nodes -sha256 -subj \"/CN=localhost\" -extensions EXT -config certconf",
6160
"typecheck": "tsc",
62-
"typecheck:watch": "tsc --watch"
61+
"typecheck:watch": "tsc --watch",
62+
"watch": "c8 --reporter=lcov vitest --watch"
6363
},
6464
"dependencies": {
6565
"@fastify/static": "7.0.4",

0 commit comments

Comments
 (0)