{"_id":"@caracal7/svelte-native-preprocessor","name":"@caracal7/svelte-native-preprocessor","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@caracal7/svelte-native-preprocessor","version":"1.0.1","author":{"name":"David Pershouse"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/halfnelson/svelte-native-preprocessor.git"},"homepage":"https://github.com/halfnelson/svelte-native-preprocessor","keywords":["nativescript","svelte","svelte-native"],"main":"dist/index.js","types":"types/index.d.ts","peerDependencies":{"svelte":">= 3.37.0 < 5"},"devDependencies":{"@types/mocha":"^5.2.6","@types/node":"^11.10.4","@types/parse5":"^5.0.3","magic-string":"^0.25.2","mocha":"^8.3.2","parse5":"^5.1.0","rollup":"^1.12.2","rollup-plugin-commonjs":"10.0.0","rollup-plugin-node-resolve":"5.0.0","rollup-plugin-typescript2":"^0.21.1","sucrase":"^3.10.1","svelte":"^3.24.0","typescript":"3.4.5"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"mocha --require sucrase/register --recursive ./test/**/*Fixture.ts","pretest":"npm run build"},"_id":"@caracal7/svelte-native-preprocessor@1.0.1","gitHead":"22c15ba9879cb32b8a31c0c4a7921a5b3f7a26b0","description":"A pre processor for [Svelte-Native](https://github.com/halfnelson/svelte-native).","bugs":{"url":"https://github.com/halfnelson/svelte-native-preprocessor/issues"},"_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-drgKNfyIxnNzCKZ2iEcCvFyMr372Q1Urjx2KIVfGM7rFoyButSd6JJYOPepOi2gN6Sd21aXiMsv8NI5FgsCTBw==","shasum":"f348f637e07ed480c36aaf687784ea33aafdcd13","tarball":"https://registry.npmjs.org/@caracal7/svelte-native-preprocessor/-/svelte-native-preprocessor-1.0.1.tgz","fileCount":5,"unpackedSize":1411020,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEnKa1AKm+QokGuXgCrPICS/G7vwjwMhMTCkTzGADKSRAiEAyF1hRZQlSBYQDU1c6ObtiahEVJutYeoXMT3At+Kpkmo="}]},"_npmUser":{"name":"caracal7","email":"caracal7@ya.ru"},"directories":{},"maintainers":[{"name":"caracal7","email":"caracal7@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/svelte-native-preprocessor_1.0.1_1741794400411_0.5245005987646147"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-12T15:46:40.348Z","1.0.1":"2025-03-12T15:46:40.648Z","modified":"2025-03-12T15:46:40.854Z"},"maintainers":[{"name":"caracal7","email":"caracal7@ya.ru"}],"description":"A pre processor for [Svelte-Native](https://github.com/halfnelson/svelte-native).","homepage":"https://github.com/halfnelson/svelte-native-preprocessor","keywords":["nativescript","svelte","svelte-native"],"repository":{"type":"git","url":"git+https://github.com/halfnelson/svelte-native-preprocessor.git"},"author":{"name":"David Pershouse"},"bugs":{"url":"https://github.com/halfnelson/svelte-native-preprocessor/issues"},"license":"MIT","readme":"# Svelte Native Preprocessor\n\nA pre processor for [Svelte-Native](https://github.com/halfnelson/svelte-native).\n\nIt performs the following transforms to provide a better developer experience when using Svelte-Native:\n\n - [x] Changes `bind:text=\"{email}\"` to `text=\"{email}\" on:textChanged=\"{e => email = e.value}\"`\n \n\n## Installation\n\nUsing `nativescript-webpack >= 5.0.0` add to your `svelte.config.js`\n\n```js\nconst svelteNativePreprocessor = require(\"./svelte-native-preprocessor\");\n\nmodule.exports = {\n    compilerOptions: {\n        namespace: 'foreign'\n    },\n    preprocess: [svelteNativePreprocessor() /*, other preprocesser eg sveltePreprocessor() here */]\n}\n```\n\n## License\n\n[MIT](LICENSE).\n","readmeFilename":"README.md","_rev":"1-8a4d94e0263cf98e5f20f31b6019d731"}