Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.
/ formatjs-site Public archive

Documentation for client/server internationalization in JavaScript.

License

Notifications You must be signed in to change notification settings

formatjs/formatjs-site

Repository files navigation

FormatJS

Build Status Dependency Status

Website for Yahoo's JavaScript internationalization suite.

Running Locally

This is a Node.js app which uses Express.

$ npm install
$ npm start

To run the health checks:

$ grunt health.check

By default, it will run the tests using the local instance (running on port 5000) But you can also specify a remote host:

$ grunt health.check --host=foo

To run the functional tests, you must first install grunt-casper manually:

$ npm install grunt-casper@0.4.2

The grunt-casper package was removed from the list of dev dependencies because it adds 150MB to the install, which slows down the pace of development, especially if you don't need to run the functional tests. Because of this, grunt will complain every time you invoke it, but you can disregard the warning message it outputs.

To run, the functional tests, simply execute the functional.tests grunt task:

$ grunt functional.tests

Likewise, it will run the tests using the local instance (running on port 5000) Again, you can also specify a remote host:

$ grunt functional.tests --host=foo

License

This software is free to use under the Yahoo Inc. BSD license. See the LICENSE file for license text and copyright information.