googol / formatjs-site

Documentation for client/server internationalization in JavaScript.

Home Page:http://formatjs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Documentation for client/server internationalization in JavaScript.

http://formatjs.io/

License:Other


Languages

Language:HTML 47.6%Language:JavaScript 43.9%Language:CSS 8.5%