This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
forked from brijeshb42/medium-draft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.92 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "medium-draft",
"version": "0.4.0",
"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": {
"clean": "rm -f dist/*.js && rm -f dist/*.css && rm -rf lib",
"dev": "mkdir -p dist && cp index.html dist/index.html && cp docs/data.json dist/data.json && NODE_ENV=development webpack-dashboard -- webpack-dev-server --host 0.0.0.0 --devtool eval --content-base dist/ --progress --colors --hot",
"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,exporter.js'",
"copyCss": "cp dist/medium-draft.css ./lib/index.css",
"npm": "npm run build && 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')",
"test": "npm run test:lint && npm run test:unit"
},
"keywords": [
"rich editor",
"text editor",
"medium",
"draft-js",
"wysiwyg"
],
"author": "Brijesh Bittu <[email protected]> (http://bitwiser.in/)",
"license": "MIT",
"dependencies": {
"draft-js": "^0.9.0",
"immutable": "^3.7.6",
"react-addons-css-transition-group": "^15.0.0"
},
"peerDependencies": {
"react": "^15.0.0",
"react-dom": "^15.0.0"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-core": "^6.10.4",
"babel-eslint": "^6.1.2",
"babel-loader": "^6.2.4",
"babel-plugin-react-transform": "^2.0.2",
"babel-plugin-transform-class-properties": "^6.11.5",
"babel-polyfill": "^6.7.4",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"chai": "^3.5.0",
"css-loader": "^0.23.1",
"enzyme": "^2.5.1",
"eslint": "^3.3.1",
"eslint-config-airbnb": "^10.0.1",
"eslint-loader": "^1.5.0",
"eslint-plugin-import": "^1.14.0",
"eslint-plugin-jsx-a11y": "^2.2.0",
"eslint-plugin-react": "^6.1.2",
"extract-text-webpack-plugin": "^1.0.1",
"hint.css": "^2.3.2",
"isparta": "^4.0.0",
"istanbul": "^0.4.5",
"jsdom": "^8.2.0",
"json-loader": "^0.5.4",
"mocha": "^2.4.5",
"mocha-loader": "^0.7.1",
"node-sass": "^3.4.2",
"react-addons-test-utils": "^15.0.0",
"react-hot-loader": "^1.3.0",
"sass-loader": "^3.2.0",
"style-loader": "^0.13.1",
"webpack": "^1.12.14",
"webpack-dashboard": "^0.1.8",
"webpack-dev-server": "^1.14.1"
},
"bugs": {
"url": "https://github.com/brijeshb42/medium-draft/issues"
},
"homepage": "http://bitwiser.in/medium-draft/"
}