UNPKG

@jongwong/monaco-editor-react

Version:
89 lines (88 loc) 2.29 kB
{ "name": "@jongwong/monaco-editor-react", "version": "1.0.0-beta.3", "license": "MIT", "description": "React component for Monaco-Editor and Monaco Languageclient", "keywords": [ "monaco-editor", "monaco-languageclient", "typescript", "react" ], "type": "module", "main": "./src/index.tsx", "module": "./src/index.tsx", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./allLanguages": { "types": "./dist/indexAllLanguages.d.ts", "default": "./dist/indexAllLanguages.js" }, "./bundle": { "types": "./dist/index.d.ts", "default": "./bundle/index.js" }, "./bundle/allLanguages": { "types": "./dist/indexAllLanguages.d.ts", "default": "./bundle/indexAllLanguages.js" } }, "typesVersions": { "*": { ".": [ "dist/index" ], "allLanguages": [ "dist/indexAllLanguages" ], "bundle": [ "dist/index" ], "bundle/allLanguages": [ "dist/indexAllLanguages" ] } }, "files": [ "dist", "bundle", "src", "LICENSE", "README.md" ], "scripts": { "clean": "npx shx rm -rf ./dist *.tsbuildinfo", "compile": " tsc --build tsconfig.src.json", "build:bundle:main": "vite --config vite.bundle.config.ts build", "build:bundle:languages": "vite --config vite.languages.config.ts build", "build:bundle": "npm run build:bundle:main && npm run build:bundle:languages", "build": "npm run clean && npm run compile && npm run build:bundle" }, "volta": { "node": "18.16.0", "npm": "9.6.6" }, "peerDependencies": { "monaco-editor-wrapper": "2.0.0-next.5", "react": "~18.2.0", "react-dom": "~18.2.0" }, "devDependencies": { "@types/react": "~18.2.6", "@types/react-dom": "~18.2.4" }, "repository": { "type": "git", "url": "https://github.com/TypeFox/monaco-components", "directory": "packages/monaco-editor-react" }, "homepage": "https://github.com/TypeFox/monaco-components/blob/main/packages/monaco-editor-react/README.md", "bugs": "https://github.com/TypeFox/monaco-components/issues", "author": { "name": "TypeFox", "url": "https://www.typefox.io" } }