@bigtest/todomvc
TypeScript icon, indicating that this package has built-in type declarations

0.5.7 • Public • Published

@bigtest/todomvc

Quickly run TodoMVC apps from different frameworks

Synopsis

The TodoMVC app is the standard application of decent complexity for demonstrating the capabilities of various application frameworks. It is also the application that we use as a control group for BigTest itself.

This provides an npm installable TodoMVC app that can be used as a stand-in for an actual project anywhere that we need it, including the @bigtest/server test suite itself. Currently, it only supports a React version, but will support other framework versions in the future.

To use it, add it to your package.json:

$ yarn add -D @bigtest/todomvc

You can now start the todo mvc app by invoking the bigtest-todomvc command.

$ yarn bigtest-todomvc
serving TodoMVC application
--> http://localhost:53202

Optionally, it accepts a port number

$ yarn bigtest-todomvc 5500
serving TodoMVC application
--> http://localhost:5500

To create a TodoMVC application from code:

import { TodoMVC } from '@bigtest/todomvc';

function *start() {
  let server: TodoMVC = yield TodoMVC.react(5500);

  console.log('server listening at ', server.url);

  yield server.join();
}

Development

To run the tests:

$ yarn test

Readme

Keywords

none

Package Sidebar

Install

npm i @bigtest/todomvc

Weekly Downloads

1

Version

0.5.7

License

MIT

Unpacked Size

521 kB

Total Files

30

Last publish

Collaborators

  • frontsidejack