wordpos/package.json

69 lines
1.9 KiB
JSON
Executable File

{
"name": "wordpos",
"version": "2.0.0-alpha",
"description": "wordpos is a set of part-of-speech utilities for Node.js & browser using the WordNet database.",
"author": "Moos <mooster@42at.com>",
"keywords": [
"natural",
"language",
"wordnet",
"adjectives",
"nouns",
"adverbs",
"verbs"
],
"homepage": "https://github.com/moos/wordpos",
"engines": {
"node": ">=6"
},
"files": [
"bench",
"bin",
"dist",
"lib",
"src",
"test",
"tools"
],
"bin": "./bin/wordpos-cli.js",
"dependencies": {
"commander": "^2.0.0",
"underscore": ">=1.3.1",
"wordnet-db": "^3.1.6",
"symlink-dir": "1.1.3"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-2": "^6.24.1",
"chai": "^4.0.2",
"mini-bench": "^1.0.0",
"mocha": "^5.2.0"
},
"repository": {
"type": "git",
"url": "git://github.com/moos/wordpos.git"
},
"main": "./src/node/index.js",
"browser": "./src/browser/index.js",
"scripts": {
"postinstall": "npm run postinstall-web && npm run postinstall-node",
"postinstall-node": "node tools/stat.js --no-stats index.adv index.adj index.verb index.noun",
"postinstall-web": "node scripts/makeJsonDict.js index data",
"build": "parcel build --detailed-report -o wordpos.min.js --global WordPOS -t browser src/browser/index.js",
"test": "mocha test",
"test-browser": "mocha test- # TODO",
"prestart": "symlink-dir dict samples/self-hosted/dict",
"start": "npm run build && http-server",
"prestart-dev": "rm -rf build && mkdir build && symlink-dir dict build/dict && cp samples/self-hosted/main.js build/main.txt",
"start-dev": "npm run start-self -- -d build",
"start-self": "parcel samples/self-hosted/index.html",
"start-cdn": "parcel samples/cdn/index.html"
},
"license": "MIT"
}