forked from thelonious/kld-intersections
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Enhancement: ESM distribution and point to source via `package.json…
…` `module` - Refactoring: ESM in source; change Bezier functions to individual exports - Docs: Fix jsdoc item; Add jsdoc config - npm: Add `rollup` script; add it and `eslint` to test script; add `jsdoc` script and scripts/server for opening docs; update deps
- Loading branch information
Showing
12 changed files
with
2,082 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,9 @@ lib-cov | |
pids | ||
logs | ||
results | ||
dist | ||
docs/jsdoc | ||
|
||
npm-debug.log | ||
|
||
node_modules/ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* eslint-env node */ | ||
'use strict'; | ||
|
||
module.exports = { | ||
plugins: [], | ||
recurseDepth: 10, | ||
source: { | ||
exclude: [ | ||
'node_modules', | ||
'dist', | ||
'test' | ||
], | ||
excludePattern: 'rollup*' | ||
}, | ||
sourceType: 'module', | ||
tags: { | ||
allowUnknownTags: false | ||
}, | ||
templates: { | ||
cleverLinks: true, | ||
monospaceLinks: false | ||
}, | ||
opts: { | ||
recurse: true, | ||
verbose: true, | ||
destination: 'docs/jsdoc' | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
// expose module classes | ||
import IntersectionParams from './lib/IntersectionParams'; | ||
|
||
exports.intersect = require('./lib/intersect'); | ||
exports.shape = require('./lib/IntersectionParams').newShape; | ||
export const shape = IntersectionParams.newShape; | ||
|
||
export {default as intersect} from './lib/intersect'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.