├── .gitignore ├── .jshintrc ├── .npmignore ├── .travis.yml ├── Gruntfile.js ├── LICENSE ├── README.md ├── bin └── typson ├── example ├── invoice │ └── line.ts ├── misc │ └── dimension.ts └── product.ts ├── index.html ├── interactive.html ├── lib ├── typson-schema.js ├── typson-swagger.js └── typson.js ├── package.json ├── test ├── imports.js ├── pass-amd.html └── spec │ ├── bulk.test.js │ ├── class-single │ ├── definitions.json │ ├── main.ts │ └── schema.json │ ├── interface-multi │ ├── definitions.json │ ├── main.ts │ └── schema.json │ ├── interface-single │ ├── definitions.json │ ├── main.ts │ └── schema.json │ ├── module-interface-deep │ ├── main.ts │ └── schema.json │ └── module-interface-single │ ├── main.ts │ └── schema.json └── vendor ├── chai.js ├── mocha.css ├── mocha.js ├── q.js ├── require.js ├── superagent.js ├── traverse.js ├── typescriptServices.js └── underscore.js /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .idea 3 | node_modules 4 | npm-debug.log 5 | 6 | tmp/ 7 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/.jshintrc -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/Gruntfile.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/README.md -------------------------------------------------------------------------------- /bin/typson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/bin/typson -------------------------------------------------------------------------------- /example/invoice/line.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/example/invoice/line.ts -------------------------------------------------------------------------------- /example/misc/dimension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/example/misc/dimension.ts -------------------------------------------------------------------------------- /example/product.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/example/product.ts -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/index.html -------------------------------------------------------------------------------- /interactive.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/interactive.html -------------------------------------------------------------------------------- /lib/typson-schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/lib/typson-schema.js -------------------------------------------------------------------------------- /lib/typson-swagger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/lib/typson-swagger.js -------------------------------------------------------------------------------- /lib/typson.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/lib/typson.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/package.json -------------------------------------------------------------------------------- /test/imports.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/imports.js -------------------------------------------------------------------------------- /test/pass-amd.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/pass-amd.html -------------------------------------------------------------------------------- /test/spec/bulk.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/bulk.test.js -------------------------------------------------------------------------------- /test/spec/class-single/definitions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/class-single/definitions.json -------------------------------------------------------------------------------- /test/spec/class-single/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/class-single/main.ts -------------------------------------------------------------------------------- /test/spec/class-single/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/class-single/schema.json -------------------------------------------------------------------------------- /test/spec/interface-multi/definitions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/interface-multi/definitions.json -------------------------------------------------------------------------------- /test/spec/interface-multi/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/interface-multi/main.ts -------------------------------------------------------------------------------- /test/spec/interface-multi/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/interface-multi/schema.json -------------------------------------------------------------------------------- /test/spec/interface-single/definitions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/interface-single/definitions.json -------------------------------------------------------------------------------- /test/spec/interface-single/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/interface-single/main.ts -------------------------------------------------------------------------------- /test/spec/interface-single/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/interface-single/schema.json -------------------------------------------------------------------------------- /test/spec/module-interface-deep/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/module-interface-deep/main.ts -------------------------------------------------------------------------------- /test/spec/module-interface-deep/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/module-interface-deep/schema.json -------------------------------------------------------------------------------- /test/spec/module-interface-single/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/module-interface-single/main.ts -------------------------------------------------------------------------------- /test/spec/module-interface-single/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/test/spec/module-interface-single/schema.json -------------------------------------------------------------------------------- /vendor/chai.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/vendor/chai.js -------------------------------------------------------------------------------- /vendor/mocha.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/vendor/mocha.css -------------------------------------------------------------------------------- /vendor/mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/vendor/mocha.js -------------------------------------------------------------------------------- /vendor/q.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/vendor/q.js -------------------------------------------------------------------------------- /vendor/require.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/vendor/require.js -------------------------------------------------------------------------------- /vendor/superagent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/vendor/superagent.js -------------------------------------------------------------------------------- /vendor/traverse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/vendor/traverse.js -------------------------------------------------------------------------------- /vendor/typescriptServices.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/vendor/typescriptServices.js -------------------------------------------------------------------------------- /vendor/underscore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbovet/typson/HEAD/vendor/underscore.js --------------------------------------------------------------------------------