mirror of
https://github.com/sasjs/server.git
synced 2026-01-08 23:10:05 +00:00
test(deploy): cover deploy route with unit test
This commit is contained in:
12
package.json
12
package.json
@@ -2,12 +2,13 @@
|
||||
"name": "server",
|
||||
"version": "0.0.1",
|
||||
"description": "SASjs server",
|
||||
"main": "./src/index.ts",
|
||||
"main": "./src/server.ts",
|
||||
"scripts": {
|
||||
"start": "nodemon ./src/index.ts",
|
||||
"build": "tsc --project ./",
|
||||
"semantic-release": "semantic-release -d",
|
||||
"postinstall": "[ -d .git ] && git config core.hooksPath ./.git-hooks || true",
|
||||
"prepare": "[ -d .git ] && git config core.hooksPath ./.git-hooks || true",
|
||||
"test": "jest --coverage",
|
||||
"lint:fix": "npx prettier --write \"src/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
|
||||
"lint": "npx prettier --check \"src/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\""
|
||||
},
|
||||
@@ -18,16 +19,21 @@
|
||||
},
|
||||
"author": "Analytium Ltd",
|
||||
"dependencies": {
|
||||
"@sasjs/utils": "^2.19.0",
|
||||
"@sasjs/utils": "^2.23.3",
|
||||
"child_process": "^1.0.2",
|
||||
"express": "^4.17.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "^4.17.12",
|
||||
"@types/jest": "^26.0.24",
|
||||
"@types/node": "^15.12.2",
|
||||
"@types/supertest": "^2.0.11",
|
||||
"jest": "^27.0.6",
|
||||
"nodemon": "^2.0.7",
|
||||
"prettier": "^2.3.1",
|
||||
"semantic-release": "^17.4.3",
|
||||
"supertest": "^6.1.3",
|
||||
"ts-jest": "^27.0.3",
|
||||
"ts-node": "^10.0.0",
|
||||
"typescript": "^4.3.2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user