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