package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "editorconfig",
  3. "version": "1.0.4",
  4. "description": "EditorConfig File Locator and Interpreter for Node.js",
  5. "keywords": [
  6. "editorconfig",
  7. "core"
  8. ],
  9. "main": "./lib/index.js",
  10. "contributors": [
  11. "Hong Xu (topbug.net)",
  12. "Jed Mao (https://github.com/jedmao/)",
  13. "Trey Hunner (http://treyhunner.com)",
  14. "Joe Hildebrand (https://github.com/hildjj/)"
  15. ],
  16. "directories": {
  17. "bin": "./bin",
  18. "lib": "./lib"
  19. },
  20. "scripts": {
  21. "clean": "rimraf lib cmake_install.cmake CTestTestfile.cmake Makefile",
  22. "prebuild": "npm run clean",
  23. "build": "cmake . && tsc",
  24. "pretest": "npm run build && npm run lint",
  25. "test": "npm run test:all",
  26. "test:all": "mocha && ctest . --preset Test",
  27. "precoverage": "npm run build -- --inlineSourceMap",
  28. "coverage": "c8 npm run test:all",
  29. "postcoverage": "npm run build",
  30. "ci": "npm run coverage -- -- -VV --output-on-failure",
  31. "lint": "eslint . --ext ts",
  32. "prepub": "npm run lint && npm run build",
  33. "pub": "npm publish"
  34. },
  35. "repository": {
  36. "type": "git",
  37. "url": "git://github.com/editorconfig/editorconfig-core-js.git"
  38. },
  39. "bugs": "https://github.com/editorconfig/editorconfig-core-js/issues",
  40. "author": "EditorConfig Team",
  41. "license": "MIT",
  42. "dependencies": {
  43. "@one-ini/wasm": "0.1.1",
  44. "commander": "^10.0.0",
  45. "minimatch": "9.0.1",
  46. "semver": "^7.5.3"
  47. },
  48. "devDependencies": {
  49. "@types/mocha": "^10.0.1",
  50. "@types/node": "^20.3.1",
  51. "@types/semver": "^7.5.0",
  52. "@typescript-eslint/eslint-plugin": "5.60.0",
  53. "@typescript-eslint/parser": "5.60.0",
  54. "c8": "8.0.0",
  55. "eslint": "8.43.0",
  56. "eslint-plugin-jsdoc": "46.2.6",
  57. "mocha": "^10.2.0",
  58. "rimraf": "^5.0.1",
  59. "should": "^13.2.3",
  60. "typescript": "^5.1.3"
  61. },
  62. "engines": {
  63. "node": ">=14"
  64. }
  65. }