wordpos/package.json

69 lines
1.9 KiB
JSON
Raw Normal View History

2012-05-04 19:23:28 +00:00
{
"name": "wordpos",
2018-10-13 03:35:11 +00:00
"version": "2.0.0-alpha",
2018-10-15 06:41:40 +00:00
"description": "wordpos is a set of part-of-speech utilities for Node.js & browser using the WordNet database.",
2012-05-07 07:23:29 +00:00
"author": "Moos <mooster@42at.com>",
"keywords": [
"natural",
"language",
"wordnet",
"adjectives",
"nouns",
"adverbs",
"verbs"
],
2012-05-04 19:23:28 +00:00
"homepage": "https://github.com/moos/wordpos",
"engines": {
2018-10-21 02:26:45 +00:00
"node": ">=6"
2012-05-04 19:23:28 +00:00
},
2018-10-13 03:35:11 +00:00
"files": [
"bench",
"bin",
2018-10-21 02:26:45 +00:00
"dist",
2018-10-13 03:35:11 +00:00
"lib",
"src",
"test",
"tools"
],
2012-05-30 23:12:22 +00:00
"bin": "./bin/wordpos-cli.js",
2012-05-04 19:23:28 +00:00
"dependencies": {
"commander": "^2.0.0",
"underscore": ">=1.3.1",
2018-10-15 06:41:40 +00:00
"wordnet-db": "^3.1.6",
"symlink-dir": "1.1.3"
2012-05-04 19:23:28 +00:00
},
"devDependencies": {
2018-10-13 03:35:11 +00:00
"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",
2017-06-12 16:43:44 +00:00
"chai": "^4.0.2",
"mini-bench": "^1.0.0",
2018-09-02 10:13:29 +00:00
"mocha": "^5.2.0"
2012-05-04 19:23:28 +00:00
},
"repository": {
"type": "git",
"url": "git://github.com/moos/wordpos.git"
2012-05-04 19:23:28 +00:00
},
2018-10-15 06:41:40 +00:00
"main": "./src/node/index.js",
"browser": "./src/browser/index.js",
2012-05-20 18:29:10 +00:00
"scripts": {
2018-10-15 06:41:40 +00:00
"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",
2018-10-13 03:35:11 +00:00
"postinstall-web": "node scripts/makeJsonDict.js index data",
2018-10-21 02:26:45 +00:00
"build": "parcel build --detailed-report -o wordpos.min.js --global WordPOS -t browser src/browser/index.js",
2018-10-13 03:35:11 +00:00
"test": "mocha test",
2018-10-15 06:41:40 +00:00
"test-browser": "mocha test- # TODO",
2018-10-21 02:26:45 +00:00
"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",
2018-10-13 03:35:11 +00:00
"start-self": "parcel samples/self-hosted/index.html",
"start-cdn": "parcel samples/cdn/index.html"
},
"license": "MIT"
2012-05-04 19:23:28 +00:00
}