package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "lines-and-columns",
  3. "description": "Maps lines and columns to character offsets and back.",
  4. "main": "dist/index.js",
  5. "module": "dist/index.mjs",
  6. "types": "dist/index.d.ts",
  7. "scripts": {
  8. "lint": "tslint --config tslint.json --project tsconfig.json --type-check",
  9. "lint-fix": "tslint --config tslint.json --project tsconfig.json --type-check --fix",
  10. "prebuild": "rm -rf dist",
  11. "build": "./script/build",
  12. "pretest": "npm run build",
  13. "test": "mocha",
  14. "prepublish": "npm run lint && npm run build",
  15. "semantic-release": "semantic-release pre && npm publish && semantic-release post"
  16. },
  17. "files": [
  18. "dist"
  19. ],
  20. "repository": {
  21. "type": "git",
  22. "url": "https://github.com/eventualbuddha/lines-and-columns.git"
  23. },
  24. "keywords": [
  25. "lines",
  26. "columns",
  27. "parser"
  28. ],
  29. "author": "Brian Donovan <me@brian-donovan.com>",
  30. "license": "MIT",
  31. "bugs": {
  32. "url": "https://github.com/eventualbuddha/lines-and-columns/issues"
  33. },
  34. "homepage": "https://github.com/eventualbuddha/lines-and-columns#readme",
  35. "devDependencies": {
  36. "@types/mocha": "^2.2.34",
  37. "@types/node": "^6.0.52",
  38. "mocha": "^3.2.0",
  39. "semantic-release": "^6.3.2",
  40. "ts-node": "^1.7.2",
  41. "tslint": "^4.1.1",
  42. "typescript": "^2.1.4"
  43. },
  44. "version": "1.1.6"
  45. }