build-cloudfoundry
v0.0.1
Published
Configures a Cloud Foundry staticfile application
Downloads
3
Readme
build-cloudfoundry
Configures a Cloud Foundry staticfile application
Installing
build-cloudfoundry
is available as an
npm package.
Usage
Add build-bin
and build-cloudfoundry
to the package.json
.
{
"name": "project",
"private": true,
"scripts": {
"build": "build"
},
"devDependencies": {
"build-bin": "^0.0.6",
"build-cloudfoundry": "^0.0.1"
}
}
From the command line, run:
npm run build
build-cloudfoundry
will add a Staticfile
to the dist
directory,
configuring the
staticfile buildpack 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