Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
202 lines (202 sloc)
5.49 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "warthog", | |
"version": "0.0.0-development", | |
"description": "Opinionated set of tools for setting up GraphQL backed by TypeORM", | |
"main": "dist/index.js", | |
"types": "dist/types/index.d.ts", | |
"bin": { | |
"warthog": "bin/warthog" | |
}, | |
"files": [ | |
"dist", | |
"bin", | |
"LICENSE", | |
"README.md" | |
], | |
"author": { | |
"name": "Dan Caddigan", | |
"url": "https://github.com/goldcaddy77" | |
}, | |
"scripts": { | |
"build": "rm -rf ./dist && yarn tsc && copyfiles -u 1 src/cli/**/*.ejs dist/", | |
"bootstrap": "./tools/bootstrap-all.sh", | |
"check:code": "tsc --noEmit && yarn lint && yarn prettify", | |
"circle:build": "rm ./tmp/circle.build.yml 2> /dev/null && circleci config process .circleci/config.yml > ./tmp/circle.build.yml && circleci local execute -c ./tmp/circle.build.yml --job build", | |
"deploy:debug": "npm_config_loglevel=verbose CIRCLE_BRANCH=beta CIRCLECI=true CI=true yarn semantic-release --debug", | |
"lint": "eslint './+(examples|src|test|tools)/**/*.{js,ts}' --fix", | |
"//prettier": "Note: ignores node_modules by default and 'generated' folder via .prettierignore", | |
"prettify": "yarn prettier './+(examples|src|test|tools)/**/*.ts' --write", | |
"semantic-release": "semantic-release", | |
"test": "./tools/test.sh", | |
"test:prod": "NODE_ENV=production ./tools/test.sh", | |
"test:watch": "./tools/test.sh --watch" | |
}, | |
"husky": { | |
"hooks": { | |
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | |
"pre-commit": "lint-staged && tsc && yarn test" | |
} | |
}, | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/goldcaddy77/warthog.git" | |
}, | |
"keywords": [ | |
"graphql", | |
"typeorm", | |
"typescript" | |
], | |
"license": "MIT", | |
"bugs": { | |
"url": "https://github.com/goldcaddy77/warthog/issues" | |
}, | |
"homepage": "https://github.com/goldcaddy77/warthog#readme", | |
"//": "TODO: figure out which of these are dependencies, devDeps or peerDeps", | |
"dependencies": { | |
"@types/app-root-path": "^1.2.4", | |
"@types/caller": "^1.0.0", | |
"@types/cosmiconfig": "^6.0.0", | |
"@types/debug": "^4.1.5", | |
"@types/dotenv": "^8.2.0", | |
"@types/express": "^4.17.2", | |
"@types/graphql": "^14.5.0", | |
"@types/graphql-fields": "^1.3.2", | |
"@types/graphql-iso-date": "^3.3.3", | |
"@types/graphql-type-json": "^0.3.2", | |
"@types/isomorphic-fetch": "^0.0.35", | |
"@types/lodash": "^4.14.148", | |
"@types/mkdirp": "^0.5.2", | |
"@types/node": "^12.12.8", | |
"@types/node-emoji": "^1.8.1", | |
"@types/open": "^6.2.1", | |
"@types/pg": "^7.14.11", | |
"@types/prettier": "^1.18.3", | |
"@types/shortid": "^0.0.29", | |
"@types/ws": "^6.0.3", | |
"apollo-link-error": "^1.1.12", | |
"apollo-link-http": "^1.5.16", | |
"apollo-server": "^2.9.9", | |
"apollo-server-express": "^2.9.9", | |
"app-root-path": "^3.0.0", | |
"caller": "^1.0.1", | |
"class-transformer": "^0.2.3", | |
"class-validator": "^0.11.0", | |
"cosmiconfig": "^6.0.0", | |
"cross-fetch": "^3.0.4", | |
"dataloader": "^1.4.0", | |
"debug": "^4.1.1", | |
"execa": "^4.0.3", | |
"express": "^4.17.1", | |
"gluegun": "^4.1.0", | |
"graphql": "^14.5.8", | |
"graphql-binding": "^2.5.2", | |
"graphql-fields": "^2.0.3", | |
"graphql-import-node": "^0.0.4", | |
"graphql-iso-date": "^3.6.1", | |
"graphql-scalars": "^1.2.6", | |
"graphql-tools": "^4.0.6", | |
"graphql-type-json": "^0.3.0", | |
"lodash": "^4.17.15", | |
"mkdirp": "^0.5.1", | |
"node-emoji": "^1.10.0", | |
"open": "^7.0.0", | |
"pg": "^8.6.0", | |
"pgtools": "^0.3.1", | |
"prettier": "^1.19.1", | |
"reflect-metadata": "^0.1.13", | |
"shortid": "^2.2.15", | |
"type-graphql": "^0.17.5", | |
"typedi": "^0.8.0", | |
"typeorm": "^0.2.32", | |
"typeorm-typedi-extensions": "^0.4.1", | |
"typescript": "^3.9.7" | |
}, | |
"devDependencies": { | |
"@commitlint/cli": "^8.3.5", | |
"@commitlint/config-conventional": "^8.3.4", | |
"@types/execa": "^2.0.0", | |
"@types/faker": "^4.1.12", | |
"@types/jest": "^24.0.23", | |
"@types/supertest": "^2.0.8", | |
"@typescript-eslint/eslint-plugin": "^2.7.0", | |
"@typescript-eslint/parser": "^2.7.0", | |
"copyfiles": "^2.3.0", | |
"dotenv": "^8.2.0", | |
"eslint": "^6.6.0", | |
"eslint-config-prettier": "^6.5.0", | |
"eslint-plugin-prettier": "^3.1.1", | |
"faker": "^5.1.0", | |
"husky": "^3.0.9", | |
"jest": "^24.9.0", | |
"lint-staged": "^9.4.3", | |
"markdownlint-cli": "^0.19.0", | |
"semantic-release": "^16.0.0-beta.31", | |
"supertest": "^4.0.2", | |
"ts-jest": "^24.1.0", | |
"ts-node": "^8.10.2", | |
"ts-node-dev": "^1.0.0-pre.60" | |
}, | |
"lint-staged": { | |
"*.ts": [ | |
"eslint --fix", | |
"prettier --write", | |
"git add" | |
], | |
"*.{js,json}": [ | |
"prettier --write", | |
"git add" | |
], | |
"*.md": [ | |
"markdownlint" | |
] | |
}, | |
"prettier": { | |
"printWidth": 100, | |
"singleQuote": true | |
}, | |
"jest": { | |
"setupFiles": [ | |
"./src/test/setupFiles.ts" | |
], | |
"setupFilesAfterEnv": [ | |
"./src/test/setupFilesAfterEnv.ts" | |
], | |
"transform": { | |
".ts": "ts-jest" | |
}, | |
"testRegex": "\\.test\\.ts$", | |
"moduleFileExtensions": [ | |
"ts", | |
"js" | |
], | |
"modulePathIgnorePatterns": [ | |
"/examples/" | |
], | |
"watchPathIgnorePatterns": [ | |
"tmp/", | |
"/generated/*" | |
], | |
"collectCoverageFrom": [ | |
"src/**/*.ts" | |
], | |
"coveragePathIgnorePatterns": [ | |
"/node_modules/", | |
"src/test/*", | |
"\\.test\\.ts$" | |
], | |
"globals": { | |
"ts-jest": { | |
"tsConfig": "tsconfig.test.json" | |
} | |
} | |
}, | |
"resolutions": { | |
"//": "Fixes security vulnerability", | |
"set-value": "2.0.1" | |
}, | |
"release": { | |
"branches": [ | |
"main" | |
] | |
} | |
} |