polyfiller-catalog
A database for polyfill combinators
For more details see the Polyfiller documentation
Getting Started
This package requires Node ~0.10.0
If you haven't used npm before, be sure to check out the Getting Started guide, as it explains how to install npm and use a package.json file. Once you're familiar with that process, you may install this package with this command:
npm install polyfiller-catalog --save-dev
Once the package has been installed, it may be used inside your files with this line of JavaScript:
var catalog = ;
Usage Example
catalogSOURCES; // ['./files/']catalogMODULES; // ['./node_modules', './bower_components']
Tests
grunt test
File structure
Required file structure for each new package:
catalog
Promise
index.json
index.js
index.json
There are dependencies?
"dependencies": ["window.setImmediate"]
index.js
moduleexports = type: 'npm' name: 'es6-promises' ;
type:
Type: string [npm | bower | file]
Default: None
name:
Type: string
Default: None
package.json
Use dependencies
and bundleDependencies
for new features located in npm
bower.json
Use dependencies
for new features located in bower
The files are located locally?
catalog
Promise
files
index.js — your polyfill
index.json
index.js
// index.js var path = ; moduleexports = type: 'file' name: path ;
Contributing
- Fork the one
- Create a topic branch
- Read about file structure above
- Make your commits
- Write the tests (for new functionality)
- Run
npm test
- Submit Pull Request once Tests are Passing
License
MIT
Task submitted by Alexander Abashkin