package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "vscode-nls",
  3. "version": "5.0.0",
  4. "description": "NPM module to externalize and localize VSCode extensions",
  5. "author": "Microsoft Corporation",
  6. "license": "MIT",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/Microsoft/vscode-nls.git"
  10. },
  11. "bugs": {
  12. "url": "https://github.com/Microsoft/vscode-nls/issues"
  13. },
  14. "main": "./lib/node/main.js",
  15. "browser": {
  16. "./lib/node/main.js": "./lib/browser/main.js"
  17. },
  18. "typings": "./lib/common/common.d.ts",
  19. "devDependencies": {
  20. "@types/mocha": "^7.0.2",
  21. "@types/node": "^12.12.29",
  22. "@typescript-eslint/parser": "^2.24.0",
  23. "eslint": "^6.8.0",
  24. "mocha": "^7.2.0",
  25. "rimraf": "^3.0.2",
  26. "typescript": "^3.9.3"
  27. },
  28. "scripts": {
  29. "prepublishOnly": "npm run clean && npm run compile && npm run lint && npm run test",
  30. "compile": "tsc -b ./tsconfig.json",
  31. "watch": "tsc -b ./tsconfig.json -w",
  32. "clean": "rimraf lib",
  33. "test": "mocha",
  34. "lint": "eslint --config .eslintrc.json ./**/*.ts"
  35. },
  36. "files": [
  37. "lib/common",
  38. "lib/browser",
  39. "lib/node",
  40. "!lib/*/test",
  41. "!lib/**/*.tsbuildinfo",
  42. "node.js",
  43. "node.d.ts",
  44. "browser.js",
  45. "browser.d.ts"
  46. ]
  47. }