Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 1.11 KB

README.md

File metadata and controls

37 lines (19 loc) · 1.11 KB

NAP-Components Build Status


About

This is a repository for all web components built for the Net-A-Porter website.

Build

Install Node/NPM if you don't already have it. Install Bower

Install Grunt, or just use the version from node_modules

Run:

npm install -g web-component-tester

npm install

bower install

If you have issues installing try:

$ git config url."https://".insteadOf git://

grunt or ./node_modules/grunt_cli/bin/grunt

This runs the Vulcanize process and generates a minified and inlined version of your components. You should run this before committing new code.

Testing

Run ./test.sh to test your components. This runs against Chrome, Firefox, Safari and IE using Sauce Labs.

When writing new tests, either follow the examples already in the repo, or refer to the Polymer docs on unit testing.