-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 3.88 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "@athenna/athenna",
"version": "1.0.0",
"description": "The Athenna scaffold project used by 'athenna new project' command to create your project.",
"license": "MIT",
"author": "João Lenon <lenon@athenna.io>",
"bugs": "https://github.com/AthennaIO/AthennaIO/issues",
"repository": "https://github.com/AthennaIO/AthennaIO.git",
"homepage": "https://github.com/AthennaIO/AthennaIO#readme",
"keywords": [
"esm",
"athenna"
],
"scripts": {
"start": "node bootstrap/main.js",
"start:dev": "node artisan serve --watch",
"start:debug": "node --inspect artisan serve --watch",
"test": "npm run --silent lint:fix && node artisan test",
"test:debug": "cross-env DEBUG=api:* && npm run --silent test -- --inspect",
"test:coverage": "c8 npm run --silent test",
"lint:fix": "eslint \"{app,bootstrap,config,database,providers,resources,routes,storage,tests}/**/*.js\" --fix"
},
"type": "module",
"imports": {
"#app/*": "./app/*.js",
"#bootstrap/*": "./bootstrap/*.js",
"#config/*": "./config/*.js",
"#database/*": "./database/*.js",
"#lang/*": "./lang/*.js",
"#providers/*": "./providers/*.js",
"#facades/*": "./providers/facades/*.js",
"#resources/*": "./resources/*.js",
"#routes/*": "./routes/*.js",
"#storage/*": "./storage/*.js",
"#tests/*": "./tests/*.js"
},
"dependencies": {
"@athenna/artisan": "3.0.10",
"@athenna/common": "3.0.2",
"@athenna/config": "3.0.4",
"@athenna/core": "3.0.15",
"@athenna/http": "3.0.11",
"@athenna/ioc": "3.0.2",
"@athenna/logger": "3.0.9",
"@fastify/cors": "8.1.1",
"@fastify/helmet": "10.0.2",
"@fastify/rate-limit": "7.5.0",
"@fastify/swagger": "8.1.0",
"@fastify/swagger-ui": "1.1.0",
"cls-rtracer": "2.6.2"
},
"devDependencies": {
"@athenna/test": "3.0.16",
"@japa/assert": "1.3.4",
"@japa/run-failed-tests": "1.0.7",
"@japa/runner": "2.0.7",
"@japa/spec-reporter": "1.1.12",
"@types/commander": "2.12.2",
"c8": "7.11.2",
"cross-env": "7.0.3",
"eslint": "8.14.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-standard": "17.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-n": "15.2.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-promise": "6.0.0",
"husky": "3.0.9",
"lint-staged": "12.4.1",
"minimist": "1.2.6",
"nodemon": "2.0.20",
"prettier": "2.6.2",
"rimraf": "3.0.2",
"typescript": "4.6.4"
},
"c8": {
"all": true,
"include": [
"app/**/*.js"
],
"reporter": [
"text-summary",
"lcovonly",
"html"
],
"report-dir": "./tests/Coverage",
"check-coverage": true,
"statements": "50",
"branches": "50",
"functions": "50",
"lines": "50"
},
"husky": {
"hooks": {
"prepare-commit-msg": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.json": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"endOfLine": "lf",
"semi": false,
"printWidth": 80,
"overrides": [
{
"files": "tests/**/*",
"options": {
"printWidth": 120
}
}
]
},
"eslintConfig": {
"env": {
"es2021": true,
"node": true
},
"globals": {
"ioc": true,
"Env": true,
"Path": true,
"Config": true
},
"plugins": [
"prettier"
],
"extends": [
"standard",
"eslint:recommended",
"plugin:prettier/recommended"
],
"ignorePatterns": [
"**/*.d.ts"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"camelcase": "off",
"dot-notation": "off",
"prettier/prettier": "error",
"no-useless-constructor": "off"
}
}
}