Skip to content

Commit

Permalink
Merge pull request #107 from KaiVolland/package-renaming
Browse files Browse the repository at this point in the history
Renames package to geostyler-legend
  • Loading branch information
KaiVolland committed Sep 6, 2019
2 parents 5470fc9 + 35f34e3 commit b8dc302
Show file tree
Hide file tree
Showing 6 changed files with 1,582 additions and 1,482 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ addons:
- libgif-dev
- librsvg2-dev
script:
- npm run test
- npm run build
after_success:
- npm run-script coveralls
cache:
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# legend-util
# geostyler-legend

[![Greenkeeper badge](https://badges.greenkeeper.io/terrestris/legend-util.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.com/terrestris/legend-util.svg?branch=master)](https://travis-ci.com/terrestris/legend-util)
[![Coverage Status](https://coveralls.io/repos/github/terrestris/legend-util/badge.svg?branch=master)](https://coveralls.io/github/terrestris/legend-util?branch=master)
[![Greenkeeper badge](https://badges.greenkeeper.io/terrestris/geostyler-legend.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.com/terrestris/geostyler-legend.svg?branch=master)](https://travis-ci.com/terrestris/geostyler-legend)
[![Coverage Status](https://coveralls.io/repos/github/terrestris/geostyler-legend/badge.svg?branch=master)](https://coveralls.io/github/terrestris/geostyler-legend?branch=master)

A helper class for rendering legends.

## Installation

```javascript static
npm i @terrestris/legend-util
npm i geostyler-legend
```

## Usage
Expand Down Expand Up @@ -45,8 +45,8 @@ one column with all the legends, thus ignoring the size parameter for the height

If you want to contribute, you can build the project like this:

* `git clone https://github.com/terrestris/legend-util`
* `cd legend-util`
* `git clone https://github.com/terrestris/geostyler-legend`
* `cd geostyler-legend`
* `npm i`

and then either
Expand Down
3 changes: 2 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
'presets': [
'@babel/env'
'@babel/env',
'@babel/preset-typescript'
],
'plugins': [
'@babel/plugin-proposal-function-bind',
Expand Down
6 changes: 5 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ module.exports = {
moduleDirectories: [
'node_modules'
],
setupFilesAfterEnv: [
'@babel/polyfill',
'jest-canvas-mock'
],
transformIgnorePatterns: [
'node_modules/(?!(d3|d3-selection|d3-array|d3-scale|d3-zoom|d3-shape|d3-color|d3-time-format|d3-format|ol)/)'
],
Expand All @@ -15,7 +19,7 @@ module.exports = {
],
transform: {
'\\.(js)$': '<rootDir>/node_modules/babel-jest',
'\\.(ts)$': 'ts-jest'
'\\.(ts)$': '<rootDir>/node_modules/babel-jest'
},
coverageDirectory: '<rootDir>/coverage'
};

0 comments on commit b8dc302

Please sign in to comment.