Skip to content

Commit

Permalink
#148 update miew version
Browse files Browse the repository at this point in the history
- add Miew npm package
  • Loading branch information
AndreiMazol committed Dec 9, 2020
1 parent 4013f43 commit e7363f5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
3 changes: 2 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@ketcher/react-example",
"name": "ketcher-react-app",
"homepage": ".",
"version": "0.0.0",
"private": true,
Expand All @@ -14,6 +14,7 @@
},
"dependencies": {
"ketcher-react": "link:..",
"miew": "^0.9.0",
"react": "link:../node_modules/react",
"react-app-polyfill": "^2.0.0",
"react-dom": "link:../node_modules/react-dom"
Expand Down
6 changes: 5 additions & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import React from 'react'

//@ts-ignore
import Miew from 'miew'
import 'miew/dist/Miew.min.css'
//@ts-ignore
import { Editor } from 'ketcher-react'
import 'ketcher-react/dist/index.css'
;(global as any).Miew = Miew

const App = () => {
return (
Expand Down
13 changes: 13 additions & 0 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7391,6 +7391,14 @@ micromatch@^3.1.10, micromatch@^3.1.4:
snapdragon "^0.8.1"
to-regex "^3.0.2"

miew@^0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/miew/-/miew-0.9.0.tgz#0b050b89de2958617bdb77220d7ee051f453179e"
integrity sha512-FhuLxiJfhp5Mmc7GlfChXnDtgbYS/KjXsQTlQc60+jsVyTe6+OwlI6frpqKCmNhFgsLpmAZCNGUF6606FrjscA==
dependencies:
lodash "^4.17.15"
three "0.112.1"

miller-rabin@^4.0.0:
version "4.0.1"
resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d"
Expand Down Expand Up @@ -10873,6 +10881,11 @@ [email protected], text-table@^0.2.0:
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=

[email protected]:
version "0.112.1"
resolved "https://registry.yarnpkg.com/three/-/three-0.112.1.tgz#f8d8f4d0f8e5f753dac6260491b8209457fdc131"
integrity sha512-8I0O74hiYtKl3LgDNcPJbBGOlpekbcJ6fJnImmW3mFdeUFJ2H9Y3/UuUSW2sBdjrIlCM0gvOkaTEFlofO900TQ==

throat@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a"
Expand Down

0 comments on commit e7363f5

Please sign in to comment.