{"_id":"dts-bundle-webpack","_rev":"5-7f0f2191e6af122059f5a306488f1996","name":"dts-bundle-webpack","description":"Webpack plugin for creating declaration bundle based on dts-bundle library","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"dts-bundle-webpack","version":"1.0.0","description":"Webpack plugin for creating declaration bundle based on dts-bundle library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Appius/dts-bundle-webpack.git"},"keywords":["dts-bundle","webpack","typescript"],"author":{"name":"Appius"},"license":"MIT","bugs":{"url":"https://github.com/Appius/dts-bundle-webpack/issues"},"homepage":"https://github.com/Appius/dts-bundle-webpack#readme","dependencies":{"dts-bundle":"^0.7.3"},"gitHead":"96c858048adad6399388b2023a106b03b1739a3e","_id":"dts-bundle-webpack@1.0.0","scripts":{},"_shasum":"599ac2a8cc3de67db344cae540bf029e796b552e","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"appius","email":"appius@outlook.com"},"dist":{"shasum":"599ac2a8cc3de67db344cae540bf029e796b552e","tarball":"https://registry.npmjs.org/dts-bundle-webpack/-/dts-bundle-webpack-1.0.0.tgz","integrity":"sha512-/xqHMRNTn30UQCDOdOlvIImr7lmLRE7c2NaAJiluk7cM3rddMvhoG5cv0cui/7CPe0OQUcaTvmX47BO28sqHTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf5jz+hqwJ41uxmsvMXh30z366QFh9uYajQGFt0rTVYQIgBaBGcyIAPqpRR+iLJgQSNkggs5QL63MEUfiwSFEAzcI="}]},"maintainers":[{"name":"appius","email":"appius@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dts-bundle-webpack-1.0.0.tgz_1507549264687_0.26403658697381616"},"directories":{}},"1.0.1":{"name":"dts-bundle-webpack","version":"1.0.1","description":"Webpack plugin for creating declaration bundle based on dts-bundle library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Appius/dts-bundle-webpack.git"},"keywords":["dts-bundle","webpack","typescript"],"author":{"name":"Appius"},"license":"MIT","bugs":{"url":"https://github.com/Appius/dts-bundle-webpack/issues"},"homepage":"https://github.com/Appius/dts-bundle-webpack#readme","dependencies":{"dts-bundle":"^0.7.3"},"gitHead":"4ab9b856d2b4912fb4ccb2b6520e9917e6697257","_id":"dts-bundle-webpack@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.11.3","_npmUser":{"name":"appius","email":"appius@outlook.com"},"dist":{"integrity":"sha512-k6Zg8US407DW72yVwz4SRrtDIropdnXVrPUDCXGoorUn4L2zyUiMeADBIOiZtOA7445/TciviWxJj8o9kR8GYA==","shasum":"aa2b4c0a63cd0caa0bc7db53ab45c386fe1825ab","tarball":"https://registry.npmjs.org/dts-bundle-webpack/-/dts-bundle-webpack-1.0.1.tgz","fileCount":39,"unpackedSize":38280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx0nyCRA9TVsSAnZWagAAwpkQAKOJT3QnysmRvPtqnyPi\nUCYRWqu2ADkqNTkeTDsxYPKNEwqNsDjf+FGVzeS7zJzy+rb5yOeIu932jTGx\nJ5tYCUA2IGt2VrR2v3yIPMY7osG0E4fjdPBMewi9PTQb5DKqUXqpm0oZWWo+\n/tojFQlCgfBOHukcmYjLGQrxjTnwNC6D0JS/s8DYdw+gIJmq8NdqPknAu8tk\nCkwWBpngDyJO/hzkBl4Ml0kwRPvEYeUKnAr/QsFWH7hpzoWhccbEb3M9hb7k\nbowkvpmbbgjp9DpDlIjSDo9EC/7czM96b5/cfIxX58LW6Ielr8lPTZDiDEXz\n9CegWp82jfW4uLtxhOH45d3TpovKCMDwcGPhBgTJ2aYrG+qai2UOR9KAgBPH\nF3UX5t7zhUnrr7WoEdB2of60lsl1VP45PZPKIBaIV+O/Kzq5rRH4nKD2xVb4\n87uVWe+Rj644hu/+XYvFBPuVMAfWLEwxXZOWUViQB9qURKISq/unoPXDfKfg\nuaDpgalHOGiUKqTroauqvwFTF2A/eaUlDUr14z0mhpZPZNAsKwUbhCITFK53\nhKWArV7dVWZqWZps4pJ80id094Qa1Qv7XH24Aqn9HZvPapk0GVHm5xe69AWA\nHOxB1xdWUSujpQuixUFcJBUVbiWGYl3AvNQvmw9blf1xmsZDFcHFWXsH8nVa\n24Fw\r\n=85t5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExymI7BiSl5jVNp8fKcM5kRAx1amIWzp/TW5aTl1eOnAiAvPHeURSs1ZMVaGOC2uTMZkzT/BIBEH0+do19NjToCzA=="}]},"maintainers":[{"name":"appius","email":"appius@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dts-bundle-webpack_1.0.1_1539787250055_0.8107222426743013"},"_hasShrinkwrap":false},"1.0.2":{"name":"dts-bundle-webpack","version":"1.0.2","description":"Webpack plugin for creating declaration bundle based on dts-bundle library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Appius/dts-bundle-webpack.git"},"keywords":["webpack","dts-bundle"],"author":{"name":"Appius"},"license":"MIT","bugs":{"url":"https://github.com/Appius/dts-bundle-webpack/issues"},"homepage":"https://github.com/Appius/dts-bundle-webpack#readme","dependencies":{"dts-bundle":"^0.7.3"},"gitHead":"2d42ac0fc2f5c0460de26e1f682fbc29ae659581","_id":"dts-bundle-webpack@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.9.0","_npmUser":{"name":"appius","email":"appius@outlook.com"},"dist":{"integrity":"sha512-/gBQBu5spW8BsGKyYwZeDb+gzDsipisf4Hg0ERPrrS0661cYajVUHARwvts/vfvG5wuv+p295byoNl2da+Re6w==","shasum":"c50439a89e71fd9e42800092561c05d5c3ea9ea6","tarball":"https://registry.npmjs.org/dts-bundle-webpack/-/dts-bundle-webpack-1.0.2.tgz","fileCount":5,"unpackedSize":6497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcA8L0CRA9TVsSAnZWagAA36AQAI/uypwj+dm6ZcH4RGQl\nK8qThYiYiLbf8cuu6bT9trX94qg3IBA1MILYMtCvwsjjpEHuX3woMiQhkEAR\n2al/aqWs9l4Ct3Ryc+Akql7E8bPNayzQzHF426hULz/kHyJCsMHMnSbR1RTv\n/kcKEFuVqWDdgSyeDCd94Xy+Bq4VmTS27JiGuV0PHiEAFLuLJ6l52wclkK34\nE/u5MbZgPF3uecgMUXD8VfAzJSplGSz0TuGGqkNv3meCXnlfHIAxV5Ri1nJw\n496rSZVe3N94EJ0gDbXzyfSbCwcwsbQULu7FcXVBRBiPPwcTZ/5QTfccUGkR\n9ZeRyQMpAZ84hRC7gERC2eJ7LQAOvpGcFxNr0WvFUhtyGTR5rrsuNbYivBPo\n1BjeLr1z6P/9flm/Pfv8nkvPK1QkH6EJa4nJ/asnNcXw1xuTQfvjTpyIEFxP\n0lPcVMJwzTA/MqCA2zT4Z1m2z8WBxv/wBFQc6qioXaQ4PPuYUZl+58+NnD64\n8ZbhPUitOWO0rElH2duYHGIHna6MJoao7vZ9kRrBdFfZeb5kbjIlivEtVwQO\nPlszQw7KU+rRd63OVqwRhQ0Xck0rzitzhsTLCmrFM4Ojcq6A+5Z1E93q3w2r\ndlqtaeBEXmJoeb268tYy+UQaKp24l5XKvrY5xRF2YXQGeFF6R06qLfmY+uUK\n1onj\r\n=ANQv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8krjo9MaESB1AJnG2GxwPsgB+ipyUPQymoHAUeuXsfAiEA4AJeCkz23ONAXdktE3Jd8EIJYF04pRsJSD0h8sFRAaI="}]},"maintainers":[{"name":"appius","email":"appius@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dts-bundle-webpack_1.0.2_1543750387876_0.44687766767350867"},"_hasShrinkwrap":false}},"readme":"# DTS plugin for WebPack\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\r\n\r\n*Inspired by [this blog post](https://medium.com/@vladimirtolstikov/how-to-merge-d-ts-typings-with-dts-bundle-and-webpack-e8903d699576).*\r\n\r\nThis is wrapper for [dts-bundle plugin](https://github.com/TypeStrong/dts-bundle) to use inside WebPack build. Generates bundle from the `.d.ts` declaration files generated by a TypeSript compiler.\r\n\r\n## Installation\r\n```\r\nnpm i dts-bundle-webpack --save-dev\r\n```\r\n\r\n## Usage\r\n```js\r\nconst DtsBundleWebpack = require('dts-bundle-webpack')\r\n\r\n// webpack config\r\n{\r\n  plugins: [\r\n    new DtsBundleWebpack({options})\r\n  ]\r\n}\r\n```\r\n\r\n## List of possible options are the same as for [dts-bundle plugin](https://github.com/TypeStrong/dts-bundle):\r\n\r\nExample of [all options](https://github.com/TypeStrong/dts-bundle#options):\r\n\r\n````js\r\nvar opts = {\r\n\r\n    // Required\r\n\r\n    // name of module like in package.json\r\n    // - used to declare module & import/require\r\n    name: 'cool-project',\r\n    // path to entry-point (generated .d.ts file for main module)\r\n    // if you want to load all .d.ts files from a path recursively you can use \"path/project/**/*.d.ts\"\r\n    //  ^ *** Experimental, TEST NEEDED, see \"All .d.ts files\" section \r\n    // - either relative or absolute\r\n    main: 'build/index.d.ts',\r\n\r\n    // Optional\r\n\r\n    // base directory to be used for discovering type declarations (i.e. from this project itself)\r\n    // - default: dirname of main\r\n    baseDir: 'build',\r\n    // path of output file. Is relative from baseDir but you can use absolute paths. \r\n    // if starts with \"~/\" then is relative to current path. See https://github.com/TypeStrong/dts-bundle/issues/26\r\n    //  ^ *** Experimental, TEST NEEDED    \r\n    // - default: \"<baseDir>/<name>.d.ts\"\r\n    out: 'dist/cool-project.d.ts',\r\n    // include typings outside of the 'baseDir' (i.e. like node.d.ts)\r\n    // - default: false\r\n    externals: false,\r\n    // reference external modules as <reference path=\"...\" /> tags *** Experimental, TEST NEEDED\r\n    // - default: false\r\n    referenceExternals: false,\r\n    // filter to exclude typings, either a RegExp or a callback. match path relative to opts.baseDir\r\n    // - RegExp: a match excludes the file\r\n    // - function: (file:String, external:Boolean) return true to exclude, false to allow\r\n    // - always use forward-slashes (even on Windows)\r\n    // - default: *pass*\r\n    exclude: /^defs\\/$/,\r\n    // delete all source typings (i.e. \"<baseDir>/**/*.d.ts\")\r\n    // - default: false\r\n    removeSource: false,\r\n    // newline to use in output file\r\n    newline: os.EOL,\r\n    // indentation to use in output file\r\n    // - default 4 spaces\r\n    indent: '    ',\r\n    // prefix for rewriting module names\r\n    // - default ''\r\n    prefix: '__',\r\n    // separator for rewriting module 'path' names\r\n    // - default: forward slash (like sub-modules)\r\n    separator: '/',\r\n    // enable verbose mode, prints detailed info about all references and includes/excludes\r\n    // - default: false\r\n    verbose: false,\r\n    // emit although included files not found. See \"Files not found\" section. \r\n    // *** Experimental, TEST NEEDED\r\n    // - default: false \r\n    emitOnIncludedFileNotFound: false,\r\n    // emit although no included files not found. See \"Files not found\" section. \r\n    // *** Experimental, TEST NEEDED\r\n    // - default: false     \r\n    emitOnNoIncludedFileNotFound: false,    \r\n    // output d.ts as designed for module folder. (no declare modules)\r\n    outputAsModuleFolder: false,\r\n    // path to file that contains the header\r\n    // // insert a header in output file. i.e.: http://definitelytyped.org/guides/contributing.html#header\r\n    // - default: null\r\n    headerPath: \"path/to/header/file\",\r\n    // text of the the header\r\n    // doesn't work with headerPath\r\n    // // insert a header in output file. i.e.: http://definitelytyped.org/guides/contributing.html#header\r\n    // - default: ''\r\n    headerTex: \"\" \r\n};\r\n````\r\n\r\n# References\r\n\r\nFor all other information, please, go to original [dts-bundle plugin](https://github.com/TypeStrong/dts-bundle).","maintainers":[{"name":"appius","email":"appius@outlook.com"}],"time":{"modified":"2022-06-16T01:12:26.977Z","created":"2017-10-09T11:41:05.625Z","1.0.0":"2017-10-09T11:41:05.625Z","1.0.1":"2018-10-17T14:40:50.201Z","1.0.2":"2018-12-02T11:33:08.000Z"},"homepage":"https://github.com/Appius/dts-bundle-webpack#readme","keywords":["webpack","dts-bundle"],"repository":{"type":"git","url":"git+https://github.com/Appius/dts-bundle-webpack.git"},"author":{"name":"Appius"},"bugs":{"url":"https://github.com/Appius/dts-bundle-webpack/issues"},"license":"MIT","readmeFilename":"README.md"}