mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-06-17 13:31:09 +00:00
Npm 7 also supports workspaces, but doesn’t require the workspace root to be private. This means the examples can be workspaces within the project, so the entire project can be handled as one mono repository with a single lock file and `node_modules` directory. Also the readme has been updated with usage instructions.
66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
{
|
|
"name": "monaco-yaml",
|
|
"version": "2.5.0",
|
|
"description": "YAML plugin for the Monaco Editor",
|
|
"scripts": {
|
|
"watch": "tsc -p ./src --watch",
|
|
"compile": "rimraf ./out && npm run compile:umd && npm run compile:esm",
|
|
"compile:umd": "tsc -p ./tsconfig.json",
|
|
"compile:esm": "tsc -p ./tsconfig.esm.json",
|
|
"bundle": "rimraf ./lib && npm run bundle:umd && npm run bundle:esm && mcopy ./src/monaco.d.ts ./lib/monaco.d.ts",
|
|
"bundle:umd": "node ./scripts/bundle-umd",
|
|
"bundle:esm": "node ./scripts/bundle-esm",
|
|
"build": "npm run compile && npm run bundle",
|
|
"prepare": "husky install && npm run build",
|
|
"lint": "prettier --check ."
|
|
},
|
|
"main": "./lib/esm/monaco.contribution.js",
|
|
"module": "./lib/esm/monaco.contribution.js",
|
|
"typings": "./lib/monaco.d.ts",
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"workspaces": [
|
|
"examples/*"
|
|
],
|
|
"author": "Kevin Decker <kpdecker@gmail.com> (http://incaseofstairs.com)",
|
|
"maintainers": [
|
|
"kpdecker",
|
|
"pengx17"
|
|
],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/pengx17/monaco-yaml"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/pengx17/monaco-yaml/issues"
|
|
},
|
|
"dependencies": {
|
|
"js-yaml": "^3.14.1",
|
|
"yaml-ast-parser-custom-tags": "^0.0.43"
|
|
},
|
|
"devDependencies": {
|
|
"husky": "^5.2.0",
|
|
"lint-staged": "^10.5.4",
|
|
"monaco-editor": "^0.21.3",
|
|
"monaco-languages": "^2.1.1",
|
|
"monaco-plugin-helpers": "^1.0.3",
|
|
"prettier": "2.0.5",
|
|
"requirejs": "^2.3.6",
|
|
"rimraf": "^2.6.2",
|
|
"typescript": "^4.2.3",
|
|
"uglify-es": "^3.3.9",
|
|
"yaml-language-server": "^0.11.1"
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"trailingComma": "es5",
|
|
"semi": true
|
|
},
|
|
"lint-staged": {
|
|
"*.{css,json,md,html,ts,js,jsx,yaml}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|