Skip to content

Commit 2302340

Browse files
committedMar 22, 2016
move undo plugin
1 parent 8cdeceb commit 2302340

File tree

15 files changed

+57
-1
lines changed

15 files changed

+57
-1
lines changed
 

‎.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ draft-js-hashtag-plugin/lib/**
44
draft-js-linkify-plugin/lib/**
55
draft-js-mention-plugin/lib/**
66
draft-js-sticker-plugin/lib/**
7+
draft-js-undo-plugin/lib/**
78
scripts/**
89
docs/public/**

‎.jscsrc

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"draft-js-linkify-plugin/lib/**",
1212
"draft-js-mention-plugin/lib/**",
1313
"draft-js-sticker-plugin/lib/**",
14+
"draft-js-undo-plugin/lib/**",
1415
"lib/**"
1516
]
1617
}

‎docs/webpack.config.base.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
'draft-js-linkify-plugin': path.join(__dirname, '..', 'draft-js-linkify-plugin', 'src'),
1111
'draft-js-mention-plugin': path.join(__dirname, '..', 'draft-js-mention-plugin', 'src'),
1212
'draft-js-sticker-plugin': path.join(__dirname, '..', 'draft-js-sticker-plugin', 'src'),
13-
'draft-js-undo-plugin': path.join(__dirname, '..', 'src', 'historyPlugin'),
13+
'draft-js-undo-plugin': path.join(__dirname, '..', 'draft-js-undo-plugin', 'src'),
1414
react: path.join(__dirname, 'node_modules', 'react'),
1515
},
1616
extensions: ['', '.js'],
@@ -32,6 +32,7 @@ module.exports = {
3232
path.join(__dirname, '..', 'draft-js-linkify-plugin', 'src'),
3333
path.join(__dirname, '..', 'draft-js-mention-plugin', 'src'),
3434
path.join(__dirname, '..', 'draft-js-sticker-plugin', 'src'),
35+
path.join(__dirname, '..', 'draft-js-undo-plugin', 'src'),
3536
],
3637
}, {
3738
test: /\.css$/,
@@ -42,6 +43,7 @@ module.exports = {
4243
path.join(__dirname, '..', 'draft-js-linkify-plugin', 'src'),
4344
path.join(__dirname, '..', 'draft-js-mention-plugin', 'src'),
4445
path.join(__dirname, '..', 'draft-js-sticker-plugin', 'src'),
46+
path.join(__dirname, '..', 'draft-js-undo-plugin', 'src'),
4547
path.join(__dirname, 'client/components'),
4648
],
4749
}, {

‎draft-js-undo-plugin/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lib/*

‎draft-js-undo-plugin/.npmignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Dependency directory
2+
# Commenting this out is preferred by some people, see
3+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
4+
node_modules
5+
6+
# sources
7+
/src/
8+
9+
# NPM debug
10+
npm-debug.log
File renamed without changes.

‎draft-js-undo-plugin/package.json

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "draft-js-undo-pluin",
3+
"version": "0.0.0",
4+
"description": "Undo Plugin for DraftJS",
5+
"author": {
6+
"name": "Nik Graf",
7+
"email": "nik@nikgraf.com",
8+
"url": "http://www.nikgraf.com"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/draft-js-plugins/draft-js-plugins.git"
13+
},
14+
"main": "lib/index.js",
15+
"keywords": [
16+
"editor",
17+
"wysiwyg",
18+
"draft",
19+
"react",
20+
"ux",
21+
"components",
22+
"widget",
23+
"react-component"
24+
],
25+
"peerDependencies": {
26+
"react": ">=0.14.0 || 15.0.0-rc.2",
27+
"react-dom": ">=0.14.0 || 15.0.0-rc.2"
28+
},
29+
"scripts": {
30+
"build": "BABEL_ENV=production ../node_modules/.bin/babel --out-dir='lib' --ignore='__tests__/*' src",
31+
"prepublish": "npm run build"
32+
},
33+
"license": "MIT",
34+
"dependencies": {
35+
"decorate-component-with-props": "^1.0.2",
36+
"draft-js": "^0.2.2",
37+
"find-with-regex": "^1.0.2",
38+
"immutable": "^3.7.6",
39+
"union-class-names": "^1.0.0"
40+
}
41+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.