Coder Social home page Coder Social logo

xenoterracide / warmeister Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 3.72 MB

Battlescribe replacement

License: GNU Affero General Public License v3.0

HTML 15.78% JavaScript 39.33% TypeScript 39.97% CSS 4.92%
typescript cypress aurelia-framework

warmeister's Introduction

warmeister

This project is bootstrapped by aurelia/new.

Start dev web server

npm start

Build the app

Build files to dist folder.

npm run build

Unit Tests

npm run test

Run unit tests in watch mode.

npm run test:watch

Unit tests run in browser through browser-do. Please check scripts in package.json for more details.

By default, browser-do shuts down browser after tests. To keep browser window open for inspection, pass additional argument -k or --keep-open.

npm run build:test && browser-do -k --mocha --browser chrome < dist/entry-bundle.js

Unit tests in watch mode is executed through stand webpack watch mode and the help of webpack-shell-plugin-next.

Analyze webpack bundle

npm run analyze

Cypress e2e test

All e2e tests are in cypress/integration/. Note the source code of the app and unit tests is in TypeScript, but e2e tests are in plain ESNext JavaScript. You can however write e2e tests in TypeScript too for Cypress.

First, run the app in dev mode

npm start

Then run e2e tests in another terminal window with

npm run test:e2e

Note if your dev app is not running on port 9000, you need to modify cypress.json to update dev app port.

To run Cypress interactively, do

npx cypress open

For more information, visit https://www.cypress.io

LICENSE

Copyright (C) 2020 Caleb Cushing [email protected]

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 <https://www.gnu.org/licenses/>.

warmeister's People

Contributors

xenoterracide avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.