UNPKG

wn-ts

Version:
97 lines 2.77 kB
{ "name": "wn-ts", "version": "0.4.0", "description": "Wordnet interface library - TypeScript port", "keywords": [ "wordnet", "interlingual", "linguistics", "language", "library", "typescript" ], "repository": { "type": "git", "url": "https://github.com/fustilio/wordnet-playground.git", "directory": "wn-ts" }, "license": "MIT", "author": "fustilio", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./similarity": { "types": "./dist/similarity.d.ts", "default": "./dist/similarity.js" }, "./taxonomy": { "types": "./dist/taxonomy.d.ts", "default": "./dist/taxonomy.js" }, "./morphy": { "types": "./dist/morphy.d.ts", "default": "./dist/morphy.js" }, "./ic": { "types": "./dist/ic.d.ts", "default": "./dist/ic.js" } }, "bin": { "wn-ts": "./bin/cli-stub.js" }, "files": [ "tools/" ], "dependencies": { "@types/sax": "^1.2.7", "better-sqlite3": "^12.2.0", "commander": "^14.0.0", "fast-xml-parser": "^5.2.5", "lzma-native": "^8.0.6", "pythonia": "^1.2.2", "sax": "^1.4.1", "smol-toml": "^1.4.1" }, "devDependencies": { "@changesets/cli": "^2.27.7", "@types/better-sqlite3": "^7.6.13", "@types/node": "^20.10.0", "@typescript-eslint/eslint-plugin": "^8.35.1", "@typescript-eslint/parser": "^8.35.1", "@vitest/coverage-v8": "^3.2.4", "@vitest/ui": "^3.2.4", "eslint": "^9.30.1", "prettier": "^3.6.2", "rimraf": "^5.0.0", "typescript": "^5.3.0", "vitest": "^3.2.4" }, "engines": { "node": ">=18.0.0" }, "scripts": { "prebuild": "pnpm run clean", "build": "tsc && pnpm run copy-assets", "clean": "rimraf dist", "copy-assets": "copy src\\index.toml dist\\", "dev": "pnpm run copy-assets && tsc --watch", "format": "prettier --write src/**/*.ts", "lint": "eslint src --ext .ts", "lint:fix": "eslint src --ext .ts --fix", "publish-package": "pnpm run build && changeset version && changeset publish", "test": "pnpm run test:func && pnpm run test:e2e", "test:func": "vitest run --reporter=verbose --exclude \"**/e2e*.test.ts\"", "test:bench": "vitest bench --run", "test:coverage": "vitest run --coverage --reporter=verbose --exclude \"**/e2e*.test.ts\"", "test:e2e": "vitest run --no-file-parallelism tests/e2e", "test:run": "vitest run --reporter=verbose --exclude \"**/e2e*.test.ts\"", "test:ui": "vitest --ui --exclude \"**/e2e*.test.ts\"", "test:verbose": "node scripts/test-verbose.js", "vitest": "vitest run", "build:browser-data": "ts-node tools/makeBrowserData.ts" } }