-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
164 lines (164 loc) · 3.79 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
158
159
160
161
162
163
164
{
"name": "@secjs/config",
"version": "1.1.4",
"description": "",
"license": "MIT",
"author": "João Lenon",
"repository": "https://github.com/SecJS/Config.git",
"bugs": "https://github.com/SecJS/Config/issues",
"homepage": "https://github.com/SecJS/Config#readme",
"scripts": {
"build": "tsc",
"test": "jest --verbose",
"test:debug": "DEBUG=* jest --verbose",
"lint:fix": "eslint \"{src,tests}/**/*.ts\" --fix"
},
"keywords": [
"config",
"nodejs",
"environment-variables"
],
"devDependencies": {
"@secjs/env": "1.2.8",
"@secjs/exceptions": "1.0.4",
"@secjs/utils": "1.7.3",
"@types/debug": "4.1.5",
"@types/jest": "27.0.1",
"@types/node": "14.17.0",
"@types/uuid": "8.3.0",
"@typescript-eslint/eslint-plugin": "4.31.0",
"@typescript-eslint/parser": "4.31.0",
"commitizen": "4.2.4",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-standard": "16.0.3",
"eslint-import-resolver-typescript": "2.4.0",
"eslint-plugin-import": "2.24.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-promise": "5.1.0",
"eslint-plugin-standard": "5.0.0",
"husky": "3.0.9",
"jest": "27.1.0",
"lint-staged": "9.4.3",
"prettier": "2.0.5",
"reflect-metadata": "0.1.13",
"ts-jest": "27.0.5",
"ts-loader": "9.2.3",
"ts-node": "10.0.0",
"tsconfig-paths": "3.9.0",
"typescript": "4.3.5",
"uuid": "8.3.2"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.json": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
}
},
"jest": {
"modulePaths": [
"<rootDir>"
],
"moduleDirectories": [
"node_modules",
"src",
"tests"
],
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "./coverage",
"testEnvironment": "node"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"endOfLine": "lf",
"semi": false,
"printWidth": 80,
"overrides": [
{
"files": "test/**/*",
"options": {
"printWidth": 120
}
}
]
},
"eslintConfig": {
"env": {
"es6": true,
"node": true
},
"extends": [
"standard",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"dot-notation": "off",
"camelcase": "off",
"no-undef": "off",
"@typescript-eslint/no-var-requires": "off",
"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-explicit-any": "off",
"prettier/prettier": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "_"
}
]
}
},
"files": [
"src/*.js",
"src/*.d.ts",
"src/**/*.js",
"src/**/*.d.ts",
"*.js",
"*.d.ts"
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}