Skip to content

Commit

Permalink
Update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Oct 7, 2022
1 parent 0dac3f0 commit f3a55d9
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 7 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"type": "module",
"scripts": {
"test": "pnpm --dir tests test",
"lint": "prettier \"**/*.{js,ts,jsx,css,md,vue,svelte,astro}\" --check --cache --ignore-path .gitignore",
"format": "prettier \"**/*.{js,ts,jsx,css,md,vue,svelte,astro}\" --write --cache --ignore-path .gitignore"
},
Expand Down Expand Up @@ -33,4 +34,4 @@
]
}
}
}
}
30 changes: 30 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ packages:
- docs
- packages/*
- playground/*
- tests
- tests/*
6 changes: 3 additions & 3 deletions tests/playground-vite-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"private": true,
"type": "module",
"scripts": {
"dev": "cd ../../playground/vite-svelte && pnpm dev",
"build": "cd ../../playground/vite-svelte && pnpm build",
"preview": "cd ../../playground/vite-svelte && pnpm preview"
"dev": "pnpm --dir ../../playground/vite-svelte dev",
"build": "pnpm --dir ../../playground/vite-svelte build",
"preview": "pnpm --dir ../../playground/vite-svelte preview"
}
}
6 changes: 3 additions & 3 deletions tests/playground-vite-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"private": true,
"type": "module",
"scripts": {
"dev": "cd ../../playground/vite-vue && pnpm dev",
"build": "cd ../../playground/vite-vue && pnpm build",
"preview": "cd ../../playground/vite-vue && pnpm preview"
"dev": "pnpm --dir ../../playground/vite-vue dev",
"build": "pnpm --dir ../../playground/vite-vue build",
"preview": "pnpm --dir ../../playground/vite-vue preview"
}
}

0 comments on commit f3a55d9

Please sign in to comment.