1 | {
|
2 | "name": "lines-and-columns",
|
3 | "version": "2.0.4",
|
4 | "description": "Maps lines and columns to character offsets and back.",
|
5 | "keywords": [
|
6 | "lines",
|
7 | "columns",
|
8 | "parser"
|
9 | ],
|
10 | "homepage": "https://github.com/eventualbuddha/lines-and-columns#readme",
|
11 | "bugs": {
|
12 | "url": "https://github.com/eventualbuddha/lines-and-columns/issues"
|
13 | },
|
14 | "repository": {
|
15 | "type": "git",
|
16 | "url": "https://github.com/eventualbuddha/lines-and-columns.git"
|
17 | },
|
18 | "license": "MIT",
|
19 | "author": "Brian Donovan <brian@donovans.cc>",
|
20 | "type": "module",
|
21 | "main": "./build/index.cjs",
|
22 | "exports": {
|
23 | "import": "./build/index.mjs",
|
24 | "require": "./build/index.cjs",
|
25 | "types": "./build/index.d.ts"
|
26 | },
|
27 | "types": "./build/index.d.ts",
|
28 | "files": [
|
29 | "build"
|
30 | ],
|
31 | "scripts": {
|
32 | "prebuild": "rm -rf build",
|
33 | "build": "tsc --project tsconfig.build.json && mv build/index.js build/index.mjs && tsc --project tsconfig.build.json --module commonjs && mv build/index.js build/index.cjs",
|
34 | "build:watch": "tsc --project tsconfig.build.json --watch",
|
35 | "lint": "eslint .",
|
36 | "lint:fix": "eslint . --fix",
|
37 | "prepublishOnly": "npm run lint && npm run build",
|
38 | "test": "is-ci test:coverage test:watch",
|
39 | "test:coverage": "jest --coverage",
|
40 | "test:watch": "jest --watch"
|
41 | },
|
42 | "devDependencies": {
|
43 | "@types/jest": "^27.0.3",
|
44 | "@types/node": "^16.11.9",
|
45 | "@typescript-eslint/eslint-plugin": "^5.4.0",
|
46 | "@typescript-eslint/parser": "^5.4.0",
|
47 | "esbuild": "^0.13.15",
|
48 | "esbuild-runner": "^2.2.1",
|
49 | "eslint": "^8.2.0",
|
50 | "eslint-config-prettier": "^8.3.0",
|
51 | "eslint-plugin-prettier": "^4.0.0",
|
52 | "is-ci-cli": "^2.2.0",
|
53 | "jest": "^27.3.1",
|
54 | "prettier": "^2.4.1",
|
55 | "semantic-release": "^18.0.0",
|
56 | "typescript": "^4.5.2"
|
57 | },
|
58 | "engines": {
|
59 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
60 | }
|
61 | }
|