├── .github └── workflows │ ├── build.yml │ └── format.yml ├── .gitignore ├── LICENSE ├── README.md ├── cli ├── cli.ts ├── config.ts ├── fix.ts ├── literator.ts └── type.ts ├── jest.config.js ├── package.json ├── prettier.config.js ├── script ├── clean-dist.ts └── clean-ts.ts ├── src ├── dsl │ └── draft-dsl-svelte-watch.tsx ├── generator │ ├── closing-element-visitor.tsx │ ├── generator.tsx │ ├── jsx-expression-container-visitor.tsx │ └── opening-element-visitor.tsx ├── index.ts ├── plug-in │ └── draft-plugin-svelte-filter.tsx ├── section │ ├── import-section.tsx │ ├── script-section.tsx │ └── template-section.tsx └── transcriber │ └── svelte-transcriber.tsx ├── test ├── section │ ├── __snapshots__ │ │ ├── import-section.test.ts.snap │ │ ├── script-section.test.ts.snap │ │ └── template-section.test.ts.snap │ ├── import-section.test.ts │ ├── script-section.test.ts │ └── template-section.test.ts └── utility │ └── utility.ts ├── tsconfig.json ├── typedraft.config.ts └── utility └── index.ts /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/format.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/.github/workflows/format.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/README.md -------------------------------------------------------------------------------- /cli/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/cli/cli.ts -------------------------------------------------------------------------------- /cli/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/cli/config.ts -------------------------------------------------------------------------------- /cli/fix.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/cli/fix.ts -------------------------------------------------------------------------------- /cli/literator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/cli/literator.ts -------------------------------------------------------------------------------- /cli/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/cli/type.ts -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/package.json -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/prettier.config.js -------------------------------------------------------------------------------- /script/clean-dist.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/script/clean-dist.ts -------------------------------------------------------------------------------- /script/clean-ts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/script/clean-ts.ts -------------------------------------------------------------------------------- /src/dsl/draft-dsl-svelte-watch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/src/dsl/draft-dsl-svelte-watch.tsx -------------------------------------------------------------------------------- /src/generator/closing-element-visitor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/src/generator/closing-element-visitor.tsx -------------------------------------------------------------------------------- /src/generator/generator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/src/generator/generator.tsx -------------------------------------------------------------------------------- /src/generator/jsx-expression-container-visitor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/src/generator/jsx-expression-container-visitor.tsx -------------------------------------------------------------------------------- /src/generator/opening-element-visitor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/src/generator/opening-element-visitor.tsx -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/plug-in/draft-plugin-svelte-filter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/src/plug-in/draft-plugin-svelte-filter.tsx -------------------------------------------------------------------------------- /src/section/import-section.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/src/section/import-section.tsx -------------------------------------------------------------------------------- /src/section/script-section.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/src/section/script-section.tsx -------------------------------------------------------------------------------- /src/section/template-section.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/src/section/template-section.tsx -------------------------------------------------------------------------------- /src/transcriber/svelte-transcriber.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/src/transcriber/svelte-transcriber.tsx -------------------------------------------------------------------------------- /test/section/__snapshots__/import-section.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/test/section/__snapshots__/import-section.test.ts.snap -------------------------------------------------------------------------------- /test/section/__snapshots__/script-section.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/test/section/__snapshots__/script-section.test.ts.snap -------------------------------------------------------------------------------- /test/section/__snapshots__/template-section.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/test/section/__snapshots__/template-section.test.ts.snap -------------------------------------------------------------------------------- /test/section/import-section.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/test/section/import-section.test.ts -------------------------------------------------------------------------------- /test/section/script-section.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/test/section/script-section.test.ts -------------------------------------------------------------------------------- /test/section/template-section.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/test/section/template-section.test.ts -------------------------------------------------------------------------------- /test/utility/utility.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/test/utility/utility.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typedraft.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/typedraft.config.ts -------------------------------------------------------------------------------- /utility/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistlog/svelte-draft/HEAD/utility/index.ts --------------------------------------------------------------------------------