-
Notifications
You must be signed in to change notification settings - Fork 654
/
package.json
96 lines (96 loc) · 3.11 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
{
"author": "Spencer Kelly <spencermountain@gmail.com> (http://spencermounta.in)",
"name": "compromise",
"description": "modest natural language processing",
"version": "13.9.2",
"main": "./builds/compromise.js",
"unpkg": "./builds/compromise.min.js",
"module": "./builds/compromise.mjs",
"type": "commonjs",
"types": "types/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"default": "./builds/compromise.js",
"require": "./builds/compromise.js",
"import": "./builds/compromise.mjs"
},
"./tokenize": {
"require": "./builds/compromise-tokenize.js"
}
},
"repository": {
"type": "git",
"url": "git://github.com/spencermountain/compromise.git"
},
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"build": "node ./scripts/build && rollup -c --silent && npm run test:smoke --silent",
"pack": "node ./scripts/build/pack.js",
"test": "node ./scripts/test/index.js ",
"testb": "npm run test:smoke && TESTENV=prod node ./scripts/test/index.js",
"test:smoke": "node \"./scripts/test/smoke-test/\" | tap-dancer",
"test:spec": "tape \"./tests/**/*.test.js\" | tap-spec",
"test:types": "ts-node ./scripts/test/types.ts | tap-dancer",
"test:stress": "node ./scripts/test/stress.js",
"test:coverage": "nyc -r text-summary -n 'src/**/*' -n 'plugins/**/*' npm run test",
"coverage:html": "nyc --reporter=html tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"coverage": "nyc -r lcov -n 'src/**/*' -n 'plugins/**/*' npm run test",
"codecov": "npm run coverage && codecov -t 15039ad1-b495-48cd-b4a0-bcf124c9b318",
"perf": "node ./scripts/test/speed/index.js",
"perf:build": "node ./scripts/test/speed/build-speed.js",
"lint": "eslint ./src/ && eslint ./plugins/**/src/",
"watch": "amble ./scratch.js",
"build:all": "node ./scripts/build/build-all.js && npm run build --silent",
"plugins": "node ./scripts/plugin-check.js --silent",
"plugins:install": "node ./scripts/plugins.js npm install",
"plugins:ci": "node ./scripts/plugins.js npm ci",
"plugins:build": "node ./scripts/plugins.js npm run build",
"demo": "python -m SimpleHTTPServer 8888"
},
"files": [
"builds/",
"types/index.d.ts"
],
"keywords": [
"nlp"
],
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 120,
"arrowParens": "avoid"
},
"dependencies": {
"efrt-unpack": "2.2.0"
},
"devDependencies": {
"@babel/core": "7.12.13",
"@babel/preset-env": "7.12.13",
"@rollup/plugin-alias": "3.1.2",
"@rollup/plugin-commonjs": "17.1.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "11.1.1",
"amble": "1.2.0",
"codecov": "3.8.1",
"efrt": "2.2.2",
"nyc": "^15.1.0",
"rollup": "2.38.4",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-filesize-check": "0.0.1",
"rollup-plugin-terser": "7.0.2",
"shelljs": "0.8.4",
"tap-dancer": "0.3.1",
"tape": "5.1.1"
},
"eslintIgnore": [
"builds/*.js",
"*.ts",
"plugins/**/types/*.ts"
],
"license": "MIT"
}