mirror of
https://github.com/aleleba/create-node-ts-graphql-server.git
synced 2025-07-26 06:28:24 -06:00
PR-448199:
Adding Testing with Jest and bin command for npx.
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
"name": "ts-graphql-server",
|
||||
"version": "0.0.1",
|
||||
"description": "Node with Typescript and GraphQL Server",
|
||||
"bin": "./bin/cli.js",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node build/index.js",
|
||||
@ -10,7 +11,8 @@
|
||||
"build": "webpack-cli --config webpack.config.ts",
|
||||
"lint": "eslint ./ --ext .js --ext .ts",
|
||||
"lint:fix": "eslint ./ --ext .js --ext .ts --fix",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -60,7 +62,10 @@
|
||||
"compression-webpack-plugin": "^10.0.0",
|
||||
"eslint": "^8.16.0",
|
||||
"eslint-webpack-plugin": "^3.1.1",
|
||||
"jest": "^28.1.0",
|
||||
"nodemon": "^2.0.16",
|
||||
"supertest": "^6.2.3",
|
||||
"ts-jest": "^28.0.3",
|
||||
"ts-loader": "^9.3.0",
|
||||
"typescript": "^4.7.2",
|
||||
"webpack": "^5.72.1",
|
||||
|
Reference in New Issue
Block a user