|
1 | 1 | { |
2 | 2 | "name": "@ui-schema/material-code", |
3 | | - "version": "0.5.0-alpha.0", |
| 3 | + "version": "0.5.0-alpha.1", |
4 | 4 | "description": "Code editor widgets using CodeMirror, with Material-UI styling for UI-Schema", |
5 | 5 | "homepage": "https://ui-schema.bemit.codes/docs/material-code/material-code", |
6 | 6 | "author": { |
|
34 | 34 | "bugs": { |
35 | 35 | "url": "https://github.com/ui-schema/react-codemirror/issues" |
36 | 36 | }, |
37 | | - "main": "./index.js", |
| 37 | + "main": "./index.cjs", |
38 | 38 | "module": "./esm/index.js", |
39 | 39 | "types": "./index.d.ts", |
| 40 | + "exports": { |
| 41 | + ".": { |
| 42 | + "types": "./index.d.ts", |
| 43 | + "import": "./esm/index.js", |
| 44 | + "require": "./index.cjs" |
| 45 | + }, |
| 46 | + "./*": { |
| 47 | + "types": "./*/index.d.ts", |
| 48 | + "import": "./esm/*/index.js", |
| 49 | + "require": "./*/index.cjs" |
| 50 | + }, |
| 51 | + "./esm": null |
| 52 | + }, |
40 | 53 | "scripts": { |
41 | 54 | "dtsgen": "tsc -d --emitDeclarationOnly --pretty && node ../../tools/merge-dirs.js build/dts/material-code/src build && rm -rf build/dts && rm -rf build/**/*.test.* build/**/*.mock.*", |
42 | 55 | "__release": "cp package.json build/ && cp package-lock.json build/ && cp README.md build/ && npm publish build" |
|
54 | 67 | "@ui-schema/kit-codemirror": "^1.0.0-alpha.0", |
55 | 68 | "@ui-schema/ds-material": "~0.4.3", |
56 | 69 | "@ui-schema/ui-schema": "~0.4.7", |
| 70 | + "@lezer/highlight": "^1.2.1", |
57 | 71 | "immutable": "^5.0.0", |
58 | 72 | "react": "^19.0", |
59 | 73 | "react-dom": "^19.0" |
|
67 | 81 | "@ui-schema/kit-codemirror": "^1.0.0-alpha.0", |
68 | 82 | "@ui-schema/ds-material": "~0.4.0-alpha", |
69 | 83 | "@ui-schema/ui-schema": "~0.4.0-alpha", |
| 84 | + "@lezer/highlight": "^1.0.0", |
70 | 85 | "immutable": "^4.0.0 || ^5.0.0", |
71 | 86 | "react": "^17.0 || ^18.0 || ^19.0" |
72 | 87 | }, |
|
0 commit comments