|
3 | 3 | "version": "3.1.9", |
4 | 4 | "description": "A markdown editor with preview, implemented with React.js and TypeScript.", |
5 | 5 | "homepage": "https://uiwjs.github.io/react-markdown-editor", |
6 | | - "main": "lib/cjs/index.js", |
7 | | - "module": "lib/esm/index.js", |
8 | | - "typings": "lib/cjs/index.d.ts", |
| 6 | + "main": "cjs/index.js", |
| 7 | + "module": "esm/index.js", |
9 | 8 | "scripts": { |
10 | 9 | "prepare": "npm run build", |
11 | 10 | "released": "npm run build && npm run doc", |
12 | 11 | "doc": "kkt build --app-src ./website", |
13 | 12 | "start": "kkt start --app-src ./website", |
14 | | - "build": "npm run ts:build && npm run types:esm && npm run types:cjs && npm run css:build && npm run css:build:dist", |
15 | | - "types:build": "tsbb types --sourceRoot src --target ESNEXT", |
16 | | - "types:watch": "npm run types:esm -- --watch & npm run types:cjs -- --watch", |
17 | | - "types:esm": "npm run types:build -- --outDir ../lib/esm", |
18 | | - "types:cjs": "npm run types:build -- --outDir ../lib/cjs", |
19 | | - "watch": "npm run ts:watch & npm run types:watch & npm run css:watch", |
20 | | - "ts:watch": "tsbb watch --env-name esm:dev --env-name cjs --target react", |
21 | | - "ts:build": "tsbb build --target react", |
22 | | - "css:watch": "compile-less -d src -o lib/esm --watch", |
23 | | - "css:build": "compile-less -d src -o lib/esm", |
24 | | - "css:build:dist": "compile-less -d src --combine dist/markdown-editor.css --rm-global" |
| 13 | + "watch": "tsbb watch", |
| 14 | + "build": "tsbb build && npm run css:build && npm run css:build:dist", |
| 15 | + "css:watch": "compile-less -d src -o esm --watch", |
| 16 | + "css:build": "compile-less -d src -o esm", |
| 17 | + "css:build:dist": "compile-less -d src --combine markdown-editor.css --rm-global" |
25 | 18 | }, |
26 | 19 | "repository": { |
27 | 20 | "type": "git", |
|
30 | 23 | "author": "Kenny Wong <wowohoo@qq.com>", |
31 | 24 | "license": "MIT", |
32 | 25 | "peerDependencies": { |
33 | | - "react": ">=16.7.0", |
34 | | - "react-dom": ">=16.7.0" |
| 26 | + "react": ">=16.8.0", |
| 27 | + "react-dom": ">=16.8.0" |
35 | 28 | }, |
36 | 29 | "files": [ |
37 | | - "lib", |
38 | | - "dist" |
| 30 | + "markdown-editor.css", |
| 31 | + "cjs", |
| 32 | + "esm", |
| 33 | + "src" |
39 | 34 | ], |
40 | 35 | "eslintConfig": { |
41 | 36 | "extends": [ |
|
44 | 39 | ] |
45 | 40 | }, |
46 | 41 | "dependencies": { |
47 | | - "@uiw/react-markdown-preview": "3.1.3", |
48 | | - "codemirror": "5.62.0" |
| 42 | + "@uiw/react-markdown-preview": "3.3.0", |
| 43 | + "codemirror": "5.62.3" |
49 | 44 | }, |
50 | 45 | "devDependencies": { |
51 | | - "@kkt/less-modules": "6.10.4", |
52 | | - "@kkt/raw-modules": "6.10.4", |
53 | | - "@kkt/scope-plugin-options": "6.10.4", |
54 | | - "@types/codemirror": "5.60.1", |
55 | | - "@types/jest": "26.0.23", |
56 | | - "@types/react": "17.0.9", |
57 | | - "@types/react-dom": "17.0.6", |
| 46 | + "@kkt/less-modules": "6.11.0", |
| 47 | + "@kkt/raw-modules": "6.11.0", |
| 48 | + "@kkt/scope-plugin-options": "6.11.0", |
| 49 | + "@types/codemirror": "5.60.2", |
| 50 | + "@types/jest": "27.0.1", |
| 51 | + "@types/react": "17.0.19", |
| 52 | + "@types/react-dom": "17.0.9", |
58 | 53 | "@uiw/react-github-corners": "1.4.0", |
59 | | - "@uiw/reset.css": "1.0.4", |
| 54 | + "@uiw/reset.css": "1.0.5", |
60 | 55 | "babel-plugin-transform-remove-imports": "1.5.5", |
61 | | - "compile-less-cli": "1.8.0", |
62 | | - "kkt": "6.10.4", |
| 56 | + "compile-less-cli": "1.8.1", |
| 57 | + "kkt": "6.11.0", |
63 | 58 | "react": "17.0.2", |
64 | 59 | "react-dom": "17.0.2", |
65 | | - "tsbb": "2.2.1" |
| 60 | + "tsbb": "3.0.0" |
66 | 61 | }, |
67 | 62 | "browserslist": { |
68 | 63 | "production": [ |
|
0 commit comments