package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "name": "jsonc-parser",
  3. "version": "3.0.0",
  4. "description": "Scanner and parser for JSON with comments.",
  5. "main": "./lib/umd/main.js",
  6. "typings": "./lib/umd/main",
  7. "module": "./lib/esm/main.js",
  8. "author": "Microsoft Corporation",
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/microsoft/node-jsonc-parser"
  12. },
  13. "license": "MIT",
  14. "bugs": {
  15. "url": "https://github.com/microsoft/node-jsonc-parser/issues"
  16. },
  17. "devDependencies": {
  18. "mocha": "^8.2.1",
  19. "typescript": "^4.0.5",
  20. "@types/node": "^10.12.12",
  21. "@types/mocha": "^5.2.7",
  22. "@typescript-eslint/eslint-plugin": "^4.7.0",
  23. "@typescript-eslint/parser": "^4.7.0",
  24. "eslint": "^7.13.0",
  25. "rimraf": "^3.0.2"
  26. },
  27. "scripts": {
  28. "prepublishOnly": "npm run clean && npm run compile-esm && npm run test && npm run remove-sourcemap-refs",
  29. "postpublish": "node ./build/post-publish.js",
  30. "compile": "tsc -p ./src && npm run lint",
  31. "compile-esm": "tsc -p ./src/tsconfig.esm.json",
  32. "remove-sourcemap-refs": "node ./build/remove-sourcemap-refs.js",
  33. "clean": "rimraf lib",
  34. "watch": "tsc -w -p ./src",
  35. "test": "npm run compile && mocha ./lib/umd/test",
  36. "lint": "eslint src/**/*.ts",
  37. "preversion": "npm test",
  38. "postversion": "git push && git push --tags"
  39. }
  40. }