Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
package.json130 linesDownload Raw Back to diff
1{
2  "name": "diff",
3  "version": "8.0.4",
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.18.2",
87    "@babel/core": "^7.29.0",
88    "@babel/preset-env": "^7.29.2",
89    "@babel/register": "^7.28.6",
90    "@colors/colors": "^1.6.0",
91    "@eslint/js": "^10.0.1",
92    "babel-loader": "^10.1.1",
93    "babel-plugin-istanbul": "^7.0.1",
94    "chai": "^6.2.2",
95    "cross-env": "^10.1.0",
96    "eslint": "^10.1.0",
97    "globals": "^17.4.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.7.5",
104    "nyc": "^18.0.0",
105    "rollup": "^4.60.0",
106    "tsd": "^0.33.0",
107    "typescript": "^5.9.3",
108    "typescript-eslint": "^8.57.1",
109    "uglify-js": "^3.19.3",
110    "webpack": "^5.105.4",
111    "webpack-dev-server": "^5.2.3"
112  },
113  "nyc": {
114    "require": [
115      "@babel/register"
116    ],
117    "reporter": [
118      "lcov",
119      "text"
120    ],
121    "sourceMap": false,
122    "instrument": false,
123    "check-coverage": true,
124    "branches": 100,
125    "lines": 100,
126    "functions": 100,
127    "statements": 100
128  },
129  "packageManager": "yarn@4.12.0"
130}
codekingpro/portable-devtools · Team Ai