mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-05-19 04:08:48 +00:00
This is much more flexible than `monaco-plugin-helpers`. Because of this, it’s possible to use Prettier as an external dependency, so users can ignore it in their own build process of they choose not to support formatting. Instead of rewriting YAML language service imports in the build tool, I decided to just import them from where they need to be imported in the source code. Closes #63
63 lines
1.6 KiB
JSON
63 lines
1.6 KiB
JSON
{
|
|
"name": "monaco-yaml",
|
|
"version": "3.0.1",
|
|
"description": "YAML plugin for the Monaco Editor",
|
|
"homepage": "https://monaco-yaml.js.org",
|
|
"scripts": {
|
|
"prepack": "node build.js",
|
|
"prepare": "husky install",
|
|
"lint": "eslint . && prettier --check ."
|
|
},
|
|
"main": "./lib/esm/monaco.contribution.js",
|
|
"module": "./lib/esm/monaco.contribution.js",
|
|
"typings": "./index.d.ts",
|
|
"files": [
|
|
"lib",
|
|
"index.d.ts"
|
|
],
|
|
"workspaces": [
|
|
"examples/*"
|
|
],
|
|
"author": "Kevin Decker <kpdecker@gmail.com> (http://incaseofstairs.com)",
|
|
"maintainers": [
|
|
"Remco Haszing <remcohaszing@gmail.com> (https://github.com/remcohaszing)"
|
|
],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/remcohaszing/monaco-yaml"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/remcohaszing/monaco-yaml/issues"
|
|
},
|
|
"dependencies": {
|
|
"@types/json-schema": "^7.0.9",
|
|
"js-yaml": "^3.14.1",
|
|
"prettier": "2.0.5",
|
|
"yaml-ast-parser-custom-tags": "^0.0.43"
|
|
},
|
|
"peerDependencies": {
|
|
"monaco-editor": ">=0.22"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^4.29.0",
|
|
"@typescript-eslint/parser": "^4.29.0",
|
|
"esbuild": "^0.12.20",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-remcohaszing": "^3.5.0",
|
|
"husky": "^7.0.1",
|
|
"lint-staged": "^11.1.1",
|
|
"monaco-editor": "^0.26.1",
|
|
"typescript": "^4.3.5",
|
|
"yaml-language-server": "^0.11.1"
|
|
},
|
|
"resolutions": {},
|
|
"lint-staged": {
|
|
"*.{css,json,md,html,yaml}": [
|
|
"prettier --write"
|
|
],
|
|
"*.{js,ts}": [
|
|
"eslint"
|
|
]
|
|
}
|
|
}
|