package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "name": "jsonc-parser",
  3. "version": "3.3.1",
  4. "description": "Scanner and parser for JSON with comments.",
  5. "main": "./lib/umd/main.js",
  6. "typings": "./lib/umd/main.d.ts",
  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. "@types/mocha": "^10.0.7",
  19. "@types/node": "^18.x",
  20. "@typescript-eslint/eslint-plugin": "^7.13.1",
  21. "@typescript-eslint/parser": "^7.13.1",
  22. "eslint": "^8.57.0",
  23. "mocha": "^10.4.0",
  24. "rimraf": "^5.0.7",
  25. "typescript": "^5.4.2"
  26. },
  27. "scripts": {
  28. "prepack": "npm run clean && npm run compile-esm && npm run test && npm run remove-sourcemap-refs",
  29. "compile": "tsc -p ./src && npm run lint",
  30. "compile-esm": "tsc -p ./src/tsconfig.esm.json",
  31. "remove-sourcemap-refs": "node ./build/remove-sourcemap-refs.js",
  32. "clean": "rimraf lib",
  33. "watch": "tsc -w -p ./src",
  34. "test": "npm run compile && mocha ./lib/umd/test",
  35. "lint": "eslint src/**/*.ts"
  36. }
  37. }