node-diff3
Version:
A node.js module for text diffing and three-way-merge.
65 lines (64 loc) • 1.56 kB
JSON
{
"name": "node-diff3",
"version": "3.1.2",
"license": "MIT",
"repository": "github:bhousel/node-diff3",
"description": "A node.js module for text diffing and three-way-merge.",
"contributors": [
"Bryan Housel <bhousel@gmail.com> (https://github.com/bhousel)"
],
"keywords": [
"diff",
"diff3",
"diffutils",
"gnu",
"javascript",
"merge",
"nodejs",
"patch"
],
"files": [
"index.mjs",
"index.d.ts",
"dist/"
],
"type": "module",
"source": "./index.mjs",
"types": "./index.d.ts",
"main": "./dist/index.cjs",
"module": "./index.mjs",
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./index.mjs"
},
"require": "./dist/index.cjs"
}
},
"scripts": {
"all": "run-s clean test",
"clean": "shx rm -rf dist",
"build": "run-p build:**",
"build:browser": "esbuild ./index.mjs --platform=browser --format=iife --global-name=Diff3 --bundle --sourcemap --outfile=./dist/index.iife.js",
"build:cjs": "esbuild ./index.mjs --platform=node --format=cjs --sourcemap --outfile=./dist/index.cjs",
"lint": "eslint index.mjs test/*.js",
"tap": "c8 tap --reporter terse --no-cov test/*.js",
"test": "run-s build lint tap"
},
"devDependencies": {
"c8": "^7.11.3",
"esbuild": "^0.14.42",
"eslint": "^8.17.0",
"npm-run-all": "^4.1.5",
"shx": "^0.3.4",
"tap": "^16.2.0"
},
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">14"
}
}