Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renames package to geostyler-legend #107

Merged
merged 4 commits into from
Sep 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'
};
Loading