Skip to content

Commit 2db4cc4

Browse files
committed
sort scripts and add dev script at root in package.json
1 parent 2eb6bef commit 2db4cc4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"name": "vite-plugin-svelte-monorepo",
33
"private": true,
44
"scripts": {
5-
"lint": "run-p lint:script lint:style",
5+
"dev": "pnpm --dir packages/vite-plugin-svelte dev",
6+
"build:ci": "pnpm -r build-bundle --filter=./packages/vite-plugin-svelte",
7+
"build": "pnpm -r build --filter=\\!./packages/playground",
8+
"build:vite-plugin-svelte": "pnpm --dir packages/vite-plugin-svelte build",
69
"test": "run-s test:serve test:build",
710
"test:serve": "jest",
811
"test:serve:debug": "cross-env VITE_DEBUG_SERVE=1 node --inspect-brk ./node_modules/.bin/jest",
@@ -11,9 +14,7 @@
1114
"test:ci": "run-s test:ci:serve test:ci:build",
1215
"test:ci:serve": "cross-env VITE_PRESERVE_BUILD_ARTIFACTS=1 jest --verbose --no-cache --runInBand --force-exit --ci --json --outputFile=\"temp/serve/jest-results.json\" ",
1316
"test:ci:build": "cross-env VITE_TEST_BUILD=1 VITE_PRESERVE_BUILD_ARTIFACTS=1 jest --verbose --no-cache --runInBand --force-exit --ci --json --outputFile=\"temp/build/jest-results.json\"",
14-
"build:ci": "pnpm -r build-bundle --filter=./packages/vite-plugin-svelte",
15-
"build": "pnpm -r build --filter=\\!./packages/playground",
16-
"build:vite-plugin-svelte": "pnpm --dir packages/vite-plugin-svelte build",
17+
"lint": "run-p lint:script lint:style",
1718
"lint:script": "eslint --ignore-path .gitignore '**/*.{js,ts,svelte,html,svx,md}'",
1819
"lint:style": "stylelint --ignore-path .gitignore '**/*.{css,scss,svelte,html,js,ts,svx,md}'",
1920
"lint:fix": "run-s lint:fix:script lint:fix:style",
@@ -23,7 +24,7 @@
2324
"format:fix": "pnpm format -- --write",
2425
"fixup": "run-s lint:fix format:fix",
2526
"update-deps": "ncu -u",
26-
"release": "pnpm publish --tag=next --filter=\"@sveltejs/*\" --filter=\"create-svelte\""
27+
"release": "pnpm publish --tag=next --filter=\"@sveltejs/*\""
2728
},
2829
"devDependencies": {
2930
"@changesets/cli": "^2.14.1",

0 commit comments

Comments
 (0)