51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "compromise-dates",
|
|
"description": "plugin for nlp-compromise",
|
|
"version": "3.7.1",
|
|
"author": "Spencer Kelly <spencermountain@gmail.com> (http://spencermounta.in)",
|
|
"main": "./src/plugin.js",
|
|
"unpkg": "./builds/compromise-dates.min.js",
|
|
"module": "./builds/compromise-dates.mjs",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"types": "./index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./index.d.ts",
|
|
"default": "./src/plugin.js"
|
|
},
|
|
"require": {
|
|
"types": "./index.d.cts",
|
|
"default": "./builds/compromise-dates.cjs"
|
|
}
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/spencermountain/compromise.git"
|
|
},
|
|
"homepage": "https://github.com/spencermountain/compromise/tree/master/plugins/dates",
|
|
"scripts": {
|
|
"test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always",
|
|
"testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always",
|
|
"watch": "node --watch ./scratch.js",
|
|
"perf": "node ./scripts/perf.js",
|
|
"version": "node ./scripts/version.js",
|
|
"build": "npm run version && rollup -c --silent"
|
|
},
|
|
"files": [
|
|
"builds/",
|
|
"src/",
|
|
"index.d.ts"
|
|
],
|
|
"peerDependencies": {
|
|
"compromise": ">=14.2.0"
|
|
},
|
|
"dependencies": {
|
|
"spacetime": "7.7.0",
|
|
"spacetime-holiday": "0.3.0"
|
|
},
|
|
"license": "MIT"
|
|
}
|