codekingpro/portable-devtools
115k
1{
2 "name": "diff",
3 "version": "8.0.3",
4 "description": "A JavaScript text diff implementation.",
5 "keywords": [
6 "diff",
7 "jsdiff",
8 "compare",
9 "patch",
10 "text",
11 "json",
12 "css",
13 "javascript"
14 ],
15 "maintainers": [
16 "Kevin Decker <kpdecker@gmail.com> (http://incaseofstairs.com)",
17 "Mark Amery <markrobertamery+jsdiff@gmail.com>"
18 ],
19 "bugs": {
20 "email": "kpdecker@gmail.com",
21 "url": "http://github.com/kpdecker/jsdiff/issues"
22 },
23 "license": "BSD-3-Clause",
24 "repository": {
25 "type": "git",
26 "url": "https://github.com/kpdecker/jsdiff.git"
27 },
28 "engines": {
29 "node": ">=0.3.1"
30 },
31 "main": "./libcjs/index.js",
32 "module": "./libesm/index.js",
33 "browser": "./dist/diff.js",
34 "unpkg": "./dist/diff.js",
35 "exports": {
36 ".": {
37 "import": {
38 "types": "./libesm/index.d.ts",
39 "default": "./libesm/index.js"
40 },
41 "require": {
42 "types": "./libcjs/index.d.ts",
43 "default": "./libcjs/index.js"
44 }
45 },
46 "./package.json": "./package.json",
47 "./lib/*.js": {
48 "import": {
49 "types": "./libesm/*.d.ts",
50 "default": "./libesm/*.js"
51 },
52 "require": {
53 "types": "./libcjs/*.d.ts",
54 "default": "./libcjs/*.js"
55 }
56 },
57 "./lib/": {
58 "import": {
59 "types": "./libesm/",
60 "default": "./libesm/"
61 },
62 "require": {
63 "types": "./libcjs/",
64 "default": "./libcjs/"
65 }
66 }
67 },
68 "type": "module",
69 "types": "libcjs/index.d.ts",
70 "scripts": {
71 "clean": "rm -rf libcjs/ libesm/ dist/ coverage/ .nyc_output/",
72 "lint": "yarn eslint",
73 "build": "yarn lint && yarn generate-esm && yarn generate-cjs && yarn check-types && yarn run-rollup && yarn run-uglify",
74 "generate-cjs": "yarn tsc --module commonjs --outDir libcjs && node --eval \"fs.writeFileSync('libcjs/package.json', JSON.stringify({type:'commonjs',sideEffects:false}))\"",
75 "generate-esm": "yarn tsc --module nodenext --outDir libesm --target es6 && node --eval \"fs.writeFileSync('libesm/package.json', JSON.stringify({type:'module',sideEffects:false}))\"",
76 "check-types": "yarn run-tsd && yarn run-attw",
77 "test": "nyc yarn _test",
78 "_test": "yarn build && cross-env NODE_ENV=test yarn run-mocha",
79 "run-attw": "yarn attw --pack --entrypoints . && yarn attw --pack --entrypoints lib/diff/word.js --profile node16",
80 "run-tsd": "yarn tsd --typings libesm/ && yarn tsd --files test-d/",
81 "run-rollup": "rollup -c rollup.config.mjs",
82 "run-uglify": "uglifyjs dist/diff.js -c -o dist/diff.min.js",
83 "run-mocha": "mocha --require ./runtime 'test/**/*.js'"
84 },
85 "devDependencies": {
86 "@arethetypeswrong/cli": "^0.17.4",
87 "@babel/core": "^7.26.9",
88 "@babel/preset-env": "^7.26.9",
89 "@babel/register": "^7.25.9",
90 "@colors/colors": "^1.6.0",
91 "@eslint/js": "^9.25.1",
92 "babel-loader": "^10.0.0",
93 "babel-plugin-istanbul": "^7.0.0",
94 "chai": "^5.2.0",
95 "cross-env": "^7.0.3",
96 "eslint": "^9.25.1",
97 "globals": "^16.0.0",
98 "karma": "^6.4.4",
99 "karma-mocha": "^2.0.1",
100 "karma-mocha-reporter": "^2.2.5",
101 "karma-sourcemap-loader": "^0.4.0",
102 "karma-webpack": "^5.0.1",
103 "mocha": "^11.1.0",
104 "nyc": "^17.1.0",
105 "rollup": "^4.40.1",
106 "tsd": "^0.32.0",
107 "typescript": "^5.8.3",
108 "typescript-eslint": "^8.31.0",
109 "uglify-js": "^3.19.3",
110 "webpack": "^5.99.7",
111 "webpack-dev-server": "^5.2.1"
112 },
113 "optionalDependencies": {},
114 "dependencies": {},
115 "nyc": {
116 "require": [
117 "@babel/register"
118 ],
119 "reporter": [
120 "lcov",
121 "text"
122 ],
123 "sourceMap": false,
124 "instrument": false,
125 "check-coverage": true,
126 "branches": 100,
127 "lines": 100,
128 "functions": 100,
129 "statements": 100
130 },
131 "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
132}
133 