Re-adding index.js for easier imports

This commit is contained in:
Rainer Simon 2021-06-05 13:49:30 +02:00
parent f0ae10ce0d
commit 5e876f99bc
2 changed files with 9 additions and 0 deletions

View File

@ -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"
},

8
src/index.js Normal file
View File

@ -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';