1 | {
|
2 | "name": "@accordproject/markdown-editor",
|
3 | "version": "0.8.0",
|
4 | "description": "A rich text editor that can read and write markdown text. Based on Slate.js.",
|
5 | "main": "dist/index.js",
|
6 | "repository": {
|
7 | "type": "git",
|
8 | "url": "https://github.com/accordproject/markdown-editor.git"
|
9 | },
|
10 | "scripts": {
|
11 | "test": "jest",
|
12 | "dev": "webpack-dev-server --mode development --config webpack.config.js",
|
13 | "transpile": "babel src -d dist --copy-files",
|
14 | "prepublishOnly": "npm run transpile",
|
15 | "build": "webpack --mode production --config webpack.config.prod.js",
|
16 | "build:dev": "webpack --config webpack.config.js",
|
17 | "lint": "npm run lint:js && npm run lint:stylus",
|
18 | "lint:js": "eslint --ext .js --ext .jsx --ignore-path .gitignore .",
|
19 | "lint:js:fix": "eslint --ext .js --ext .jsx --ignore-path .gitignore --fix .",
|
20 | "lint:stylus": "stylint --config .stylintrc ./src/stylesheets",
|
21 | "pkgcheck": "node ./scripts/pkgcheck.js",
|
22 | "pkgstamp": "node ./scripts/pkgstamp.js",
|
23 | "pkgbump": "node ./scripts/pkgbump.js && node ./scripts/pkgcheck.js --fix",
|
24 | "pkgset": "node ./scripts/pkgset.js",
|
25 | "depcheck": "node ./scripts/depcheck.js"
|
26 | },
|
27 | "jest": {
|
28 | "transform": {
|
29 | "^.+\\.jsx?$": "babel-jest"
|
30 | },
|
31 | "moduleNameMapper": {
|
32 | "\\.(css|less)$": "identity-obj-proxy"
|
33 | },
|
34 | "collectCoverageFrom": [
|
35 | "src/SlateAsInputEditor/*.js",
|
36 | "!**/node_modules/**",
|
37 | "!**/travis/**"
|
38 | ]
|
39 | },
|
40 | "keywords": [
|
41 | "accord",
|
42 | "markdown",
|
43 | "slate.js",
|
44 | "rich text"
|
45 | ],
|
46 | "author": "accordproject.org",
|
47 | "license": "Apache-2.0",
|
48 | "bugs": {
|
49 | "url": "https://github.com/accordproject/markdown-editor/issues"
|
50 | },
|
51 | "homepage": "https://github.com/accordproject/markdown-editor",
|
52 | "peerDependencies": {
|
53 | "react": ">= 16.6.0",
|
54 | "react-dom": ">= 16.6.0",
|
55 | "slate": "0.47.x",
|
56 | "slate-react": "0.22.x",
|
57 | "styled-components": ">= 4"
|
58 | },
|
59 | "devDependencies": {
|
60 | "@babel/cli": "^7.7.0",
|
61 | "@babel/core": "^7.7.2",
|
62 | "@babel/plugin-transform-modules-commonjs": "^7.7.0",
|
63 | "@babel/preset-env": "^7.7.1",
|
64 | "@babel/preset-react": "^7.7.0",
|
65 | "@babel/register": "^7.7.0",
|
66 | "@clausehq/eslint-config": "^0.1.8",
|
67 | "babel-jest": "^24.9.0",
|
68 | "babel-loader": "^8.0.6",
|
69 | "enzyme": "^3.10.0",
|
70 | "enzyme-adapter-react-16": "^1.15.1",
|
71 | "eslint": "^5.16.0",
|
72 | "eslint-config-airbnb": "^17.1.1",
|
73 | "eslint-config-loopback": "^13.1.0",
|
74 | "eslint-plugin-import": "^2.18.2",
|
75 | "eslint-plugin-jest": "^22.21.0",
|
76 | "eslint-plugin-jsx-a11y": "^6.2.3",
|
77 | "eslint-plugin-react": "^7.16.0",
|
78 | "eslint-plugin-react-hooks": "^1.7.0",
|
79 | "html-webpack-plugin": "^3.2.0",
|
80 | "jest": "^24.9.0",
|
81 | "moment-mini": "2.22.1",
|
82 | "react": "^16.11.0",
|
83 | "react-dom": "^16.11.0",
|
84 | "react-scripts": "^3.2.0",
|
85 | "semver": "6.1.1",
|
86 | "slate": "^0.47.8",
|
87 | "slate-react": "^0.22.9",
|
88 | "styled-components": "^4.4.1",
|
89 | "webpack": "^4.41.2",
|
90 | "webpack-cli": "^3.3.10",
|
91 | "webpack-dev-server": "^3.9.0"
|
92 | },
|
93 | "eslintConfig": {
|
94 | "extends": "react-app"
|
95 | },
|
96 | "browserslist": [
|
97 | ">0.2%",
|
98 | "not dead",
|
99 | "not ie <= 11",
|
100 | "not op_mini all"
|
101 | ],
|
102 | "dependencies": {
|
103 | "@accordproject/markdown-slate": "^0.8.2",
|
104 | "css-loader": "^3.2.0",
|
105 | "immutable": "^3.8.2",
|
106 | "prop-types": "^15.7.2",
|
107 | "react-immutable-proptypes": "^2.1.0",
|
108 | "react-textarea-autosize": "^7.1.2",
|
109 | "semantic-ui-css": "^2.4.1",
|
110 | "semantic-ui-react": "^0.87.3",
|
111 | "slate-html-serializer": "^0.8.10",
|
112 | "slate-plain-serializer": "^0.7.10",
|
113 | "style-loader": "^0.23.1"
|
114 | }
|
115 | } |
\ | No newline at end of file |