Skip to content

Commit

Permalink
fixing npm build
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuri committed Oct 20, 2016
1 parent cdb2461 commit 4c615ef
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 70 deletions.
3 changes: 0 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
config
css
docs
images
interfaces
js
template
.babelrc
.eslintignore
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ A Wysiwyg editor built using ReactJS and DeaftJS libraries.
- Support for adding / uploading images.
- Support for configuring visibility of toolbar.

## Installing
- The package can be installed from npm `[email protected]`
- The current version is `0.1.7` it can be installed from npm, though npm page show still old package 0.0.7 - I am following up with npm team to get that fixed.
- Due to some build issues current npm code is not minified version - I will fix it in few days.

## Thanks
Thanks to [iPaoo](http://www.ipaoo.com/) for sponsoring the development.

Expand Down
65 changes: 24 additions & 41 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
"mocha": "^3.1.0",
"postcss-loader": "^0.13.0",
"precss": "^1.4.0",
"react": "^15.3.2",
"react-addons-test-utils": "^15.3.2",
"react-dom": "^15.3.2",
"react-router": "^2.8.1",
"react-transform-catch-errors": "^1.0.2",
"react-transform-hmr": "^1.0.4",
Expand All @@ -45,7 +43,7 @@
"webpack": "^1.13.2",
"webpack-dev-middleware": "^1.8.4",
"webpack-hot-middleware": "^2.12.2",
"react-draft-wysiwyg": "git:https://github.com/jpuri/react-draft-wysiwyg.git:c945b68",
"react-draft-wysiwyg": "0.1.7",
"webpack-stream": "^3.2.0"
},
"repository": {
Expand All @@ -69,7 +67,7 @@
"immutable": "^3.8.1",
"react": "^15.3.2",
"react-dom": "^15.3.2",
"react-draft-wysiwyg": "git:https://github.com/jpuri/react-draft-wysiwyg.git:c945b68",
"react-draft-wysiwyg": "0.1.7",
"react-router": "^2.8.1"
}
}
8 changes: 8 additions & 0 deletions docs/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,19 @@ import { Router, IndexRoute, Route, hashHistory } from 'react-router';
import {
App,
Home,
Demo1,
Demo2,
Demo3,
Demo4,
} from './components';
import styles from '../css/normalize.css'; // eslint-disable-line no-unused-vars

ReactDOM.render(<Router history={hashHistory}>
<Route path="/" component={App}>
<Route path="/demo1" component={Demo1} />
<Route path="/demo2" component={Demo2} />
<Route path="/demo3" component={Demo3} />
<Route path="/demo4" component={Demo4} />
<IndexRoute component={Home} />
</Route>
</Router>, document.getElementById('app')); // eslint-disable-line no-undef
6 changes: 3 additions & 3 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4159,9 +4159,9 @@ react-dom@^15.3.2:
version "15.3.2"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.3.2.tgz#c46b0aa5380d7b838e7a59c4a7beff2ed315531f"

react-draft-wysiwyg:
version "0.1.4"
resolved "https://registry.yarnpkg.com/react-draft-wysiwyg/-/react-draft-wysiwyg-0.1.4.tgz#fd2a5468505651d178d69a68437dcee2729481c6"
react-draft-wysiwyg@0.1.7:
version "0.1.7"
resolved "https://registry.yarnpkg.com/react-draft-wysiwyg/-/react-draft-wysiwyg-0.1.7.tgz#59d36f7e24c7df5d06bac22b80743d82c0ddb12d"
dependencies:
classnames "^2.2.5"
draft-js "^0.9.1"
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "react-draft-wysiwyg",
"version": "0.1.4",
"version": "0.1.7",
"description": "A wysiwyg on top of Draft.",
"main": "dist/index.js",
"main": "js/src/index.js",
"devDependencies": {
"autoprefixer": "^6.5.0",
"babel-core": "^6.17.0",
Expand Down Expand Up @@ -31,8 +31,6 @@
"mocha": "^3.1.0",
"postcss-loader": "^0.13.0",
"precss": "^1.4.0",
"react": "^15.3.2",
"react-dom": "^15.3.2",
"react-addons-test-utils": "^15.3.2",
"react-transform-catch-errors": "^1.0.2",
"react-transform-hmr": "^1.0.4",
Expand Down
16 changes: 2 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ fastparse@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.1.tgz#d1e2643b38a94d7583b479060e6c4affc94071f8"

fbjs@^0.8.3, fbjs@^0.8.4:
fbjs@^0.8.3:
version "0.8.5"
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.5.tgz#f69ba8a876096cb1b9bffe4d7c1e71c19d39d008"
dependencies:
Expand Down Expand Up @@ -3117,7 +3117,7 @@ longest@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"

loose-envify@^1.0.0, loose-envify@^1.1.0:
loose-envify@^1.0.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.2.0.tgz#69a65aad3de542cf4ee0f4fe74e8e33c709ccb0f"
dependencies:
Expand Down Expand Up @@ -4132,10 +4132,6 @@ react-deep-force-update@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-1.0.1.tgz#f911b5be1d2a6fe387507dd6e9a767aa2924b4c7"

react-dom@^15.3.2:
version "15.3.2"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.3.2.tgz#c46b0aa5380d7b838e7a59c4a7beff2ed315531f"

react-proxy@^1.1.7:
version "1.1.8"
resolved "https://registry.yarnpkg.com/react-proxy/-/react-proxy-1.1.8.tgz#9dbfd9d927528c3aa9f444e4558c37830ab8c26a"
Expand All @@ -4154,14 +4150,6 @@ react-transform-hmr@^1.0.4:
global "^4.3.0"
react-proxy "^1.1.7"

react@^15.3.2:
version "15.3.2"
resolved "https://registry.yarnpkg.com/react/-/react-15.3.2.tgz#a7bccd2fee8af126b0317e222c28d1d54528d09e"
dependencies:
fbjs "^0.8.4"
loose-envify "^1.1.0"
object-assign "^4.1.0"

read-pkg-up@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02"
Expand Down

0 comments on commit 4c615ef

Please sign in to comment.