mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-06-21 15:41:57 +00:00
Jest, eslint, and typescript-tslint-plugin were installed, but never used. Node types were used for timers, but this is incorrect, as this code is supposed to run in the browser.
67 lines
1.8 KiB
JSON
67 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 && yarn compile:umd && yarn compile:esm",
|
|
"compile:umd": "tsc -p ./tsconfig.json",
|
|
"compile:esm": "tsc -p ./tsconfig.esm.json",
|
|
"bundle": "rimraf ./lib && yarn bundle:umd && yarn bundle:esm && mcopy ./src/monaco.d.ts ./lib/monaco.d.ts",
|
|
"bundle:umd": "node ./scripts/bundle-umd",
|
|
"bundle:esm": "node ./scripts/bundle-esm",
|
|
"build": "yarn compile && yarn bundle",
|
|
"prepare": "yarn build",
|
|
"lint": "prettier \"{src,test}/**/*.{json,scss,html,ts}\" --write"
|
|
},
|
|
"main": "./lib/esm/monaco.contribution.js",
|
|
"module": "./lib/esm/monaco.contribution.js",
|
|
"typings": "./lib/monaco.d.ts",
|
|
"directories": {
|
|
"lib": "./lib"
|
|
},
|
|
"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": {
|
|
"yaml-language-server": "^0.11.1"
|
|
},
|
|
"devDependencies": {
|
|
"husky": "^1.2.1",
|
|
"lint-staged": "^10.1.2",
|
|
"monaco-editor": "^0.21.2",
|
|
"monaco-editor-core": "^0.21.2",
|
|
"monaco-languages": "^2.1.1",
|
|
"monaco-plugin-helpers": "^1.0.3",
|
|
"prettier": "^1.19.1",
|
|
"requirejs": "^2.3.6",
|
|
"rimraf": "^2.6.2",
|
|
"typescript": "^3.8.3",
|
|
"uglify-es": "^3.3.9"
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"trailingComma": "es5",
|
|
"semi": true
|
|
},
|
|
"lint-staged": {
|
|
"src/*.{json,scss,html,ts,js,jsx}|scripts/*.js": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
}
|
|
}
|