Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
190 lines (189 sloc) 5.01 KB
{
"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/**/*.ejs dist/",
"bootstrap": "./tools/bootstrap-all.sh",
"check:code": "tsc --noEmit && yarn lint && yarn prettify",
"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": "jest --verbose --coverage --runInBand",
"//verbose": "--verbose flag must be used to accurately test the CLI writing to stdout",
"test:prod": "yarn jest --coverage --ci --detectOpenHandles --runInBand --verbose",
"test:watch": "jest --verbose --watch"
},
"husky": {
"hooks": {
"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": "^5.0.3",
"@types/debug": "^0.0.31",
"@types/dotenv": "^6.1.1",
"@types/express": "^4.16.0",
"@types/graphql": "^14.1.1",
"@types/graphql-fields": "^1.3.0",
"@types/graphql-iso-date": "^3.3.1",
"@types/graphql-type-json": "^0.1.3",
"@types/isomorphic-fetch": "^0.0.34",
"@types/lodash": "^4.14.119",
"@types/mkdirp": "^0.5.2",
"@types/node": "^10.12.18",
"@types/node-emoji": "^1.8.0",
"@types/open": "^6.1.0",
"@types/pg": "^7.4.11",
"@types/prettier": "^1.15.2",
"@types/shortid": "^0.0.29",
"@types/ws": "^6.0.1",
"apollo-link-error": "^1.1.5",
"apollo-link-http": "^1.5.9",
"apollo-server": "^2.6.3",
"apollo-server-express": "^2.6.3",
"app-root-path": "^2.1.0",
"caller": "^1.0.1",
"class-transformer": "^0.2.0",
"class-validator": "^0.9.1",
"cosmiconfig": "^5.2.1",
"cross-fetch": "^3.0.0",
"dataloader": "^1.4.0",
"debug": "^4.1.1",
"express": "^4.16.4",
"gluegun": "^3.3.1",
"graphql": "^14.1.1",
"graphql-binding": "^2.5.1",
"graphql-fields": "^2.0.3",
"graphql-iso-date": "^3.6.1",
"graphql-tools": "^4.0.3",
"graphql-type-json": "^0.3.0",
"lodash": "^4.17.13",
"mkdirp": "^0.5.1",
"node-emoji": "^1.8.1",
"open": "^6.3.0",
"pg": "^7.7.1",
"pgtools": "^0.3.0",
"prettier": "^1.18.2",
"reflect-metadata": "^0.1.12",
"shortid": "^2.2.14",
"sqlite3": "^4.0.6",
"type-graphql": "^0.17.4",
"typedi": "^0.8.0",
"typeorm": "^0.2.18",
"typeorm-typedi-extensions": "^0.2.3",
"typescript": "^3.5.2"
},
"devDependencies": {
"@types/express": "^4.16.0",
"@types/faker": "^4.1.5",
"@types/jest": "^24.0.15",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.2.0",
"@typescript-eslint/parser": "^2.2.0",
"condition-circle": "^2.0.2",
"copyfiles": "^2.1.1",
"dotenv": "^8.0.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^5.0.0",
"eslint-plugin-prettier": "^3.1.0",
"faker": "^4.1.0",
"husky": "^1.3.1",
"jest": "^24.8.0",
"lint-staged": "^8.1.0",
"npm-run-all": "^4.1.5",
"semantic-release": "^16.0.0-beta.31",
"supertest": "^4.0.2",
"ts-jest": "^24.0.2",
"ts-node": "^7.0.1"
},
"lint-staged": {
"linters": {
"*.ts": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{js,json}": [
"prettier --write",
"git add"
]
},
"ignore": [
"**/generated/*"
]
},
"release": {
"verifyConditions": "condition-circle"
},
"prettier": {
"printWidth": 100,
"singleQuote": true
},
"jest": {
"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"
}
}
}
}
You can’t perform that action at this time.