Skip to content

A starter kit for creating Smithy apps! `npm init smithy-app my_smithy_app`

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

rbalicki2/create-smithy-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-smithy-app

A starter pack for writing and running Smithy apps!

Smithy is a Rust framework for writing WebAssembly apps.

Learn more about Smithy or view the repository.

About

This template is designed for creating Smithy apps.

It is a fork of the excellent rust-webpack-template.

🚴 Using This Template

You can use npm init to clone this template:

npm init smithy-app my_smithy_app
cd my_smithy_app
npm start

🔋 Batteries Included

This template comes pre-configured with all the boilerplate for compiling Rust to WebAssembly and hooking into a Webpack build pipeline.

  • npm start -- Serve the project locally for development at http://localhost:8080. It auto-reloads when you make any changes.

  • npm run build:prod -- Export the project into the /pkg folder. These files can now be served statically, e.g. from a CDN.

  • npm run serve:prod -- After npm run build:prod has been run, serves the files statically (using python. This may change soon to decrease the number of dependencies).

  • S3_BUCKET=... npm run upload -- After npm run build:prod has been run, uploads the files to an S3 bucket with the correct mime types and with brotli compression.

  • npm test -- Run the project's unit tests.

About

A starter kit for creating Smithy apps! `npm init smithy-app my_smithy_app`

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published