monaco-react/package.json
2021-01-12 01:07:02 +04:00

92 lines
2.6 KiB
JSON

{
"name": "@monaco-editor/react",
"version": "3.8.3",
"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",
"author": "Suren Atoyan <contact@surenatoyan.com>",
"main": "lib/cjs/index.js",
"module": "lib/es/index.js",
"unpkg": "lib/umd/monaco-react.min.js",
"jsdelivr": "lib/umd/monaco-react.min.js",
"types": "lib/types.d.ts",
"scripts": {
"lint": "npx eslint src",
"build": "rollup -c && cp ./src/types.d.ts ./lib/",
"build-dev": "rollup -c -w && cp ./src/types.d.ts ./lib/",
"prepublish": "npm test && npm run lint && npm run build",
"test": "npx jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/suren-atoyan/monaco-react.git"
},
"keywords": [
"monaco",
"editor",
"react",
"vscode",
"code",
"text"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/suren-atoyan/monaco-react/issues"
},
"homepage": "https://github.com/suren-atoyan/monaco-react#readme",
"peerDependencies": {
"monaco-editor": "^0.21.2",
"prop-types": "^15.7.2",
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.0",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/preset-env": "^7.11.0",
"@babel/preset-react": "^7.10.4",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.1",
"@rollup/plugin-replace": "^2.3.4",
"@testing-library/jest-dom": "^5.1.1",
"@testing-library/react": "^9.4.0",
"babel-eslint": "10.0.3",
"babel-jest": "^25.1.0",
"eslint": "6.6.0",
"eslint-config-react-app": "^5.2.0",
"eslint-plugin-flowtype": "4.6.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.18.3",
"eslint-plugin-react-hooks": "2.4.0",
"husky": "^4.2.3",
"jest": "^25.1.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"rollup": "^2.36.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
},
"husky": {
"hooks": {
"pre-commit": "npm test && npm run lint"
}
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"/demo/",
"/playground/"
]
},
"dependencies": {
"@monaco-editor/loader": "^0.1.2"
}
}