Commit Graph

22 Commits

Author SHA1 Message Date
Denis
0a5b843a64 Update Rollup config 2017-09-25 01:12:57 -04:00
Denis
17c3eb5fca Rename index.js => index.mjs & test.js => test.mjs 2017-09-25 00:55:04 -04:00
Denis
e04f13d128 Update package.json to index.cjs.js 2017-09-25 00:40:56 -04:00
Denis
4b71bc6f7f Add Rollup config for test.js 2017-09-24 23:55:29 -04:00
Denis
7940d94437 Remove dist folders 2017-09-22 22:50:25 -04:00
Denis
e04a0bbe57 Implement @std/esm "import/exporty" code 2017-09-22 01:21:27 -04:00
Denis
593cb91449 Removal of package-lock.json 2017-09-20 22:17:36 -04:00
Denis
a9a63c8562 Add boolean-shapely script (#802) 2017-06-18 21:35:12 -04:00
Denis
71caa9e697 Add yarn.lock to Turf modules 2017-05-27 21:17:41 -04:00
Stefano Borghi
4c2af2446f Turf Transform (#752)
* first translate implementation

* rifactored multiplyMatrices; modified tests;

* implemented multi features support; add various tests;

* updated bench.js

* adds transform-rotate module

* added throws tests

* Update @turf/transform-translate
- Typescript definition
- Drop extra dependencies
- Update readme
- Minor refactoring to tests
- Added typescript tests

* Update fixtures using @turf/truncate

* Add single process timers to benchmarks

* Update typescript definitions

* Improve pivot geometry support

* Refactor @turf/rotate tests

* Update Readmes

* Add xRotation & yRotation
CC: @stebogit

* Update readme

* refactored using coordEach

* replaced clone for copying geojson;
updated bench;
removed x and y rotations parameters;

* add test for z-coordinate support

* Update param, docs & tests @turf/transform-rotate
- Reflect tests to support all GeoJSON
- Update JSDocs to support all GeoJSON
- Update typescript to All GeoJSON types
- Add mutate param
CC: @stebogit

* Update JSDocs & tests transform translate
- Add Tap for testing (easier to read results)
CC: @stebogit

* Drop meta from dependencies

* refactored transform with coordEach;
updated bench;
updated README;
restored geometry support tests;
removed unused dependencies;

* Add default zTranslation to 0

* Add does mutate tests

* fix types tests
2017-05-26 08:42:05 -04:00
Denis
49a9712426 Add Rollup packages (#584)
* Rollup packages
- truncate
- union

* Add rollup build before tests

* Drop browser rollup build for individual packages

* Remove index.browser.js

* Import io from src/jsts

* Ignore linting for union build

* Simplify Rollup config
- Do not include any dependencies in the build. Some dependencies are not ES5 and breaks the final browser build.

* Include rollup in npm script

* Add pretests & rollup at root

* Add rollup to npm script

* Make deep-slice JSDocs private

* Types testing is handled at root level

* Convert Rollup config to ES5
- Less chance of errors when linting when root package is not present
2017-03-02 08:08:56 -05:00
Denis
8a56f49119 ignore types.js
Created by `tsc test/types.ts` when testing Typescript definitions
2017-01-04 09:40:06 -05:00
Aurélien Defossez
e3cb97d14e New module: center-of-mass (#439)
* New turf.center-of-mass module.

* Added the link to the wikipedia article with the formulae.

* turf-center-of-mass passes the lint test.

* turf-center-of-mass now can take a FeatureCollection.

* Test added for turf-center-of-mass using a FeatureCollection.
2016-07-18 09:22:18 -04:00
morganherlocker
874f2a8658 better tests for turf-point-on-line 2016-05-31 18:57:24 -07:00
Tom MacWright
55656b92f4 Unirepo: turf in one repository 2016-02-26 17:44:33 -05:00
morganherlocker
687bb0d351 add line-slice & point-on-line 2015-01-26 15:58:32 -05:00
morganherlocker
a8e1fb110f clean /out 2015-01-20 16:26:39 -05:00
morganherlocker
485e865364 add gz 2014-12-18 14:51:29 -05:00
Morgan Herlocker
a2977d7663 formatting gitignore 2014-02-11 14:39:11 -05:00
chelm
bb3eb12fd8 removed node_modules and add them to git ignore 2013-11-06 06:37:47 -07:00
Morgan Herlocker
e82df26f71 removed ds_store 2013-10-11 23:19:28 -04:00
Morgan Herlocker
661c5ef73d Initial commit 2013-10-03 07:50:25 -07:00