lines-and-columns
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "lines-and-columns", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Maps lines and columns to character offsets and back.", | ||
@@ -21,3 +21,7 @@ "keywords": [ | ||
"type": "module", | ||
"exports": "./build/index.js", | ||
"main": "./build/index.cjs", | ||
"exports": { | ||
"import": "./build/index.mjs", | ||
"require": "./build/index.cjs" | ||
}, | ||
"types": "./build/index.d.ts", | ||
@@ -29,4 +33,4 @@ "files": [ | ||
"prebuild": "rm -rf build", | ||
"build": "tsc --build tsconfig.build.json", | ||
"build:watch": "tsc --build tsconfig.build.json --watch", | ||
"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 .", | ||
@@ -33,0 +37,0 @@ "lint:fix": "eslint . --fix", |
7659
6
131