wordpos/package.json

83 lines
2.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 03:51:37 +00:00
"dict",
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",
"symlink-dir": "1.1.3",
"underscore": ">=1.3.1",
"wordnet-db": "^3.1.6"
2012-05-04 19:23:28 +00:00
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-do-expressions": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-plugin-dynamic-import-node": "^2.2.0",
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",
"test": "npm run test-node && npm run test-browser",
"test-node": "mocha test",
"test-browser": "mocha test/wordpos_test --require @babel/register",
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
}