Skip to content

Commit fde1f57

Browse files
committed
updated import scheme
1 parent f024bdd commit fde1f57

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "react-nlp-annotate",
3-
"version": "0.3.1",
4-
"homepage": "https://waoai.github.io/react-nlp-annotate/",
3+
"version": "0.3.4",
4+
"homepage": "https://universaldatatool.github.io/react-nlp-annotate/",
5+
"main": "./dist/lib.js",
56
"dependencies": {
67
"@material-ui/lab": "^4.0.0-alpha.56",
78
"color-alpha": "^1.0.4",
@@ -11,7 +12,7 @@
1112
"use-event-callback": "^0.1.0"
1213
},
1314
"scripts": {
14-
"build": "rimraf dist && npm run build:babel && cp ./package.json ./dist/package.json",
15+
"build": "rimraf dist && npm run build:babel",
1516
"build:babel": "NODE_ENV=production babel ./src --out-dir=./dist",
1617
"release": "npm run build && cd dist && npm publish",
1718
"storybook": "start-storybook -p 9050 -s public",

src/lib.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import NLPAnnotator from "./components/NLPAnnotator"
2+
3+
export default NLPAnnotator

0 commit comments

Comments
 (0)