@dapp-stack/web
Start/Build/Stop the web framework of your choice and deploy your assets.
Installation
# Yarn
yarn add @dapp-stack/web
# NPM
npm install @dapp-stack/web
Usage
import * as web from "@dapp-stack/web";
web.start("create-react-react")
web.build("create-react-react")
web.stop("create-react-react")
web.deploy("ipfs")
Currently the only web framework supported are create-react-react
, angular
, next
and vue
.
It will delegate all the call to the underlying web framework:
The only deploy strategy supported is ipfs
If you call the function web.start
, web.build
, web.stop
or web.deploy
without any arguments, we will try to fetch the web framework or deploy strategy
from the environment file at:
environments/[DAPP_ENV].js
See: Environment for more detail.