Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweaks for local serving #297

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -7,18 +7,18 @@
"url": "https://github.com/bldrs-ai/Share/issues"
},
"scripts": {
"build": "yarn clean && yarn build-docs && yarn build-share && yarn build-storybook",
"build-docs": "shx cp -r public docs",
"build-share": "yarn write-new-version && node config/build.js && yarn build-share-copy-web-asm",
"build": "yarn build-docs && yarn build-share && yarn build-storybook",
"build-docs": "yarn clean && shx cp -r public docs",
"build-share": "yarn build-docs && yarn write-new-version && node config/build.js && yarn build-share-copy-web-asm",
"build-share-copy-web-asm": "shx cp node_modules/web-ifc/*.wasm docs/static/js",
"build-storybook": "build-storybook -o docs/sb",
"build-storybook": "shx mkdir -p docs ; build-storybook -o docs/sb",
"clean": "shx rm -rf docs",
"husky-init": "husky install",
"lint": "yarn eslint src",
"precommit": "yarn lint && yarn test",
"serve": "yarn serve-share",
"serve-share": "yarn build-share && node config/serve.js",
"serve-storybook": "yarn build-storybook && start-storybook -p 6006",
"serve-storybook": "start-storybook -p 6006",
"test": "jest",
"write-new-version": "node src/utils/version.mjs > package.json.new && shx mv package.json.new package.json"
},
Expand Down