Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSolati committed Jun 17, 2019
1 parent c773ba8 commit 892c678
Show file tree
Hide file tree
Showing 9 changed files with 1,718 additions and 3,695 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ import { Geokit, LatLngLiteral } from 'geokit';
const hash: string = 'r3gx2f77b';

const coordinates: LatLngLiteral = Geokit.decodeHash(hash); // coordinates === { lat: -33.86881113052368, lng: 151.2093186378479 }
```
```
5,352 changes: 1,688 additions & 3,664 deletions package-lock.json

Large diffs are not rendered by default.

32 changes: 15 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,21 @@
"package.json"
],
"devDependencies": {
"@types/chai": "^4.1.6",
"@types/mocha": "^5.2.5",
"chai": "^4.2.0",
"coveralls": "^3.0.2",
"firebase-tools": "^6.11.0",
"generate-changelog": "^1.7.1",
"mocha": "^6.1.4",
"nyc": "^13.0.1",
"rollup": "^0.66.6",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-copy": "^0.2.3",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-typescript2": "^0.17.1",
"rollup-plugin-uglify": "^6.0.0",
"ts-node": "^7.0.1",
"typedoc": "^0.13.0",
"typescript": "^3.1.2"
"@types/chai": "4.x.x",
"@types/mocha": "5.x.x",
"chai": "4.x.x",
"coveralls": "3.x.x",
"firebase-tools": "7.x.x",
"generate-changelog": "1.x.x",
"mocha": "6.x.x",
"nyc": "14.x.x",
"rollup": "1.x.x",
"rollup-plugin-copier": "1.x.x",
"rollup-plugin-typescript2": "0.x.x",
"rollup-plugin-uglify": "6.x.x",
"ts-node": "8.x.x",
"typedoc": "0.x.x",
"typescript": "3.x.x"
},
"nyc": {
"extension": [
Expand Down
20 changes: 11 additions & 9 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
import commonjs from 'rollup-plugin-commonjs';
import copy from 'rollup-plugin-copy';
import resolveModule from 'rollup-plugin-node-resolve';
import copier from 'rollup-plugin-copier';
import typescript from 'rollup-plugin-typescript2';
import { uglify } from 'rollup-plugin-uglify';
import pkg from './package.json';

const plugins = [
resolveModule(),
typescript({
typescript: require('typescript')
}),
commonjs()
})
];

const copy = copier({
items: [{
src: 'src/definitions.ts',
dest: 'dist/definitions.ts',
createPath: true
}]
});

const completeBuilds = [{
input: 'src/index.ts',
output: [{
Expand All @@ -37,9 +41,7 @@ const completeBuilds = [{
plugins: [
...plugins,
uglify(),
copy({
'src/interfaces': 'dist/interfaces'
})
copy
]
},
];
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/geokit.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LatLngLiteral } from './interfaces';
import { LatLngLiteral } from './definitions';
import { base32, decimalChunk, getBit, toRad, validateCoordinates } from './helpers';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LatLngLiteral } from './interfaces';
import { LatLngLiteral } from './definitions';

/**
* Get Base 32 symbol from decimal chunk (5 bit binary value).
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { Geokit } from './geokit';
export * from './interfaces';
export * from './definitions';
1 change: 0 additions & 1 deletion src/interfaces/index.ts

This file was deleted.

0 comments on commit 892c678

Please sign in to comment.