HostFat / copay-website

Home Page:https://copay.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Dependency Status devDependency Status Stories in Ready

Run

$ npm install
$ npm start

Developing

$ npm install -g gulp
$ npm install
$ gulp serve

Production Build

$ gulp

Build and optimize the site, ready for deployment. This includes linting as well as image, script, stylesheet and HTML optimization and minification.

Serve Production Build

$ gulp serve:dist

Serve the optimized and minified version of the site for local testing.

Deploy to gh-pages

$ gulp deploy

This builds for production, then deploys the dist folder to gh-pages.

Compress all images

$ gulp images

This command pipes all files in src/images through imagemin.

Brand Assets

All Copay brand assets can be found in copay-brand.

Translations

Translatable strings are extracted and added to the native locale file (locales/en.json) using s18n. A warning will be generated if a string is missing in any other locale file.

Simulate Translations

npm run simulate-translations

Simulates translation by mapping the s18n accents dictionary to the current en.json. This produces an accents locale, which can be previewed at the /accents route (e.g. localhost:3000/accents/)

About

https://copay.io/


Languages

Language:JavaScript 54.3%Language:CSS 31.5%Language:HTML 11.9%Language:CoffeeScript 1.8%Language:PHP 0.5%Language:Makefile 0.0%Language:Groff 0.0%