-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
97 lines (97 loc) · 2.55 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "strongly",
"version": "1.0.80",
"description": "Make your server strongly type without adding any piece of code",
"main": "index.js",
"types": "index.d.ts",
"tags": [
"validator",
"validation",
"decorators",
"typescript",
"fastify",
"fastify-decorators",
"ajv",
"Strongly-Typed"
],
"repository": {
"type": "git",
"url": "https://github.com/yantrab/strongly.git"
},
"scripts": {
"clean": "rm -rf dist/ && rm -rf coverage/",
"build": "tsc --p tsconfig.build.json\n",
"prebuild": "npm run clean",
"test": "jest --coverage",
"start": "ts-node ./src/server/tests/app.ts",
"pretest": "npm run lint",
"lint": "eslint 'src/**/*.ts' --fix",
"copy-files": "cp package.json ./dist/package.json & cp README.md ./dist/README.md & cp src/server/swagger/swagger.html ./dist/server/swagger",
"publishh": "npm run test && npm run build && npm version patch && npm run copy-files && cd dist && npm publish && cd ../ && npm run clean"
},
"author": "[email protected]",
"license": "MIT",
"dependencies": {
"ajv": "^7.2.3",
"ajv-keywords": "^3.5.2",
"fastify": "^3.14.0",
"globby": "^11.0.1",
"http-errors": "^1.8.0",
"lodash": "^4.17.20",
"reflect-metadata": "^0.1.13",
"swagger2openapi": "^7.0.4",
"ts-morph": "^10.0.2"
},
"devDependencies": {
"@testdeck/jest": "^0.1.2",
"@types/http-errors": "^1.8.0",
"@types/jest": "^26.0.15",
"@types/lodash": "^4.14.165",
"@types/node": "^14.14.8",
"@types/swagger-schema-official": "^2.0.21",
"@typescript-eslint/eslint-plugin": "^4.8.0",
"@typescript-eslint/parser": "^4.8.0",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.6.3",
"openapi-types": "^7.0.1",
"prettier": "^1.19.1",
"ts-jest": "^26.4.4",
"ts-node": "^9.0.0",
"typescript": "^4.1.3"
},
"jest": {
"coverageDirectory": "<rootDir>/coverage",
"collectCoverageFrom": [
"src/**/*.ts",
"!src/server/tests/**/*.ts"
],
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/*.spec.(ts|js)"
],
"testPathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/show-case/"
],
"moduleDirectories": [
"node_modules",
"src"
],
"globals": {
"ts-jest": {
"compiler": "typescript",
"tsconfig": "tsconfig.json"
}
}
}
}