UNPKG

@monaco-editor/react

Version:

Monaco editor wrapper for easy/one-line integration with React applications (e.g. powered by create-react-app) without need of webpack configuration files

86 lines (85 loc) 2.14 kB
{ "name": "@monaco-editor/react", "version": "1.2.1", "description": "Monaco editor wrapper for easy/one-line integration with React applications (e.g. powered by create-react-app) without need of webpack configuration files", "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "lint": "npx eslint src", "build": "npx babel src --out-dir lib && cp ./src/index.d.ts ./lib/", "prepublish": "npm test && npm run lint && npm run build", "test": "npx jest" }, "repository": { "type": "git", "url": "git+https://github.com/SurenAt93/monaco-react.git" }, "keywords": [ "monaco", "editor", "react", "vscode", "code", "text" ], "author": "suren_at", "license": "MIT", "bugs": { "url": "https://github.com/SurenAt93/monaco-react/issues" }, "homepage": "https://github.com/SurenAt93/monaco-react#readme", "peerDependencies": { "prop-types": "^15.7.2", "react": "^16.8.6", "react-dom": "^16.8.6" }, "devDependencies": { "@babel/cli": "^7.4.4", "@babel/core": "^7.4.5", "@babel/plugin-proposal-class-properties": "^7.4.4", "@babel/preset-env": "^7.4.5", "@babel/preset-react": "^7.0.0", "@testing-library/react": "^8.0.1", "babel-eslint": "9.x", "babel-jest": "^24.8.0", "eslint": "5.x", "eslint-config-react-app": "^4.0.1", "eslint-plugin-flowtype": "2.x", "eslint-plugin-import": "2.x", "eslint-plugin-jsx-a11y": "6.x", "eslint-plugin-react": "7.x", "eslint-plugin-react-hooks": "1.5.0", "husky": "^2.4.1", "jest": "^24.8.0", "jest-dom": "^3.5.0", "react": "^16.8.6", "react-dom": "^16.8.6" }, "babel": { "presets": [ "@babel/preset-env", "@babel/preset-react" ], "plugins": [ [ "@babel/plugin-proposal-class-properties", { "loose": false } ] ] }, "husky": { "hooks": { "pre-commit": "npm test && npm run lint" } }, "jest": { "testPathIgnorePatterns": [ "/node_modules/", "/demo/" ] }, "dependencies": {} }