├── .eslintignore ├── .eslintrc.yml ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── LICENSE-DOCS ├── README.md ├── app.js ├── docs ├── index.html └── main.1d9a2a89b6202984f4a1.js ├── lib ├── index.js ├── remove-duplicate-types.js ├── stringify-schema.js └── to-schema.js ├── package.json ├── test ├── array-of-array-property.spec.js ├── bad-character-input.spec.js ├── complex-json.spec.js ├── fixtures │ ├── complex-pre-dupe-schema.graphql │ ├── complex.json │ ├── simple-with-arrays-of-arrays-property.json │ ├── simple-with-duplicates.json │ └── simple.json ├── integration.spec.js ├── remove-duplicate-types.spec.js ├── simple-json.spec.js ├── stringify-schema.spec.js └── validate-json.spec.js ├── web-ui ├── index.css ├── index.html └── index.js ├── webpack.config.dev.js └── webpack.config.js /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | coverage/ 3 | docs/ 4 | web-ui 5 | -------------------------------------------------------------------------------- /.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/.eslintrc.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | .idea 4 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | .DS_Store 4 | docs 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE-DOCS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/LICENSE-DOCS -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/README.md -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/app.js -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/main.1d9a2a89b6202984f4a1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/docs/main.1d9a2a89b6202984f4a1.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/remove-duplicate-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/lib/remove-duplicate-types.js -------------------------------------------------------------------------------- /lib/stringify-schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/lib/stringify-schema.js -------------------------------------------------------------------------------- /lib/to-schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/lib/to-schema.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/package.json -------------------------------------------------------------------------------- /test/array-of-array-property.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/array-of-array-property.spec.js -------------------------------------------------------------------------------- /test/bad-character-input.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/bad-character-input.spec.js -------------------------------------------------------------------------------- /test/complex-json.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/complex-json.spec.js -------------------------------------------------------------------------------- /test/fixtures/complex-pre-dupe-schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/fixtures/complex-pre-dupe-schema.graphql -------------------------------------------------------------------------------- /test/fixtures/complex.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/fixtures/complex.json -------------------------------------------------------------------------------- /test/fixtures/simple-with-arrays-of-arrays-property.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/fixtures/simple-with-arrays-of-arrays-property.json -------------------------------------------------------------------------------- /test/fixtures/simple-with-duplicates.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/fixtures/simple-with-duplicates.json -------------------------------------------------------------------------------- /test/fixtures/simple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/fixtures/simple.json -------------------------------------------------------------------------------- /test/integration.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/integration.spec.js -------------------------------------------------------------------------------- /test/remove-duplicate-types.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/remove-duplicate-types.spec.js -------------------------------------------------------------------------------- /test/simple-json.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/simple-json.spec.js -------------------------------------------------------------------------------- /test/stringify-schema.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/stringify-schema.spec.js -------------------------------------------------------------------------------- /test/validate-json.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/test/validate-json.spec.js -------------------------------------------------------------------------------- /web-ui/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/web-ui/index.css -------------------------------------------------------------------------------- /web-ui/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/web-ui/index.html -------------------------------------------------------------------------------- /web-ui/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/web-ui/index.js -------------------------------------------------------------------------------- /webpack.config.dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/webpack.config.dev.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/walmartlabs/json-to-simple-graphql-schema/HEAD/webpack.config.js --------------------------------------------------------------------------------