To develop, download dependencies with
This app builds using Parcel. To build, use the following:
npx parcel build index.html
This bundles the site to
When I'm developing, I use Parcel in serve mode:
npx parcel serve index.html
This starts a development server at http://localhost:1234/ that automatically reloads when files change.
This project uses browser tests written in Cypress.
To install test dependencies, run:
npm run install:test
This installs Cypress (very large dependency), and does NOT add it
NOTE: Cypress must NEVER be included in
package-lock.json, because its file size exceeds the limits of Now's free plan (100MiB per file limit). Now will install everything in
package-lock.json, which includes Cypress. Cypress is never used, and it breaks the Now build. As such, it must be installed separately, skipping
To interactively run tests, open Cypress:
Add tests to
cypress/integration/. See Cypress's docs for more help.
This app is deployed using Now. Now should automatically deploy all
pull requests, as well as the
production branch. To run the build
script run by Now, type the following:
npm run now-build
This will create a static site in
Copyright (C) 2018 Eddie Antonio Santos firstname.lastname@example.org
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.