aboutsummaryrefslogtreecommitdiff
path: root/www/package.json
diff options
context:
space:
mode:
authorgabrielgio <gabriel.giovanini@pm.me>2022-03-25 17:37:45 +0100
committergabrielgio <gabriel.giovanini@pm.me>2022-03-25 17:37:45 +0100
commit0bef00b83e965aa350df1cd6a16c6ac39c388d93 (patch)
tree8c94855e87b50884de2ed68d969202d907a1bf0a /www/package.json
parentdf46e401bd3dac1162cace8e9259ddaba02d5332 (diff)
downloadgenpass-0bef00b83e965aa350df1cd6a16c6ac39c388d93.tar.gz
genpass-0bef00b83e965aa350df1cd6a16c6ac39c388d93.tar.bz2
genpass-0bef00b83e965aa350df1cd6a16c6ac39c388d93.zip
feat: Add initial draft for rust wasm
It adds the initial tooling for build and publishing a static site with wasm. The generate code is barebones, that is just a PoC for tooling, later I'll add proper code logic and test for it.
Diffstat (limited to 'www/package.json')
-rw-r--r--www/package.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/www/package.json b/www/package.json
new file mode 100644
index 0000000..75ece61
--- /dev/null
+++ b/www/package.json
@@ -0,0 +1,40 @@
+{
+ "name": "create-wasm-app",
+ "version": "0.1.0",
+ "description": "create an app to consume rust-generated wasm packages",
+ "main": "index.js",
+ "bin": {
+ "create-wasm-app": ".bin/create-wasm-app.js"
+ },
+ "scripts": {
+ "build": "webpack --config webpack.config.js",
+ "start": "webpack-dev-server"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/rustwasm/create-wasm-app.git"
+ },
+ "keywords": [
+ "webassembly",
+ "wasm",
+ "rust",
+ "webpack"
+ ],
+ "author": "Ashley Williams <ashley666ashley@gmail.com>",
+ "license": "(MIT OR Apache-2.0)",
+ "bugs": {
+ "url": "https://github.com/rustwasm/create-wasm-app/issues"
+ },
+ "homepage": "https://github.com/rustwasm/create-wasm-app#readme",
+ "devDependencies": {
+ "copy-webpack-plugin": "^5.0.0",
+ "hello-wasm-pack": "^0.1.0",
+ "webpack": "^4.29.3",
+ "webpack-cli": "^3.1.0",
+ "webpack-dev-server": "^3.1.5"
+ },
+ "dependencies": {
+ "bulma": "^0.9.3",
+ "genpass": "file:../pkg"
+ }
+}