Skip to content

Commit

Permalink
fix: analyze command
Browse files Browse the repository at this point in the history
  • Loading branch information
thepassle authored and daKmoR committed Sep 2, 2021
1 parent 759854b commit 7c57405
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/generators/building-rollup-ts/templates/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"scripts": {
"build": "rimraf dist && tsc && rollup -c rollup.config.js && <%= scriptRunCommand %> analyze --exclude dist",
"build": "rimraf dist && tsc && rollup -c rollup.config.js && <%= scriptRunCommand %> analyze -- --exclude dist",
"start:build": "web-dev-server --root-dir dist --app-index index.html --open"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/generators/building-rollup/templates/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"scripts": {
"build": "rimraf dist && rollup -c rollup.config.js && <%= scriptRunCommand %> analyze --exclude dist",
"build": "rimraf dist && rollup -c rollup.config.js && <%= scriptRunCommand %> analyze -- --exclude dist",
"start:build": "web-dev-server --root-dir dist --app-index index.html --open"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/generators/demoing-storybook-ts/templates/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scripts": {
"storybook": "tsc && <%= scriptRunCommand %> analyze --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
"storybook:build": "tsc && <%= scriptRunCommand %> analyze --exclude dist && build-storybook"
"storybook": "tsc && <%= scriptRunCommand %> analyze -- --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
"storybook:build": "tsc && <%= scriptRunCommand %> analyze -- --exclude dist && build-storybook"
},
"devDependencies": {
"@web/dev-server-storybook": "next"
Expand Down
4 changes: 2 additions & 2 deletions src/generators/demoing-storybook/templates/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scripts": {
"storybook": "<%= scriptRunCommand %> analyze --exclude dist && web-dev-server -c .storybook/server.mjs",
"storybook:build": "<%= scriptRunCommand %> analyze --exclude dist && build-storybook"
"storybook": "<%= scriptRunCommand %> analyze -- --exclude dist && web-dev-server -c .storybook/server.mjs",
"storybook:build": "<%= scriptRunCommand %> analyze -- --exclude dist && build-storybook"
},
"devDependencies": {
"@web/dev-server-storybook": "next"
Expand Down
4 changes: 2 additions & 2 deletions src/generators/wc-lit-element-ts/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
},
"scripts": {
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
"build": "tsc && <%= scriptRunCommand %> analyze --exclude dist",
"prepublish": "tsc && <%= scriptRunCommand %> analyze --exclude dist"
"build": "tsc && <%= scriptRunCommand %> analyze -- --exclude dist",
"prepublish": "tsc && <%= scriptRunCommand %> analyze -- --exclude dist"
},
"dependencies": {
"lit": "^2.0.0-rc.3"
Expand Down

0 comments on commit 7c57405

Please sign in to comment.