impulse 0.1.1

A DOM framework for client side rendering using wasm-bindgen and server side rendering using the framework of your choice.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SHELL = /bin/bash
.SHELLFLAGS := -eu -o pipefail -c
.DEFAULT_GOAL := build
.DELETE_ON_ERROR:
.SUFFIXES:

build: pkg

pkg: src
	wasm-pack build
	sed -i ".bak" -e 's/"name": "impulse"/"name": "@apolitical\/impulse"/g' pkg/package.json
	rm pkg/package.json.bak

start: build
	(cd www && npm start)