-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
106 lines (106 loc) · 3.67 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "react-mobiledoc-editor",
"version": "0.14.4",
"description": "A Mobiledoc editor for React apps",
"repository": "joshfrench/react-mobiledoc-editor",
"homepage": "https://github.com/joshfrench/react-mobiledoc-editor",
"bugs": "https://github.com/joshfrench/react-mobiledoc-editor/issues",
"license": "BSD-3-Clause",
"contributors": [
"Josh French <joshfrench@gmail.com>",
"Garth Poitras <garth22@gmail.com>"
],
"keywords": [
"mobiledoc",
"mobiledoc-editor",
"react-component",
"react"
],
"main": "dist/main.js",
"module": "dist/react-mobiledoc-editor.esm.js",
"exports": {
".": {
"import": "./dist/react-mobiledoc-editor.esm.js",
"require": "./dist/main.js"
}
},
"scripts": {
"start": "concurrently \"npm:start:demo\" \"npm:build:watch\"",
"start:demo": "webpack-dev-server --mode development --hot --config webpack.demo.config.js",
"lint": "eslint src",
"test": "npm run test:build && karma start --single-run && REACT_17=true karma start --single-run",
"test:watch": "concurrently \"karma start\" \"npm:build:watch\"",
"test:build": "npm run build && mocha test/build",
"posttest": "npm run lint && npm run format:check",
"build:watch": "rollup --config rollup.config.js --watch",
"build": "rimraf dist && rollup --config rollup.config.js",
"build:demo": "webpack --mode production --config webpack.demo.config.js",
"format": "prettier --write \"{src,test,demo}/**/*.{js,jsx,ts,tsx,json,html}\"",
"format:check": "prettier --check \"{src,test,demo}/**/*.{js,jsx,ts,tsx,json,html}\"",
"prepublishOnly": "npm run build"
},
"dependencies": {
"prop-types": "^15.8.1"
},
"peerDependencies": {
"mobiledoc-kit": "^0.12.2 || ^0.13.0 || ^0.14.0 || ^0.15.0",
"react": "^16.3.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.3.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/eslint-parser": "^7.18.9",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.18.9",
"@babel/plugin-transform-runtime": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@cfaester/enzyme-adapter-react-18": "^0.5.1",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
"babel-loader": "^8.2.5",
"chai": "^4.3.6",
"chai-enzyme": "1.0.0-beta.1",
"cheerio": "^1.0.0-rc.10",
"concurrently": "^7.3.0",
"css-loader": "^6.7.1",
"enzyme": "^3.11.0",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"html-webpack-plugin": "^5.5.0",
"karma": "^6.4.0",
"karma-chrome-launcher": "^3.1.1",
"karma-cli": "^2.0.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-rollup-preprocessor": "^7.0.8",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0",
"mobiledoc-kit": "^0.14.0",
"mocha": "^10.0.0",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-17": "npm:react@^17",
"react-dom": "^18.2.0",
"react-dom-17": "npm:react-dom@^17",
"rimraf": "^3.0.2",
"rollup": "^2.77.2",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-terser": "^7.0.2",
"sinon": "^14.0.0",
"sinon-chai": "^3.7.0",
"style-loader": "^3.3.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3"
},
"volta": {
"node": "12.16.1"
}
}