generated from AthennaIO/Template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 2.83 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
98
99
{
"name": "@athenna/benchmarks",
"version": "1.0.0",
"description": "The code used to run benchmarks in Athenna framework.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
"bugs": "https://github.com/AthennaIO/Benchmarks/issues",
"repository": "https://github.com/AthennaIO/Benchmarks.git",
"homepage": "https://github.com/AthennaIO/Benchmarks#readme",
"keywords": [
"esm",
"athenna"
],
"scripts": {
"lint:fix": "eslint \"{bin,framework,src}/**/*.ts\" --fix",
"benchmark": "node --import=@athenna/tsconfig --experimental-import-meta-resolve bin/main.ts",
"benchmark:athenna": "node --import=@athenna/tsconfig --experimental-import-meta-resolve bin/main.ts --framework=athenna",
"benchmark:fastify": "node --import=@athenna/tsconfig --experimental-import-meta-resolve bin/main.ts --framework=fastify"
},
"type": "module",
"imports": {
"#bin/*": "./bin/*.js",
"#bin": "./bin/index.js",
"#src/*": "./src/*.js",
"#src": "./src/index.js",
"#framework/*": "./framework/*.js",
"#framework": "./framework/index.js"
},
"devDependencies": {
"@athenna/tsconfig": "^5.0.0",
"@types/autocannon": "^7.9.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"autocannon": "^7.15.0",
"chalk": "^5.3.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^8.10.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.6.0",
"husky": "^3.1.0",
"ora": "^7.0.1",
"prettier": "^2.8.8",
"reflect-metadata": "^0.2.2"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"endOfLine": "lf",
"semi": false,
"printWidth": 80,
"overrides": [
{
"files": "tests/**/*",
"options": {
"printWidth": 120
}
}
]
},
"eslintIgnore": [],
"eslintConfig": {
"env": {
"es2021": true,
"node": true
},
"plugins": [
"prettier",
"@typescript-eslint"
],
"extends": [
"standard",
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended"
],
"parser": "@typescript-eslint/parser",
"rules": {
"camelcase": "off",
"dot-notation": "off",
"prettier/prettier": "error",
"no-useless-constructor": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
]
}
}
}