{"name":"detective-vue2","version":"2.2.0","author":{"name":"Havunen","email":"sampo.kivisto@live.fi"},"description":"Get the dependencies of a Vue module","main":"index.js","scripts":{"lint":"xo","fix":"xo --fix","mocha":"mocha","test":"npm run lint && npm run mocha","test:ci":"c8 npm run mocha","watch":"npm run mocha -- -w"},"repository":{"type":"git","url":"git+https://github.com/dependents/detective-vue2.git"},"keywords":["detective","dependencies","module","ast","import","vue"],"license":"MIT","bugs":{"url":"https://github.com/dependents/detective-vue2/issues"},"homepage":"https://github.com/dependents/detective-vue2","engines":{"node":">=18"},"peerDependencies":{"typescript":"^5.4.4"},"dependencies":{"@dependents/detective-less":"^5.0.1","@vue/compiler-sfc":"^3.5.13","detective-es6":"^5.0.1","detective-sass":"^6.0.1","detective-scss":"^5.0.1","detective-stylus":"^5.0.1","detective-typescript":"^14.0.0"},"devDependencies":{"c8":"^10.1.3","mocha":"^11.1.0","typescript":"^5.7.3","xo":"^0.60.0"},"xo":{"space":true,"ignores":["test/fixtures/*"],"rules":{"arrow-body-style":"off","capitalized-comments":"off","comma-dangle":["error","never"],"curly":["error","multi-line"],"operator-linebreak":["error","after"],"object-curly-spacing":["error","always"],"space-before-function-paren":["error","never"],"unicorn/prefer-module":"off","unicorn/prefer-node-protocol":"off","unicorn/prefer-top-level-await":"off","unicorn/prevent-abbreviations":"off"}},"_id":"detective-vue2@2.2.0","gitHead":"dbfaaffc1d83e8e6a1ea947bdf655477af4ed4f9","_nodeVersion":"20.18.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-sVg/t6O2z1zna8a/UIV6xL5KUa2cMTQbdTIIvqNM0NIPswp52fe43Nwmbahzj3ww4D844u/vC2PYfiGLvD3zFA==","shasum":"35fd1d39e261b064aca9fcaf20e136c76877482a","tarball":"http://registry-npm.ywwl.com/detective-vue2/download/detective-vue2-2.2.0.tgz","fileCount":4,"unpackedSize":5675,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCioMGhb+9clvxoC1+hFEiTYAFv6aEN5t8cmRSDPaOUagIhALshKE4bwRd6V+mKvo9DeM8sIZGpAp2Nfyk4FUPFG0Fm"}],"size":2362,"noattachment":false,"key":"/detective-vue2/-/detective-vue2-2.2.0.tgz"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/detective-vue2_2.2.0_1738859216228_0.28364815224187057"},"_hasShrinkwrap":false,"readme":"# detective-vue2\n\n[![CI](https://img.shields.io/github/actions/workflow/status/dependents/detective-vue2/ci.yml?branch=main&label=CI&logo=github)](https://github.com/dependents/detective-vue2/actions/workflows/ci.yml?query=branch%3Amain)\n[![npm version](https://img.shields.io/npm/v/detective-vue2?logo=npm&logoColor=fff)](https://www.npmjs.com/package/detective-vue2)\n[![npm downloads](https://img.shields.io/npm/dm/detective-vue2)](https://www.npmjs.com/package/detective-vue2)\n\n> Get the dependencies of Vue module. Supports Vue2 and Vue3\n\n```sh\nnpm install detective-vue2 typescript\n```\n\n## Usage\n\n```js\nconst fs = require('fs');\nconst detective = require('detective-vue2');\n\nconst content = fs.readFileSync('myfile.vue', 'utf8');\n\n// Pass in a file's content or an AST\nconst dependencies = detective(content);\n```\n\n## License\n\n[MIT](LICENSE)\n","publish_time":1738859216405,"maintainers":[{"name":"xhmikosr","email":"xhmikosr@gmail.com"},{"name":"havunen","email":"sampo.kivisto@proton.me"}],"_cnpm_publish_time":1738859216405,"dist-tags":{"latest":"3.0.1"}}