-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
63 lines (63 loc) · 1.49 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
62
63
{
"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",
"test": "run-s build test:node",
"test:node": "c8 node --test test/*.js"
},
"devDependencies": {
"c8": "^10.1.2",
"esbuild": "^0.23.1",
"eslint": "^9.10.0",
"npm-run-all": "^4.1.5",
"shx": "^0.3.4"
},
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18"
}
}