Skip to content

AmpersandJS/amp

Folders and files

NameName
Last commit message
Last commit date
Mar 25, 2015
Jul 9, 2019
Mar 25, 2015
Mar 25, 2015
Jan 12, 2015
Nov 28, 2014
Dec 17, 2014
Mar 14, 2015
Dec 8, 2014
Nov 26, 2014
Jan 19, 2016
Dec 16, 2014
Dec 9, 2014
Jan 7, 2015
Jul 9, 2019
Mar 26, 2015
Feb 12, 2015
Nov 10, 2014

Repository files navigation

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

About

a collection of individual JS utility modules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published