-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
54 lines (54 loc) · 1.58 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "draft-js-diff",
"version": "1.0.1",
"description": "Make React text editors with live highlight of differences, using DraftJS",
"keywords": [
"react-component",
"diff",
"draft",
"draft-js"
],
"license": "MIT",
"main": "./lib/index.js",
"scripts": {
"test": "echo 'ERROR: There are no tests for this package'; exit 1",
"build": "rm -rf _site && mkdir _site && browserify -t [ babelify --presets [ react ] ] demo/main.js -o _site/bundle.js && cp ./node_modules/draft-js/dist/Draft.css demo/diff.css demo/index.html _site/",
"deploy": "npm run build && gh-pages -d _site",
"watch": "watch 'npm run build' lib/ demo/",
"serve": "http-server -p 9090 _site/",
"start": "parallelshell 'npm run watch' 'npm run serve -s'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Soreine/draft-js-diff.git"
},
"author": "Nicolas Gaborit",
"bugs": {
"url": "https://github.com/Soreine/draft-js-diff/issues"
},
"homepage": "https://github.com/Soreine/draft-js-diff#readme",
"dependencies": {
"diff-match-patch": "^1.0.0",
"draft-js": "^0.7.0",
"just-debounce": "^1.0.0",
"react": "^15.0.0-rc || ^14.0.0"
},
"devDependencies": {
"babel-preset-react": "^6.5.0",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"draft-js": "^0.7.0",
"gh-pages": "^0.11.0",
"http-server": "^0.9.0",
"parallelshell": "^2.0.0",
"react": "^15.0.0",
"react-dom": "^15.0.0",
"reactify": "^1.0.0",
"watch": "^0.18.0"
},
"browserify": {
"transform": [
"reactify"
]
}
}