This repository has been archived by the owner on Jul 5, 2022. It is now read-only.
generated from stscoundrel/typescript-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.95 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "typescript-template",
"version": "1.0.0",
"description": "Template repo for generic TypeScript / Node.js library with tests & lint",
"repository": "https://github.com/stscoundrel/typescript-template.git",
"author": "stscoundrel <silvennoinen.sampo@gmail.com>",
"license": "MIT",
"private": false,
"main": "dist/server.js",
"files": [
"dist"
],
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@koa/router": "^10.1.1",
"elder-futhark": "^1.0.5",
"futhorc": "^1.0.3",
"futhork": "^1.1.5",
"koa": "^2.13.4",
"serverless-http": "^3.0.1",
"younger-futhark": "^1.1.3"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@babel/preset-typescript": "^7.16.7",
"@stryker-mutator/core": "^5.0.1",
"@stryker-mutator/jest-runner": "^5.1.0",
"@types/jest": "^27.4.1",
"@types/koa": "^2.13.4",
"@types/koa-router": "^7.4.4",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"babel-jest": "^28.0.3",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"jest": "^28.0.3",
"serverless": "^3.10.2",
"serverless-offline": "^8.7.0",
"serverless-plugin-typescript": "^2.1.2",
"supertest": "^6.2.3",
"ts-node": "^9.1.1",
"ts-node-dev": "^1.1.8",
"typescript": "^4.6.4"
},
"scripts": {
"dev": "ts-node-dev src/server.ts",
"dev-serverless": "serverless offline",
"lint": "eslint .",
"fix": "eslint . --fix",
"jest": "jest --verbose --runInBand --passWithNoTests",
"test:unit": "yarn jest",
"test:mutation": "stryker run",
"test:coverage": "jest --coverage --coverageThreshold='{\"global\":{\"statements\":\"90\", \"functions\":\"90\", \"branches\":\"90\", \"lines\":\"90\"}}'",
"build": "tsc",
"prepublishOnly": "yarn build && yarn test:unit"
}
}