Skip to content

Commit

Permalink
include the react build types script as part of the main build types …
Browse files Browse the repository at this point in the history
…script (#259)
  • Loading branch information
ellthompson authored Jan 9, 2023
1 parent 5196086 commit 42d5acc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"build:docsite:local": "cd docs && bundle exec jekyll build --config _config_local.yml && mkdir _site/storybook && cd .. && ENVIRONMENT=production build-storybook --no-dll -o ./docs/_site/storybook && cp -r ./typedocs ./docs/_site/typedocs",
"build:docsite:production": "cd docs && bundle exec jekyll build --config _config.yml && mkdir _site/storybook && cd .. && ENVIRONMENT=production build-storybook --no-dll -o ./docs/_site/storybook && cp -r ./typedocs ./docs/_site/typedocs",
"docsite:serve": "serve docs/_site -p 3497",
"build:types": "tsc --project ./tsconfig.json --declaration --emitDeclarationOnly --outDir types",
"build:types": "tsc --project ./tsconfig.json --declaration --emitDeclarationOnly --outDir types && tsc --project ./react/tsconfig.json --declaration --emitDeclarationOnly --outDir ./react/types",
"build:typedocs": "typedoc --tsconfig ./tsconfig.json",
"storybook": "start-storybook -p 9009 -s public"
},
Expand Down
3 changes: 0 additions & 3 deletions react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,5 @@
"repository": {
"type": "git",
"url": "git+https://github.com/playcanvas/pcui.git"
},
"scripts": {
"build:types": "tsc --project ./tsconfig.json --declaration --emitDeclarationOnly --outDir types"
}
}

0 comments on commit 42d5acc

Please sign in to comment.