UNPKG

@aws-amplify/appsync-modelgen-plugin

Version:
94 lines (93 loc) 2.39 kB
{ "name": "@aws-amplify/appsync-modelgen-plugin", "version": "2.15.2", "repository": { "type": "git", "url": "https://github.com/aws-amplify/amplify-codegen.git", "directory": "packages/appsync-modelgen-plugin" }, "author": "Amazon Web Services", "license": "Apache-2.0", "main": "lib/index.js", "types": "lib/index.d.ts", "keywords": [ "graphql", "appsync", "aws", "amplify", "codegen" ], "scripts": { "build": "yarn generate-schemas && yarn generate-standalone-validation-function && tsc", "watch": "tsc -w", "test-watch": "jest --watch", "test": "jest", "generate-schemas": "ts-node ./scripts/generateSchemas.ts --overwrite", "generate-standalone-validation-function": "ts-node ./scripts/generateStandaloneValidationFunction.ts", "extract-api": "ts-node ../../scripts/extract-api.ts" }, "dependencies": { "@graphql-codegen/plugin-helpers": "^3.1.1", "@graphql-codegen/visitor-plugin-common": "^1.22.0", "@graphql-tools/utils": "^6.0.18", "chalk": "^3.0.0", "change-case": "^4.1.1", "graphql-transformer-common": "^4.25.1", "lower-case-first": "^2.0.1", "pluralize": "^8.0.0", "strip-indent": "^3.0.0", "ts-dedent": "^1.1.0" }, "devDependencies": { "@aws-amplify/graphql-directives": "^1.0.1", "@graphql-codegen/testing": "^1.17.7", "@graphql-codegen/typescript": "^2.8.3", "@types/fs-extra": "^8.1.2", "@types/node": "^12.12.6", "@types/pluralize": "0.0.29", "ajv": "^8.12.0", "graphql": "^15.5.0", "java-ast": "^0.3.0", "ts-json-schema-generator": "1.0.0" }, "peerDependencies": { "graphql": "^15.5.0" }, "typescript": { "definition": "lib/index.d.ts" }, "publishConfig": { "access": "public" }, "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" }, "collectCoverage": true, "collectCoverageFrom": [ "src/**/*.ts" ], "coverageThreshold": { "global": { "branches": 80, "functions": 80, "lines": 80 } }, "coverageReporters": [ "clover", "text" ], "testRegex": "(src/__tests__/.*.test.ts)$", "globals": { "ts-jest": { "diagnostics": false } }, "moduleFileExtensions": [ "ts", "js" ] }, "gitHead": "9174eabea530fad7f731c3c6f75cdc84fe45d5b5" }