forked from kenlimmj/rouge
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
62 lines (62 loc) · 1.9 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
{
"name": "js-rouge",
"version": "3.0.0",
"description": "Recall-Oriented Understudy for Gisting Evaluation (ROUGE) Evaluation Functions with TypeScript support",
"main": "dist/rouge.js",
"module": "dist/rouge.mjs",
"types": "dist/rouge.d.ts",
"scripts": {
"test": "jest",
"build": "npm run clean && npm run build:js && npm run build:types",
"build:js": "esbuild src/rouge.ts --bundle --minify --sourcemap --platform=node --target=node18 --outfile=dist/rouge.js && esbuild src/rouge.ts --bundle --minify --sourcemap --platform=neutral --format=esm --outfile=dist/rouge.mjs",
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly --outDir dist",
"clean": "rimraf dist",
"type-check": "tsc --noEmit",
"lint": "eslint .",
"format": "prettier --write \"**/*.{ts,js,json,md}\"",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/promptfoo/rouge.git"
},
"keywords": [
"ROUGE",
"Auto-summarization",
"NLP",
"TypeScript"
],
"author": "Lim Mingje, Kenneth <[email protected]> (https://kenlimmj.com)",
"contributors": [
"promptfoo (https://promptfoo.dev)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/promptfoo/rouge/issues"
},
"homepage": "https://github.com/promptfoo/rouge",
"devDependencies": {
"@swc/core": "^1.7.12",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"esbuild": "^0.23.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-jest": "^28.8.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.4",
"typescript": "^5.5.4",
"typescript-eslint": "^8.1.0"
},
"engines": {
"node": ">=18.0.0"
},
"directories": {
"lib": "lib",
"test": "test"
}
}