|
3 | 3 | "version": "1.0.4", |
4 | 4 | "description": "Online Code Editor for Rapid Web Development.", |
5 | 5 | "homepage": "https://uiwjs.github.io/react-run-web/", |
6 | | - "main": "lib/cjs/index.js", |
7 | | - "module": "lib/esm/index.js", |
| 6 | + "main": "cjs/index.js", |
| 7 | + "module": "esm/index.js", |
8 | 8 | "scripts": { |
9 | | - "prepare": "husky install && npm run build:lib", |
| 9 | + "prepare": "husky install && npm run build", |
10 | 10 | "doc": "kkt build --app-src ./website", |
11 | 11 | "start": "kkt start --app-src ./website", |
12 | | - "build": "npm run build:lib && npm run doc", |
13 | | - "build:lib": "npm run ts:build && npm run types:esm && npm run types:cjs", |
14 | | - "watch": "npm run ts:watch & npm run types:watch", |
15 | | - "types:build": "tsbb types --sourceRoot src --target ESNEXT --jsx --emitDeclarationOnly false", |
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 | | - "ts:watch": "tsbb watch --env-name esm:dev --env-name cjs --target react", |
20 | | - "ts:build": "tsbb build --target react", |
| 12 | + "watch": "tsbb watch", |
| 13 | + "build": "tsbb build", |
21 | 14 | "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"", |
22 | 15 | "test": "kkt test --env=jsdom --app-src=./website", |
23 | 16 | "test:coverage": "kkt test --env=jsdom --coverage --app-src=./website" |
|
49 | 42 | "react-dom": ">=16.9.0" |
50 | 43 | }, |
51 | 44 | "devDependencies": { |
52 | | - "@kkt/less-modules": "6.10.4", |
53 | | - "@kkt/raw-modules": "6.10.4", |
54 | | - "@kkt/scope-plugin-options": "6.10.4", |
55 | | - "@mapbox/rehype-prism": "0.6.0", |
56 | | - "@types/react": "17.0.11", |
57 | | - "@types/react-dom": "17.0.8", |
58 | | - "@types/react-router-dom": "5.1.7", |
| 45 | + "@kkt/less-modules": "6.11.0", |
| 46 | + "@kkt/raw-modules": "6.11.0", |
| 47 | + "@kkt/scope-plugin-options": "6.11.0", |
| 48 | + "@mapbox/rehype-prism": "0.7.0", |
| 49 | + "@types/react": "17.0.19", |
| 50 | + "@types/react-dom": "17.0.9", |
| 51 | + "@types/react-router-dom": "5.1.8", |
59 | 52 | "@types/react-test-renderer": "17.0.1", |
60 | 53 | "@uiw/react-github-corners": "1.4.0", |
61 | | - "@uiw/react-markdown-preview": "3.1.3", |
62 | | - "@uiw/react-split": "5.7.4", |
63 | | - "@uiw/react-textarea-code-editor": "1.3.1", |
64 | | - "husky": "6.0.0", |
65 | | - "kkt": "6.10.4", |
66 | | - "lint-staged": "11.0.0", |
| 54 | + "@uiw/react-markdown-preview": "3.3.0", |
| 55 | + "@uiw/react-split": "5.8.0", |
| 56 | + "@uiw/react-textarea-code-editor": "1.4.2", |
| 57 | + "husky": "7.0.2", |
| 58 | + "kkt": "6.11.0", |
| 59 | + "lint-staged": "11.1.2", |
67 | 60 | "prettier": "2.3.2", |
68 | 61 | "react": "17.0.2", |
69 | 62 | "react-dom": "17.0.2", |
70 | | - "react-router-dom": "5.2.0", |
| 63 | + "react-router-dom": "5.2.1", |
71 | 64 | "react-test-renderer": "17.0.2", |
72 | | - "rehype": "11.0.0", |
73 | | - "rehype-parse": "7.0.1", |
74 | | - "tsbb": "2.2.1" |
| 65 | + "rehype": "12.0.0", |
| 66 | + "rehype-parse": "8.0.2", |
| 67 | + "tsbb": "3.0.0" |
75 | 68 | }, |
76 | 69 | "eslintConfig": { |
77 | 70 | "extends": [ |
|
0 commit comments