-
Notifications
You must be signed in to change notification settings - Fork 654
/
package.json
135 lines (135 loc) · 3.63 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"author": "Spencer Kelly <[email protected]> (http://spencermounta.in)",
"name": "compromise",
"description": "modest natural language processing",
"version": "14.14.3",
"module": "./src/three.js",
"main": "./src/three.js",
"unpkg": "./builds/compromise.js",
"type": "module",
"sideEffects": false,
"types": "./types/three.d.ts",
"exports": {
".": {
"import": "./src/three.js",
"require": "./builds/three/compromise-three.cjs",
"types": "./types/three.d.ts"
},
"./tokenize": {
"import": "./src/one.js",
"require": "./builds/one/compromise-one.cjs",
"types": "./types/one.d.ts"
},
"./one": {
"import": "./src/one.js",
"require": "./builds/one/compromise-one.cjs",
"types": "./types/one.d.ts"
},
"./two": {
"import": "./src/two.js",
"require": "./builds/two/compromise-two.cjs",
"types": "./types/two.d.ts"
},
"./three": {
"import": "./src/three.js",
"require": "./builds/three/compromise-three.cjs",
"types": "./types/three.d.ts"
},
"./misc": {
"types": "./types/misc.d.ts"
},
"./view/one": {
"types": "./types/view/one.d.ts"
},
"./view/two": {
"types": "./types/view/two.d.ts"
},
"./view/three": {
"types": "./types/view/three.d.ts"
}
},
"typesVersions": {
"*": {
"one": [
"./types/one.d.ts"
],
"two": [
"./types/two.d.ts"
],
"three": [
"./types/three.d.ts"
]
}
},
"repository": {
"type": "git",
"url": "git://github.com/spencermountain/compromise.git"
},
"homepage": "https://github.com/spencermountain/compromise",
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"build": "npm run version && rollup -c --silent",
"watch": "node --watch ./scratch.js",
"pack": "node ./scripts/pack.js",
"version": "node ./scripts/version.js",
"test": "tape \"./tests/**/*.test.js\" | tap-dancer",
"testb": "npm run test:smoke && cross-env TESTENV=prod npm run test",
"test:one": "tape \"./tests/one/**/*.test.js\" | tap-dancer",
"test:two": "tape \"./tests/two/**/*.test.js\" | tap-dancer",
"test:three": "tape \"./tests/three/**/*.test.js\" | tap-dancer",
"test:smoke": "tape \"./scripts/test/smoke.test.js\" | tap-dancer",
"test:plugins": "tape \"./plugins/**/tests/**/*.test.js\" | tap-dancer",
"stress": "node scripts/test/stress.js",
"debug": "node ./scripts/debug.js",
"match": "node ./scripts/match.js",
"coverage": "c8 -r lcov -n 'src/**/*' -n 'plugins/**/*' npm run test",
"perf": "node ./scripts/perf/index.js",
"flame": "clinic flame -- node ./scripts/perf/flame",
"lint": "eslint src",
"plugins:ci": "node ./scripts/plugins.js npm ci",
"plugins:build": "node ./scripts/plugins.js npm run build"
},
"files": [
"builds/",
"types/",
"src/"
],
"keywords": [
"nlp"
],
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 120,
"arrowParens": "avoid"
},
"dependencies": {
"efrt": "2.7.0",
"grad-school": "0.0.5",
"suffix-thumb": "5.0.2"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-terser": "0.4.4",
"cross-env": "^7.0.3",
"eslint": "9.16.0",
"eslint-plugin-regexp": "2.7.0",
"nlp-corpus": "4.4.0",
"rollup": "4.28.0",
"rollup-plugin-filesize-check": "1.2.0",
"shelljs": "0.8.5",
"tap-dancer": "0.3.4",
"tape": "5.9.0"
},
"eslintIgnore": [
"builds/*.js",
"*.ts",
"_old/**",
"_tests/**"
],
"license": "MIT"
}