UNPKG

cspell-lib

Version:

A library of useful functions used across various cspell tools.

127 lines (126 loc) 3.72 kB
{ "name": "cspell-lib", "publishConfig": { "access": "public", "provenance": true }, "version": "10.0.0", "description": "A library of useful functions used across various cspell tools.", "type": "module", "sideEffects": false, "types": "dist/index.d.ts", "module": "dist/index.js", "exports": { ".": { "import": "./dist/index.js" }, "./rpc": { "import": "./dist/rpc.js" }, "./cspell-rpc": { "import": "./dist/cspell-rpc/index.js" }, "./cspell-rpc/server": { "import": "./dist/cspell-rpc/server.js" }, "./cspell-rpc/client": { "import": "./dist/cspell-rpc/client.js" } }, "files": [ "dist", "!**/*.tsbuildInfo", "!**/__mocks__", "!**/test*/**", "!**/test.*", "!**/*.test.*", "!**/*.spec.*", "!**/*.map" ], "scripts": { "clean": "shx rm -rf dist temp coverage \"*.tsbuildInfo\"", "clean-build": "pnpm clean && pnpm build", "build": "tsc -p . && pnpm run build:api", "build:api": "tsdown", "watch": "tsc -p . --watch", "coverage": "vitest run --coverage --pool=forks", "test-watch": "vitest", "prepublishOnly": "pnpm run clean-build", "test": "vitest run --pool=forks", "test:update-snapshot": "vitest run -u", "test:perf": "NODE_ENV=production insight --file \"**/*.perf.{mjs,js}\"", "test:perf:ts": "NODE_ENV=production insight --file \"**/*.perf.{mts,ts}\" ", "test:perf:prof": "NODE_ENV=production node --cpu-prof ../../node_modules/perf-insight/bin.mjs --file \"dist/**/*.perf.{mjs,js}\" -t 1000" }, "repository": { "type": "git", "url": "https://github.com/streetsidesoftware/cspell.git", "directory": "packages/cspell-lib" }, "keywords": [ "spell", "checker", "code", "camel", "case", "spelling", "spell checker", "spelling checker", "lint" ], "author": "Jason Dent", "license": "MIT", "bugs": { "url": "https://github.com/streetsidesoftware/cspell/labels/cspell-lib" }, "homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-lib#readme", "dependencies": { "@cspell/cspell-bundled-dicts": "10.0.0", "@cspell/cspell-performance-monitor": "10.0.0", "@cspell/cspell-pipe": "10.0.0", "@cspell/cspell-resolver": "10.0.0", "@cspell/cspell-types": "10.0.0", "@cspell/dynamic-import": "10.0.0", "@cspell/filetypes": "10.0.0", "@cspell/rpc": "10.0.0", "@cspell/strong-weak-map": "10.0.0", "@cspell/url": "10.0.0", "cspell-config-lib": "10.0.0", "cspell-dictionary": "10.0.0", "cspell-glob": "10.0.0", "cspell-grammar": "10.0.0", "cspell-io": "10.0.0", "cspell-trie-lib": "10.0.0", "env-paths": "^4.0.0", "gensequence": "^8.0.8", "import-fresh": "^4.0.0", "resolve-from": "^5.0.0", "vscode-languageserver-textdocument": "^1.0.12", "vscode-uri": "^3.1.0", "xdg-basedir": "^5.1.0" }, "engines": { "node": ">=22.18.0" }, "devDependencies": { "@cspell/cspell-tools": "10.0.0", "@cspell/dict-cpp": "^7.0.2", "@cspell/dict-csharp": "^4.0.8", "@cspell/dict-css": "^4.1.1", "@cspell/dict-en_us": "^4.4.33", "@cspell/dict-fa-ir": "^4.0.5", "@cspell/dict-fr-fr": "^2.3.2", "@cspell/dict-html": "^4.0.15", "@cspell/dict-nl-nl": "^2.4.2", "@cspell/dict-python": "^4.2.26", "@cspell/dictionary-bundler-plugin": "", "@types/configstore": "^6.0.2", "comment-json": "^4.6.2", "configstore": "^8.0.0", "cspell-dict-nl-nl": "^1.1.2", "leaked-handles": "^5.2.0", "lorem-ipsum": "^2.0.8", "perf-insight": "^2.0.1" }, "gitHead": "6ddfd576b6bb554a7cb8dba1ab053a0b6ff8021f" }