Skip to content

Commit

Permalink
fix(package): move development commands to playground
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed May 5, 2023
1 parent 0eb410e commit a8dd5dc
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 76 deletions.
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,9 @@
"src/locale"
],
"scripts": {
"prepack": "nuxt-module-build",
"dev": "nuxi dev playground",
"dev:prepare": "nuxt-module-build --stub && cd playground && nuxi prepare",
"dev:build": "nuxi build playground",
"lint": "pnpm prepack && eslint --ext .js,.ts,.vue . && nuxi typecheck playground",
"prepare": "husky install && pnpm dev:prepare"
"build": "nuxt-module-build",
"prepack": "pnpm build",
"prepare": "husky install"
},
"dependencies": {
"@nuxt/kit": "3.4.3",
Expand Down
8 changes: 7 additions & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"private": true,
"name": "cookie-control-playground"
"name": "cookie-control-playground",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"lint": "pnpm --dir .. build && eslint --ext .js,.ts,.vue . && nuxt typecheck",
"prepare": "cd .. && pnpm build --stub && cd playground && nuxt prepare"
}
}
142 changes: 73 additions & 69 deletions pnpm-lock.yaml

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

2 changes: 2 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages:
- "playground"

0 comments on commit a8dd5dc

Please sign in to comment.