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 245
/
package.json
84 lines (84 loc) · 3.44 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
77
78
79
80
81
82
83
84
{
"name": "medium-draft",
"version": "0.5.18",
"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",
"repository": "https://github.com/brijeshb42/medium-draft",
"scripts": {
"start": "npm run dev",
"clean": "rm -f dist/*.js && rm -f dist/*.css && rm -rf lib",
"dev": "mkdir -p dist && cp index.html dist/index.html && cp rendered.html dist/rendered.html && cp docs/data.json dist/data.json && NODE_ENV=development 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'",
"copyCss": "cp dist/medium-draft.css ./lib/index.css && cp dist/basic.css lib/",
"buildExporter": "NODE_ENV=production APP_EXPORT_TYPE=exporter webpack --progress --colors",
"buildImporter": "NODE_ENV=production APP_EXPORT_TYPE=importer webpack --progress --colors",
"fullbuild": "npm run build && npm run buildExporter && npm run buildImporter && npm run babel && npm run copyCss",
"prepublishOnly": "npm run fullbuild",
"test:lint": "./node_modules/.bin/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.10.0",
"immutable": "^3.7.6",
"react-transition-group": "^2.5.0"
},
"peerDependencies": {
"draft-convert": "^2.0.0",
"prop-types": "^15.6.2",
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-core": "^6.10.4",
"babel-eslint": "^7.2.3",
"babel-loader": "^6.2.4",
"babel-plugin-react-transform": "^2.0.2",
"babel-plugin-transform-class-properties": "^6.11.5",
"babel-plugin-transform-react-remove-prop-types": "^0.4.4",
"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",
"draft-convert": "^2.0.0",
"enzyme": "^2.8.2",
"eslint": "^4.8.2",
"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": "^2.0.0-beta.5",
"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": "4.12.0",
"prop-types": "^15.6.2",
"react": "15.6.2",
"react-dom": "15.6.2",
"sass-loader": "^6.0.7",
"style-loader": "^0.13.1",
"webpack": "^2.2.0",
"webpack-dev-server": "2.11.3"
},
"bugs": {
"url": "https://github.com/brijeshb42/medium-draft/issues"
},
"homepage": "http://bitwiser.in/medium-draft/"
}