Tim Schaub 3582445755 Add task for publishing to npm
This task publishes an existing tag to the npm registry.  To publish a new release, create a commit that updates the version number in package.json (e.g. to "3.1.0").  Then create a tag, push to GitHub, and run the publish task.  Assuming "openlayers" is the remote for the canonical repo, this would look like the following:

    git tag -a v3.1.0 -m "3.1.0"
    git push --tags openlayers
    ./tasks/publish.sh 3.1.0

The task creates a build for each of the `PROFILES` in `publish.sh` (these correspond to `.json` files in the `config` directory).  Builds are generated in the `dist` directory.  Our `package.json` specifies `dist/ol.js` as the "main" build.  So when people use a module loader to `require('openlayers')`, they get the full build.  It is also possible to load a debug build (e.g. `require('openlayers/dist/ol-debug')`), and we can publish additional builds by adding `config` files and updating `PROFILES` in `publish.sh`.

The `.npmignore` file determines what is *not* included in the package (note that `node_modules` are always ignored).  So if additional items are added to `.gitignore` that should not be included in the npm package, they need to go in `.npmignore` as well (ideally, we don't need to generate anything else outside of the `build` directory that doesn't belong in the package).
2014-12-19 17:45:48 -07:00
2014-08-28 16:15:41 -06:00
2014-12-19 17:45:48 -07:00
2014-12-19 17:45:48 -07:00
2014-03-23 19:59:49 +01:00
2014-12-19 17:45:48 -07:00
2013-11-20 11:39:20 +01:00
2013-02-12 15:47:55 +01:00
2014-05-31 11:35:37 +01:00
2014-12-19 17:45:48 -07:00
2014-02-25 22:02:35 +01:00
2014-08-28 16:15:41 -06:00
2014-03-11 21:41:36 +01:00

OpenLayers 3

Travis CI Status

Welcome to OpenLayers 3!

Check out the hosted examples, the workshop or poke around the evolving API docs.

Please don't ask questions in the github issue tracker but use the mailing list instead.

Please see our guide on contributing if you're interested in getting involved.

Description
Languages
JavaScript 99%
CSS 0.6%
Handlebars 0.3%
Shell 0.1%