graphql-codegen-flutter-freezed
Version:
A stand-alone package to generate Freezed models from GraphQL schema based on the flutter-freezed plugin for GraphQL Code Generator
89 lines (88 loc) • 2.51 kB
JSON
{
"name": "graphql-codegen-flutter-freezed",
"version": "0.6.0",
"description": "A stand-alone package to generate Freezed models from GraphQL schema based on the flutter-freezed plugin for GraphQL Code Generator",
"respository": {
"type": "git",
"url": "https://github.com/Parables/graphql-codegen-flutter-freezed.git"
},
"main": "dist/main/index.js",
"typings": "dist/main/index.d.ts",
"module": "dist/module/index.mjs",
"bin": {
"flutter-freezed": "./flutter-freezed.sh"
},
"files": [
"dist/**/*.{js,ts}",
"LICENSE",
"README.md",
"flutter-freezed.sh"
],
"scripts": {
"type-check": "tsc --noEmit",
"test": "jest --no-watchman",
"build": "run-p build:*",
"build:main": "tsc -p tsconfig.main.json",
"build:module": "tsc -p tsconfig.module.json",
"lint": "eslint --ext .ts .",
"lint-fix": "eslint --fix --ext .ts .",
"prettier": "prettier --write --list-different \"**/*.{ts,graphql,yml}\"",
"prettier:check": "prettier --check \"**/*.{ts,graphql,yml}\"",
"generate": "run-p build:* && graphql-codegen",
"prepublish": "run-p build:* && chmod u+x ./flutter-freezed.sh",
"gen": "graphql-codegen"
},
"keywords": [
"graphql",
"gql",
"code",
"dart",
"generator",
"flutter",
"freezed",
"immutable classes",
"flutter's favorite",
"models",
"types",
"schema",
"codegen",
"node",
"types",
"typings",
"json"
],
"author": {
"email": "parables95@gmail.com",
"name": "Parables Boltnoel",
"url": "https://github.com/Parables"
},
"license": "MIT",
"devDependencies": {
"@graphql-codegen/cli": "2.11.3",
"@tsconfig/recommended": "1.0.1",
"@types/jest": "^28.1.6",
"@typescript-eslint/eslint-plugin": "5.32.0",
"@typescript-eslint/parser": "5.32.0",
"eslint": "8.21.0",
"jest": "28.1.3",
"npm-run-all": "4.1.5",
"prettier": "2.7.1",
"ts-jest": "28.0.7",
"typescript": "4.7.4"
},
"dependencies": {
"@graphql-codegen/core": "^2.6.0",
"@graphql-codegen/plugin-helpers": "^2.3.2",
"@graphql-codegen/schema-ast": "^2.4.1",
"@graphql-codegen/visitor-plugin-common": "^2.5.2",
"@graphql-tools/utils": "^8.6.1",
"change-case-all": "1.0.14",
"graphql": "^16.2.0"
},
"peerDependencies": {
"graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
},
"bugs": {
"url": "https://github.com/Parables/graphql-codegen-flutter-freezed/issues"
}
}