diff --git a/package.json b/package.json index ce545c3..324230d 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.2.0", "description": "Core functions, classes and components for RecogitoJS", "sideEffects": false, + "main": "src/index.js", "scripts": { "test": "NODE_ENV=test ./node_modules/.bin/mocha --require @babel/register" }, diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..a4a7d62 --- /dev/null +++ b/src/index.js @@ -0,0 +1,8 @@ +export { default as Editor } from './editor/Editor'; +export { default as I18n } from './i18n'; +export { default as WebAnnotation } from './WebAnnotation'; +export { default as Selection } from './Selection'; +export { default as createEnvironment } from './Environment'; + +export * from './Icons'; +export * from './utils'; \ No newline at end of file