Coder Social home page Coder Social logo

amp's Introduction

amp

amp logo

Documentation is here: http://amp.ampersandjs.com

To discuss, jump into the Ampersand.js Project Chatroom.

Building, etc

Everything is heavily scripted to maintain consistency.

It all starts with the modules listed in modules.json. For each item listed in there's a corresponding folder in the modules directory.

It contains a standard set of files:

  • The implementation
  • the test
  • generated, standard readme
  • package.json
  • the documentation markdown file
  • the method signature file
  • the example file

Cross browser testing

For cross browser testing on each push, things are set up to run against SauceLabs's browser VMs using Travis CI.

Running all the tests:

  • npm test

Run all the tests on saucelabs

  • npm run test-ci

Adding a new package:

  • add its name (unprefixed) to modules.json
  • run npm run build
  • a new folder will be generated with all the basics and a failing test as a starting point

Convert everything to relative requires and back

  • npm run make-local

Make sure everything is clean and follows conventions

  • npm run validate

License

MIT

amp's People

Contributors

bear avatar fyockm avatar henrik avatar henrikjoreteg avatar latentflip avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.