0.0.2 • Published 8 years ago
build-heroku v0.0.2
build-heroku
Configures a Heroku static application
Installing
build-heroku
is available as an
npm package.
Usage
Add build-bin
and build-heroku
to the package.json
.
{
"name": "project",
"private": true,
"scripts": {
"build": "build"
},
"devDependencies": {
"build-bin": "^0.0.6",
"build-heroku": "^0.0.1"
}
}
From the command line, run:
npm run build
build-heroku
will add a static.json
to the dist
directory,
configuring the
staticbuildpack to
enable pushstate routing and force HTTPS.
Development
Getting Started
The application requires the following external dependencies:
- Node.js
The rest of the dependencies are handled through:
npm install
Run tests with:
npm test