-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
70 lines (70 loc) · 2.08 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
64
65
66
67
68
69
70
{
"name": "methodius",
"version": "2.0.1",
"description": "A utility for analyzing text to find bigrams, trigrams, and other n-grams.",
"main": "dist/main.js",
"module": "esm/main.js",
"browser": "dist/main.js",
"types": "dist/main.d.ts",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/paceaux/methodius.git"
},
"scripts": {
"clean": "rimraf dist esm",
"lint": "eslint -f table src/**/*.ts test/**/*.ts",
"lint:fix": "eslint --fix src/**/*.ts test/**/*.ts",
"pretest": "npm run build",
"test": "jest --config jest.config.js",
"prepublish": "safe-publish-latest && npm run build",
"build:cjs": "tsc --module commonjs --outDir dist",
"build:esm": "tsc --target esnext --outDir esm",
"prebuild": "npm run clean",
"build": "npm run build:esm && npm run build:cjs",
"prepare": "npm run build",
"prepublishOnly": "npm run build"
},
"keywords": [
"nlp",
"computational linguistics",
"linguistics",
"text",
"bigrams",
"trigrams",
"ngrams"
],
"author": "paceaux (frank m. taylor)",
"license": "MIT",
"dependencies": {
"@typescript-eslint/eslint-plugin": "^8.4.0",
"core-js": "^3.38.1",
"set.prototype.difference": "^1.1.6",
"set.prototype.intersection": "^1.1.7",
"set.prototype.symmetricdifference": "^1.1.3",
"set.prototype.union": "^1.1.3"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@jest/globals": "^29.7.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/jest": "^29.5.12",
"@typescript-eslint/parser": "^8.4.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-formatter-table": "^7.32.1",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsdoc": "^39.9.1",
"rimraf": "^6.0.1",
"safe-publish-latest": "^2.0.0",
"ts-jest": "^29.2.5",
"typescript": "^5.5.4"
}
}