diff --git a/package.json b/package.json index e2132c0..6c48e7a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Deep diffs two objects, including nested structures of arrays and objects, and return the difference.", "main": "dist/index.js", "files": [ - "dist/index.js", + "dist", "README.md" ], "scripts": { diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..87337a1 --- /dev/null +++ b/src/index.js @@ -0,0 +1,13 @@ +import diff from './diff'; +import addedDiff from './added'; +import deletedDiff from './deleted'; +import updatedDiff from './updated'; +import detailedDiff from './detailed'; + +export { + addedDiff, + diff, + deletedDiff, + updatedDiff, + detailedDiff +};