monaco-yaml/package.json
Remco Haszing 26317d314a
Replace .npmignore with package.json files
This is inclusive instead of exclusive, which is more manageable.
2021-03-25 17:40:24 +01:00

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",
"files": [
"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"
}
}
}