wasmweb-sample/www
2020-08-20 15:27:50 +07:00
..
.bin Updated git cached 2020-08-20 10:54:33 +07:00
.gitignore Add package lock back 2020-08-20 11:26:01 +07:00
.travis.yml Updated git cached 2020-08-20 10:54:33 +07:00
bootstrap.ts Completed with typescript sample build 2020-08-20 12:33:29 +07:00
index.html Typescript support for running web 2020-08-20 11:42:43 +07:00
index.ts Add math mod for lib 2020-08-20 15:27:50 +07:00
LICENSE-APACHE Updated git cached 2020-08-20 10:54:33 +07:00
LICENSE-MIT Updated git cached 2020-08-20 10:54:33 +07:00
package-lock.json Add package into www root 2020-08-20 11:54:34 +07:00
package.json Add package into www root 2020-08-20 11:54:34 +07:00
README.md updated readme 2020-08-20 11:46:12 +07:00
tsconfig.json Completed with typescript sample build 2020-08-20 12:33:29 +07:00
webpack.config.js Typescript support for running web 2020-08-20 11:42:43 +07:00

create-wasm-app-typescript

An npm init template for kick starting a project that uses NPM packages containing Rust-generated WebAssembly and bundles them with Webpack.

About

This template is designed for depending on NPM packages that contain Rust-generated WebAssembly and using them to create a Website.

🚴 Usage

npm init wasm-app

🔋 Batteries Included

  • .gitignore: ignores node_modules
  • LICENSE-APACHE and LICENSE-MIT: most Rust projects are licensed this way, so these are included for you
  • README.md: the file you are reading now!
  • index.html: a bare bones html document that includes the webpack bundle
  • index.ts: example js file with a comment showing how to import and use a wasm pkg
  • package.json and package-lock.json:
  • webpack.config.js: configuration file for bundling your js with webpack

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.