-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
61 lines (61 loc) · 1.81 KB
/
package.json
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "lines-and-columns",
"version": "0.0.0-dev",
"description": "Maps lines and columns to character offsets and back.",
"keywords": [
"lines",
"columns",
"parser"
],
"homepage": "https://github.com/eventualbuddha/lines-and-columns#readme",
"bugs": {
"url": "https://github.com/eventualbuddha/lines-and-columns/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/eventualbuddha/lines-and-columns.git"
},
"license": "MIT",
"author": "Brian Donovan <[email protected]>",
"type": "module",
"main": "./build/index.cjs",
"exports": {
"import": "./build/index.mjs",
"require": "./build/index.cjs",
"types": "./build/index.d.ts"
},
"types": "./build/index.d.ts",
"files": [
"build"
],
"scripts": {
"prebuild": "rm -rf build",
"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",
"build:watch": "tsc --project tsconfig.build.json --watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "npm run lint && npm run build",
"test": "is-ci test:coverage test:watch",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch"
},
"devDependencies": {
"@types/jest": "^27.0.3",
"@types/node": "^16.11.9",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"esbuild": "^0.13.15",
"esbuild-runner": "^2.2.1",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"is-ci-cli": "^2.2.0",
"jest": "^27.3.1",
"prettier": "^2.4.1",
"semantic-release": "^18.0.0",
"typescript": "^4.5.2"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
}
}