{"_id":"@considonet/babel-preset-typescript","_rev":"3-2fc8353888c89cb8d02d250a9156eb09","name":"@considonet/babel-preset-typescript","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@considonet/babel-preset-typescript","version":"1.0.0","description":"Configurable TypeScript preset for Babel 7.x supporting Vue.js TS SFC, React, JS and TypeScript","main":"lib/index.js","module":"lib/index.es.js","scripts":{"build":"rollup -c"},"author":{"name":"Paweł Gabryelewicz"},"license":"MIT","keywords":["babel-preset","typescript"],"repository":{"type":"git","url":"git+https://github.com/considonet/babel-preset-typescript.git"},"dependencies":{"@babel/helper-plugin-utils":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-decorators":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.5.5","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-runtime":"^7.5.5","@babel/preset-env":"^7.5.5","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.3.3","babel-preset-typescript-vue":"^1.0.2"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/preset-env":"^7.5.5","rollup":"^1.10.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-node-resolve":"^4.2.3"},"engines":{"node":">=8.0.0"},"gitHead":"5009f783122fd0fb58dc98587d66bdff28ccb5d1","bugs":{"url":"https://github.com/considonet/babel-preset-typescript/issues"},"homepage":"https://github.com/considonet/babel-preset-typescript#readme","_id":"@considonet/babel-preset-typescript@1.0.0","_nodeVersion":"10.14.1","_npmVersion":"6.10.1","dist":{"integrity":"sha512-i7GLtq1UkX1IRHOHGcJ/ypLlAdefAqB4ylgD5gh6J1sNiFPbiqTKWtKSecoWQLCga68LeunTGE66Vsi9gjKoFg==","shasum":"0e8c59a3aef228a78fdbf6e0ddf7868d32863874","tarball":"https://registry.npmjs.org/@considonet/babel-preset-typescript/-/babel-preset-typescript-1.0.0.tgz","fileCount":7,"unpackedSize":9916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNJHQCRA9TVsSAnZWagAA3m0QAJTcHGit/0zM8haXvsS5\no1Rw6IUN7FcZ5we/KY7uqpPVrZFjtll9nOtj6gD4Cc/OIAXfOeptwso7xxai\nKtHw45Q9blAW3upzXhYL6kTfeX6MEh4exUkPxSq3sMMk8ZYTLuZG6T8Je2UU\nFsfde8ktAWYbO6jLpvp7DZVwRs8LVI88ZzLC/4c1IPVNiTQTvXYaihbP6YXn\nNskDdqdTCnliTxEfwzeF3yPaF55eqTXLwWRg8v6JutOkNRJYKbSizJz4GJRV\nQgRFcs1GhM4y7MhkAlqRRSU/oeBAjo8q2pCgIpT+iK5+MbeDAdgrptoKk8mn\nLAvJkgvY+hKezwbLgAMCiwWdvGtgAW4k5c2mRTv1qDf3fbY2CRSjlgvX/2qy\nrARMR9HjYoFtzb8rNyDonXr4LTzxUskdWEj0trQGbkNBla58NNSThW8AkvR6\n3rYAMi8CB4/yQyKd5Np9HHHqJ7ApPrQsIQlKwXeLWuJ/QHSvw1P+2IIlBWDo\nwLUgWGrN/84NlvW/KANyqBe4PQKmpjJ4TVOXVy8Y3mzjBFv44v+74FNKcsoy\n6CYXS43x7MKqtDkwlQyfuEQQiKXEC79VEEeN2MJQlqgsCauGt+anPqynQRB6\njlm/yLvFX9FXYhNp8xZrFtN/8lRSvSNKgTxEgo7WVU5Kgz0wAFAjbh28Rbw7\ngpC1\r\n=MERK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICEFxbbsT119jHefGt5txVY0XYjI+VLNQmoKwdATMTIxAiEApdB3eLXfYGiDJ6vlUCvZ5J5Jj57ZmgUahTXYbOCOzKI="}]},"maintainers":[{"name":"pawelgabryelewicz","email":"npm@considonet.com"}],"_npmUser":{"name":"pawelgabryelewicz","email":"npm@considonet.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-preset-typescript_1.0.0_1563726287282_0.48066016459496086"},"_hasShrinkwrap":false},"1.1.0":{"name":"@considonet/babel-preset-typescript","version":"1.1.0","description":"Configurable TypeScript preset for Babel 7.x supporting Vue.js TS SFC, React, JS and TypeScript","main":"lib/index.js","module":"lib/index.es.js","scripts":{"build":"rollup -c"},"author":{"name":"Paweł Gabryelewicz"},"license":"MIT","keywords":["babel-preset","typescript"],"repository":{"type":"git","url":"git+https://github.com/considonet/babel-preset-typescript.git"},"dependencies":{"@babel/helper-plugin-utils":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-decorators":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.5.5","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-runtime":"^7.5.5","@babel/preset-env":"^7.5.5","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.3.3","babel-preset-typescript-vue":"^1.0.2"},"peerDependencies":{"@babel/core":"^7.9.0"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/preset-env":"^7.5.5","rollup":"^1.10.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-node-resolve":"^4.2.3"},"engines":{"node":">=8.0.0"},"gitHead":"96f36e34fc359ee09bb70413798dfd8442b4193d","bugs":{"url":"https://github.com/considonet/babel-preset-typescript/issues"},"homepage":"https://github.com/considonet/babel-preset-typescript#readme","_id":"@considonet/babel-preset-typescript@1.1.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-VFFW0b1jZX/zc+ikorFqrCl3TnHePj7RwaMirx6yuxn/gPU9jOAZ88Wb/kmS3RwtLE6xqYkyS7/w3VHqMtqNKA==","shasum":"eadbe61abd5a9563025a192a91f4d66636238cee","tarball":"https://registry.npmjs.org/@considonet/babel-preset-typescript/-/babel-preset-typescript-1.1.0.tgz","fileCount":7,"unpackedSize":10817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTiKHCRA9TVsSAnZWagAA17oP/A1jbZErKnOrUj0RI+tw\nQh/eb0bZm2HOCMvcAQJBg/yLDGVxDe+5UlA6NWuN2pqcPiFn6QLoKiVENwAf\nA+8dWZaIOmRuHWtMQnqax9IhmW2drBYT/UP7dRpjqGAtqvXlofz5x2imd9Zw\nbheU81FyNTi5McJe0SbsqaYj44d4rFssQ9Kt++qZbh5VMPtDlL9q0I/SX4pN\nCESNKPw89rrf4KV6WiNhd88ksUFZ5UR4Sgt4dKA41BKf2S+REp4mmh53AaU3\n6IB/dWOlHhEfS8QAMmjODT9Hkoz7v8DhCTbBnsB/JjlAn8GNI741wgsGDWyx\nXPf8QCPcnqm1hzCoOPpS0nc+VTh567MWwBJiEt6syntbeNlpTS7KF3CwelsH\n6cRNojiIiNjdB9WN0r4YeDjHOaLhxWZFPgyf50bROAjB3b5iQS7MLXzl3skz\nPMQmLZjOOYyCLxybdc9GvCdQqMNG7j7j0JqsQxge1Qiv8SN+cuaqqQAaIvb7\nbeRmYsXj1QjJYFZU0ek42rmutq7ddtiI86/SxsQe2Cvgg011yf/SRzOJPn40\nL0+71W+cT/O957LBGkYZIYz/1cjKVlsNDkgcjBj52v6ZGZ1ewXK8cEQmAGWX\nBdF+fWLOXREaemgBJtVglLS9LZ8SwJnq5jJz4jSEqTbSEpc3GHp4gB7MYefu\nwp/X\r\n=qAYx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExEi1JcJa0F5cI748jv+kJfoIiTwryK6AaqQ1ZpSQgxAiBubLxxQ/FfnruYrtNmXm1GD8BTIMSUjfdZcpofmwMn5A=="}]},"_npmUser":{"name":"pawelgabryelewicz","email":"npm@considonet.com"},"directories":{},"maintainers":[{"name":"pawelgabryelewicz","email":"npm@considonet.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-preset-typescript_1.1.0_1615733382867_0.9917621489071535"},"_hasShrinkwrap":false},"1.1.1":{"name":"@considonet/babel-preset-typescript","version":"1.1.1","description":"Configurable TypeScript preset for Babel 7.x supporting Vue.js TS SFC, React, JS and TypeScript","main":"lib/index.js","module":"lib/index.es.js","scripts":{"build":"rollup -c"},"author":{"name":"Paweł Gabryelewicz"},"license":"MIT","keywords":["babel-preset","typescript"],"repository":{"type":"git","url":"git+https://github.com/considonet/babel-preset-typescript.git"},"dependencies":{"@babel/helper-plugin-utils":"^7.0.0","@babel/plugin-proposal-private-methods":"^7.5.5","@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-decorators":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.5.5","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-runtime":"^7.5.5","@babel/preset-env":"^7.5.5","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.3.3","babel-preset-typescript-vue":"^1.0.2"},"peerDependencies":{"@babel/core":"^7.9.0"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/preset-env":"^7.5.5","rollup":"^1.10.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-node-resolve":"^4.2.3"},"engines":{"node":">=8.0.0"},"gitHead":"e12519e7bec877cd4432c9f447c8bfccf152e3c5","bugs":{"url":"https://github.com/considonet/babel-preset-typescript/issues"},"homepage":"https://github.com/considonet/babel-preset-typescript#readme","_id":"@considonet/babel-preset-typescript@1.1.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-VRNXfACFf5rkYfAg4PkdYDMlMGzJ9DjN+Obz/c/m2210QkHSWUxa4TZ9ZIpEDzmjes8PHgRv/EiWYLb6rMe6gQ==","shasum":"419fac8d213e780caef91acf4c8b393ac0b4f865","tarball":"https://registry.npmjs.org/@considonet/babel-preset-typescript/-/babel-preset-typescript-1.1.1.tgz","fileCount":8,"unpackedSize":13884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0GJwCRA9TVsSAnZWagAA6fEP/2So31MF7ZXWevAm2hOI\nzSVZVLOi/zIsqxTU7BbeiQI/fqPo81b6TsLuLP/bZYU8/7rcQ7/MaF5UyFKT\nytg1UFzWb8+/F6nc5JzTqlv09PsXst5ujlVolyt7me1SaWfL8Sn/ro6O/OQU\n0/dOh7t2cRgJsL+15ELQwwE7nStyKPi2VCCxr4oFSvCbRfmV338a9CrZuL+o\nPrJggBYIK7FUb43oGljG3PKoZmpdkxFBD0n9naZNxCMaiDsk/n10mTuN3Jwh\ndbzSs8pph0uEk2f+oPNj6RG0ML2Y5Rnf2ydBFL+2pcJNtKemopwv4J/XoclK\nYDNmUA5DzZMRXVE4AWMqOY5Cn/qF+gcHgieCiJVlM9Aygd3vgPlOPYflwG3W\nk8yDt/h2zI1PHwrJLYuX2uEAMKJO/2xImi07m8vfU2b0V4C6GXvA4kfsGWrG\n3I5noLEowkH1Y1jiTf9A/9YBOfe6C4ysEpYJjwObHNlnxQnsbLK/7cxPkj+D\nU3bpSnnPxDTClFF1hPCWg6Dnyh9z2t4dlKkI1MhgP68jt4gtedsCCqEp83yz\nQw0X7iOnwxvKI88wn3/9BTuc0QAzMLQcyWrOYpESmC7iGIuhIfnTkTiODEX/\nb0k96gHV1YeLLBTAp4wEAFxS1VLIieW0IzAmxznihEFNqlhOTyaoAJBpDTfj\nxeTF\r\n=Gh6u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrZXLt8sc7eKvgTC+nLXS0xvJKcR8dmiMsOG8tcLdQEQIgX9nrjFEHAQ2dTTzfJsXzD9Y7R3Gd3dfM0UNBGb1mDxk="}]},"_npmUser":{"name":"pawelgabryelewicz","email":"npm@considonet.com"},"directories":{},"maintainers":[{"name":"pawelgabryelewicz","email":"npm@considonet.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-preset-typescript_1.1.1_1624269423260_0.9515602157548255"},"_hasShrinkwrap":false}},"time":{"created":"2019-07-21T16:24:47.106Z","1.0.0":"2019-07-21T16:24:47.452Z","modified":"2022-04-05T00:59:01.349Z","1.1.0":"2021-03-14T14:49:43.026Z","1.1.1":"2021-06-21T09:57:03.407Z"},"maintainers":[{"name":"pawelgabryelewicz","email":"npm@considonet.com"}],"description":"Configurable TypeScript preset for Babel 7.x supporting Vue.js TS SFC, React, JS and TypeScript","homepage":"https://github.com/considonet/babel-preset-typescript#readme","keywords":["babel-preset","typescript"],"repository":{"type":"git","url":"git+https://github.com/considonet/babel-preset-typescript.git"},"author":{"name":"Paweł Gabryelewicz"},"bugs":{"url":"https://github.com/considonet/babel-preset-typescript/issues"},"license":"MIT","readme":"# @considonet/babel-preset-typescript\n\n> Configurable TypeScript preset for Babel 7.x supporting Vue.js TS SFC, React, JS and TypeScript\n\n## What is this?\n\nThis preset was created as a part of [G-Build](https://www.npmjs.com/package/@considonet/g-build) evolution. Starting from version 4.0, there are no longer configuration files for Babel and these have to be provided manually (as they are project-specific). Because all our existing legacy projects have exactly the same config, this package makes the transition to G-Build 4 and Babel TypeScript transpilation easy. Also it provides a setup which was proven to work for us.\n\nThis preset loads the following presets and plugins:\n\n- [@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env) - pre-configured but ready to be customized depending on configuration\n- [@babel/preset-react](https://babeljs.io/docs/en/babel-preset-react) optionally, depending on configuration\n- [@babel/preset-typescript](https://babeljs.io/docs/en/babel-preset-typescript) or our [babel-preset-typescript-vue](https://www.npmjs.com/package/babel-preset-typescript-vue) depending on configuration\n- [@babel/plugin-proposal-object-rest-spread](https://babeljs.io/docs/en/babel-plugin-proposal-object-rest-spread)\n- [@babel/plugin-syntax-dynamic-import](https://babeljs.io/docs/en/babel-plugin-syntax-dynamic-import)\n- [@babel/plugin-proposal-decorators](https://babeljs.io/docs/en/babel-plugin-proposal-decorators) - with `legacy: true` to support TypeScript decorators\n- [@babel/plugin-proposal-class-properties](https://babeljs.io/docs/en/babel-plugin-proposal-class-properties) - with `loose: true` to support TypeScript decorators\n\n## Options\n\n- `vue` (boolean, default: false) - enables TS Vue SFCs transpilation. Because the check is a potentially expensive operation, it is disabled by default. Once enabled, it replaces [@babel/preset-typescript](https://babeljs.io/docs/en/babel-preset-typescript) with our own [babel-preset-typescript-vue](https://www.npmjs.com/package/babel-preset-typescript-vue) \n\n- `react` (boolean, default: true) - enables `@babel/preset-react`\n\n- `presetEnvSettings` (object, default: see below) - configures `@babel/preset-env`.\n  \nParameter is optional. The default setup is as follows:\n\n```json\n{\n  \"modules\": \"auto\",\n  \"useBuiltIns\": \"usage\",\n  \"corejs\": 3\n}\n```\n\nPlease refer to [@babel/preset-env docs](https://babeljs.io/docs/en/babel-preset-env) for more details.\n\n- `presetReactSettings` (object, default: see below) - configures `@babel/preset-react` if `react` set to true.\n\nParameter is optional. The default setup is the preset's default setup.\n\nPlease refer to [@babel/preset-react docs](https://babeljs.io/docs/en/babel-preset-react) for more details. It's a good place to set `runtime` to `automatic` if you're already using React 17.\n\n## Install\n\nUsing npm:\n\n```sh\nnpm install --save-dev @considonet/babel-preset-typescript\n```\n\nor using yarn:\n\n```sh\nyarn add @considonet/babel-preset-typescript --dev\n```\n","readmeFilename":"README.md"}