eddieantonio / syllabics.app

Cree SRO/Syllabics converter app.

Home Page:https://syllabics.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syllabics.app

End-to-end tests Cypress Recordings

Source code for the syllabics.app. This is a Western Cree SRO to syllabics converter app, powered by cree-sro-syllabics.

Develop

To develop, download dependencies with npm (or yarn):

npm install

This app builds using Parcel. To build, use the following:

npx parcel build index.html

This bundles the site to dist/.

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.

Test

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 to package-lock.json.

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 package-lock.json.

To interactively run tests, open Cypress:

cypress open

Add tests to cypress/integration/. See Cypress's docs for more help.

Deploy

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 dist/.

License

Copyright (C) 2018 Eddie Antonio Santos easantos@ualberta.ca

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/.

About

Cree SRO/Syllabics converter app.

https://syllabics.app/

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 65.4%Language:HTML 20.9%Language:CSS 11.7%Language:Makefile 2.0%