{"name":"@cspell/cspell-types","version":"6.22.0","keywords":["cspell","types"],"author":{"name":"Jason Dent"},"license":"MIT","_id":"@cspell/cspell-types@6.22.0","maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"homepage":"https://github.com/streetsidesoftware/cspell#readme","bugs":{"url":"https://github.com/streetsidesoftware/cspell/issues"},"dist":{"shasum":"33367802e577f6243b6afc01efdb6574905cb83d","tarball":"http://registry-npm.ywwl.com/@cspell/cspell-types/download/@cspell/cspell-types-6.22.0.tgz","fileCount":54,"integrity":"sha512-AcvI7QkjpGL+CHz3WJTXn/A8OigwhjQ5eBZ09t+f42am5sjygcBR8n77wWjpKcY853XkOpqP4qIvXcZJzSUzUw==","signatures":[{"sig":"MEYCIQC6dZVhx/neDNt3Sr3kAbopuEb6Fi+gFRbI5Fn9YyjLfgIhAN0r4T1hC+fm/ztWapIxgT1PVtID5cHuddLMd7q04aTX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":232299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj37fiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGLw//Wlt0or6woiZjjFGkWut5wKJcn+8dr2yFrT9uq682wobN+z7R\r\nhP9y9quv9jZzcTsg38xiZDvsAZeLKbnjdj0C9hXm9LfjYHlGCCET5HaDwKOA\r\nNcBBx4zqhsNVGmdAMxDHI9EFZtX4Yn9vyTDCHhxej4vwzKMcPFFCRYjY+f+S\r\n6KYPIvqu7RtkkhMUxM33GAP/suBQeoVwZKyBAbqUqNXzvQP2UJptlzJyuJE0\r\nTcQ1r0ymxn7tMuac0DPCcJmcZD8A71nD1AXMwbIknJCuPUIT5b53Z1XPyzL5\r\nFzjHVnwy12nRoK+xvhSFztXjZkgyp5rwfJJmcSH64pFirsFFBCKAc+iPdC+r\r\nq0bpc/F0AA2hP9a0RMq70hIBYWT+99k50LIjp6iKF3uqIaMnlyu1De3VBO45\r\nRLPWzL1AgGa0UqeTGbADIcZDb2hL575QTErvfrXPHrmC4lmk4RqeMZCfi1Rl\r\nowP3lyKyu6DWqHzb0n0A3TbaCy85+C3wX55XrBzxSqxysy5VnI6oWvjG2TTv\r\nGr8t9zfnLIfXs3z5DIk6Bx58ZlPkTPx8oM20WZBrz5HAlcBzIWMZiLv/D/Zm\r\nO5Ril0PxbSCJ3tRY9jfXznxzsgFgYtVtiNl9YAQBm7MgdIFItCQ5wkzFpF/k\r\nr/wr22rjuZUjPxX2sRktUAZ2Pi+ieVym3Zo=\r\n=b7i0\r\n-----END PGP SIGNATURE-----\r\n","size":30099,"noattachment":false,"key":"/@cspell/cspell-types/-/@cspell/cspell-types-6.22.0.tgz"},"main":"./dist/cjs/index.cjs","type":"module","types":"index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs"},"./Parser":{"types":"./dist/esm/Parser/index.d.ts","import":"./dist/esm/Parser/index.js","require":"./dist/cjs/Parser/index.cjs"},"./ajv.config":{"import":"./ajv.config.cjs","require":"./ajv.config.cjs"},"./ajv.config.js":{"require":"./ajv.config.cjs"},"./cspell.schema.json":{"import":"./cspell.schema.json","require":"./cspell.schema.json"}},"gitHead":"a133874ed7590cbe140f5067cfa80db84b644a5d","scripts":{"test":"pnpm test:unit && pnpm test:schema","build":"pnpm build:cjs && pnpm build:esm && pnpm run build-schema","clean":"shx rm -rf dist coverage .tsbuildinfo","prepare":"echo Skip Building Types","coverage":"pnpm coverage:vitest && pnpm coverage:fix","build:cjs":"rollup -c rollup.config.mjs","build:dev":"tsc -p tsconfig.dev.json","build:esm":"tsc -p tsconfig.esm.json","test:unit":"vitest run","clean-build":"pnpm run clean && pnpm run build","test:schema":"ajv -s ./cspell.schema.json -d \"cspell.test.{json,yaml}\" -c ./ajv.config.cjs","build-schema":"ts-json-schema-generator --no-top-ref --path src/CSpellSettingsDef.ts --type CSpellSettings --validation-keywords markdownDescription  --validation-keywords scope --validation-keywords deprecated --validation-keywords deprecationMessage -o  ./cspell.schema.json && shx cp ./cspell.schema.json ../..","coverage:fix":"nyc report --temp-dir \"$(pwd)/coverage\" --reporter lcov --report-dir \"$(pwd)/coverage\" --cwd ../..","coverage:vitest":"vitest run --coverage"},"_npmUser":{"name":"jason-dent","email":"jason@streetsidesoftware.nl"},"repository":{"url":"git+https://github.com/streetsidesoftware/cspell.git","type":"git"},"_npmVersion":"lerna/1.15.0/node@v16.19.0+x64 (linux)","description":"Types for cspell and cspell-lib","directories":{},"_nodeVersion":"16.19.0","publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["dist/esm/*.d.ts","dist/esm/*/index.d.ts"],"Parser":["dist/esm/Parser/index.d.ts"],"index.d.ts":["dist/esm/index.d.ts"],"dist/esm/index.d.ts":["dist/esm/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.1","vitest":"^0.28.4","ajv-cli":"^5.0.0","typescript":"^4.9.5","ts-json-schema-generator":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/cspell-types_6.22.0_1675605986281_0.993648941859737","host":"s3://npm-registry-packages"},"readme":"# Cspell Types\n\nContains cspell types and json-schema.\n\nThis package contains no dependencies to avoid any security issues.\n\n## Support Future Development\n\n<!--- @@inject: ../../static/sponsor.md --->\n\n- [![GitHub Sponsors](https://img.shields.io/badge/-black?style=social&logo=githubsponsors&label=GitHub%20Sponsor%3A%20Street%20Side%20Software)](https://github.com/sponsors/streetsidesoftware)\n- [![Patreon](https://img.shields.io/badge/-black?style=social&logo=patreon&label=Patreon%3A%20Street%20Side%20Software)](https://patreon.com/streetsidesoftware)\n- [![PayPal](https://img.shields.io/badge/-black?style=social&logo=paypal&label=PayPal%20Donate%3A%20Street%20Side%20Software)](https://www.paypal.com/donate/?hosted_button_id=26LNBP2Q6MKCY)\n- [![Open Collective](https://img.shields.io/badge/-black?style=social&logo=opencollective&label=Open%20Collective%3A%20CSpell)](https://opencollective.com/cspell)\n\n<!--- @@inject-end: ../../static/sponsor.md --->\n\n## Installation\n\n```\nnpm i -S @cspell/cspell-types\n```\n\n## Usage\n\nCan be use to make writing `cspell.config.js` files easier.\n\n```js\n'use strict';\n\n/** @type { import(\"@cspell/cspell-types\").CSpellUserSettings } */\nconst cspell = {\n  description: 'cspell.config.js file in samples/js-config',\n  languageSettings: [\n    {\n      languageId: 'cpp',\n      allowCompoundWords: false,\n      patterns: [\n        {\n          name: 'pound-includes',\n          pattern: /^\\s*#include.*/g\n        }\n      ],\n      ignoreRegExpList: ['pound-includes']\n    }\n  ],\n  dictionaryDefinitions: [\n    {\n      name: 'custom-words',\n      path: './custom-words.txt'\n    }\n  ],\n  dictionaries: ['custom-words']\n};\n\nmodule.exports = cspell;\n```\n\n## API\n\n`CSpellSettings` alias `CSpellUserSettings` is the formal definition of the configuration that controls the spell checker.\n\n## CSpell for Enterprise\n\n<!--- @@inject: ../../static/tidelift.md --->\n\nAvailable as part of the Tidelift Subscription.\n\nThe maintainers of cspell and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-cspell?utm_source=npm-cspell&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)\n\n<!--- @@inject-end: ../../static/tidelift.md --->\n\n<!--- @@inject: ../../static/footer.md --->\n\n<br/>\n\n---\n\n<p align=\"center\">Brought to you by<a href=\"https://streetsidesoftware.com\" title=\"Street Side Software\"><img width=\"16\" alt=\"Street Side Software Logo\" src=\"https://i.imgur.com/CyduuVY.png\" /> Street Side Software</a></p>\n\n<!--- @@inject-end: ../../static/footer.md --->\n","publish_time":1675605986482,"_cnpm_publish_time":1675605986482,"dist-tags":{"cspell5":"5.21.2","cspell5-next":"5.21.2-alpha.0","latest":"10.4.1","next":"10.4.0-alpha.1"}}