monaco-yaml/package.json
Himanshu Kapoor d7bbebe8fc v2.5.0
2020-08-20 15:24:36 +05:30

100 lines
2.5 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 ./src/tsconfig.json",
"compile:esm": "tsc -p ./src/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": "patch-package &&yarn build",
"lint": "prettier \"{src,test}/**/*.{json,scss,html,ts}\" --write",
"test": "jest --verbose"
},
"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"
},
"optionalDependencies": {
"prettier": "^1.19.1"
},
"dependencies": {
"yaml-language-server": "^0.9.0"
},
"peerDependencies": {
"monaco-editor": "^0.20.0"
},
"devDependencies": {
"@types/jest": "^23.3.10",
"@types/node": "^10.9.3",
"husky": "^1.2.1",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"monaco-editor": "^0.20.0",
"monaco-editor-core": "^0.20.0",
"monaco-languages": "^1.10.0",
"monaco-plugin-helpers": "^1.0.3",
"patch-package": "^6.2.2",
"prettier": "^1.19.1",
"request-light": "^0.2.5",
"requirejs": "^2.3.5",
"rimraf": "^2.6.2",
"ts-jest": "^23.10.5",
"typescript": "^3.7.4",
"uglify-es": "^3.3.9"
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5",
"semi": true
},
"lint-staged": {
"linters": {
"*.{json,scss,html,ts,js,jsx}": [
"prettier --write",
"git add"
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "./test/tsconfig.json"
}
},
"moduleFileExtensions": [
"js",
"ts"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/test/*.test.+(ts|js)"
]
}
}