├── .gitignore ├── .npmignore ├── .prettierrc ├── .vscode ├── launch.json ├── settings.json └── tasks.json ├── README.md ├── package.json ├── src ├── get-interfaces.ts ├── get-names.ts ├── get-type-structure.ts ├── index.ts ├── model.ts └── util.ts ├── test ├── array-merging.spec.ts ├── js-integration │ └── index.js ├── multiple-interface.spec.ts ├── root-array.spec.ts ├── single-interface.spec.ts └── util │ └── index.ts ├── tsconfig.json ├── tslint.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | node_modules 3 | build -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | *.log 2 | node_modules 3 | yarn.lock -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120 3 | } -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/package.json -------------------------------------------------------------------------------- /src/get-interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/src/get-interfaces.ts -------------------------------------------------------------------------------- /src/get-names.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/src/get-names.ts -------------------------------------------------------------------------------- /src/get-type-structure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/src/get-type-structure.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/src/model.ts -------------------------------------------------------------------------------- /src/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/src/util.ts -------------------------------------------------------------------------------- /test/array-merging.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/test/array-merging.spec.ts -------------------------------------------------------------------------------- /test/js-integration/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/test/js-integration/index.js -------------------------------------------------------------------------------- /test/multiple-interface.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/test/multiple-interface.spec.ts -------------------------------------------------------------------------------- /test/root-array.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/test/root-array.spec.ts -------------------------------------------------------------------------------- /test/single-interface.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/test/single-interface.spec.ts -------------------------------------------------------------------------------- /test/util/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/test/util/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/tslint.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MariusAlch/json-to-ts/HEAD/yarn.lock --------------------------------------------------------------------------------