package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "vscode-json-languageservice",
  3. "version": "4.1.6",
  4. "description": "Language service for JSON",
  5. "main": "./lib/umd/jsonLanguageService.js",
  6. "typings": "./lib/umd/jsonLanguageService",
  7. "module": "./lib/esm/jsonLanguageService.js",
  8. "author": "Microsoft Corporation",
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/Microsoft/vscode-json-languageservice"
  12. },
  13. "license": "MIT",
  14. "bugs": {
  15. "url": "https://github.com/Microsoft/vscode-json-languageservice"
  16. },
  17. "engines": {
  18. "npm": ">=7.0.0"
  19. },
  20. "devDependencies": {
  21. "@types/mocha": "^8.2.0",
  22. "@types/node": "^10.12.21",
  23. "@typescript-eslint/eslint-plugin": "^4.14.0",
  24. "@typescript-eslint/parser": "^4.14.0",
  25. "eslint": "^7.18.0",
  26. "mocha": "^8.2.1",
  27. "rimraf": "^3.0.2",
  28. "typescript": "^4.1.3"
  29. },
  30. "dependencies": {
  31. "jsonc-parser": "^3.0.0",
  32. "vscode-languageserver-textdocument": "^1.0.1",
  33. "vscode-languageserver-types": "^3.16.0",
  34. "vscode-nls": "^5.0.0",
  35. "vscode-uri": "^3.0.2"
  36. },
  37. "scripts": {
  38. "prepublishOnly": "npm run clean && npm run compile-esm && npm run test && npm run remove-sourcemap-refs",
  39. "postpublish": "node ./build/post-publish.js",
  40. "compile": "tsc -p ./src",
  41. "compile-esm": "tsc -p ./src/tsconfig.esm.json",
  42. "clean": "rimraf lib",
  43. "remove-sourcemap-refs": "node ./build/remove-sourcemap-refs.js",
  44. "watch": "tsc -w -p ./src",
  45. "pretest": "npm run compile",
  46. "test": "mocha",
  47. "posttest": "npm run lint",
  48. "coverage": "npx nyc -r lcov npm run test",
  49. "lint": "eslint src/**/*.ts",
  50. "install-types-next": "npm install vscode-languageserver-types@next -f -S && npm install vscode-languageserver-textdocument@next -f -S",
  51. "preversion": "npm test",
  52. "postversion": "git push && git push --tags",
  53. "sample": "npm run compile && node ./lib/umd/example/sample.js"
  54. }
  55. }