This repository has been archived by the owner on Mar 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ed6926
commit 6dfa547
Showing
7 changed files
with
47 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,8 @@ wiki/ | |
coverage/ | ||
|
||
.travis.yml | ||
dist/index.html | ||
dist/*.html | ||
dist/data.json | ||
dist/example.js | ||
test-js | ||
dist/basic.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "medium-draft", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A medium like rich text editor built upon draft-js with an emphasis on eliminating mouse usage by adding relevant keyboard shortcuts", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
|
@@ -9,7 +9,8 @@ | |
"build": "npm run clean && npm run test && NODE_ENV=production webpack --progress --colors && mv dist/example.css dist/medium-draft.css", | ||
"babel": "./node_modules/.bin/babel ./src -d lib --ignore '*.spec.js,example.js'", | ||
"copyCss": "cp dist/medium-draft.css ./lib/index.css && cp dist/basic.css lib/", | ||
"npm": "npm run build && npm run babel && npm run copyCss", | ||
"buildExporter": "NODE_ENV=production APP_EXPORT_TYPE=exporter webpack --progress --colors", | ||
"npm": "npm run build && npm run buildExporter && npm run babel && npm run copyCss", | ||
"prepublish": "npm run npm", | ||
"test:lint": "eslint ./src/ --ext .js --ext .jsx --ignore-path .gitignore --cache", | ||
"test:unit": "NODE_PATH=src babel-node ./node_modules/.bin/isparta cover _mocha -- --growl --compilers js:babel-core/register,css:test-js/css-null-compiler.js --require ./test-js/test_helper.js $(find src -path '*.spec.js')", | ||
|
@@ -25,14 +26,14 @@ | |
"author": "Brijesh Bittu <[email protected]> (http://bitwiser.in/)", | ||
"license": "MIT", | ||
"dependencies": { | ||
"draft-convert": "^1.3.3", | ||
"draft-js": "^0.9.1", | ||
"immutable": "^3.7.6", | ||
"react-addons-css-transition-group": "^15.0.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^15.0.0", | ||
"react-dom": "^15.0.0" | ||
"react-dom": "^15.0.0", | ||
"draft-convert": "^1.3.3" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.10.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters