-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 2.82 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
{
"name": "@3fs/eslint-config",
"version": "2.0.2",
"description": "3fs ESLint Config",
"main": "index.js",
"scripts": {
"prettier:lint": "yarn prettier --check '**/*.{js,ts,html}'",
"prettier:fix": "yarn prettier:lint --write",
"eslint:lint": "yarn eslint configs/",
"eslint:fix": "yarn eslint:lint --fix",
"eslint:printRules": "TEST_FILE_NAME=$(echo $TEST_FILE | sed 's#/#-#g') && yarn eslint --config ./configs/$TEST_CONFIG.js --print-config $TEST_FILE | sed 's#/.*eslint-config/node_modules#{ABS_PATH}/eslint-config/node_modules#g' > ./snapshots/$TEST_CONFIG-$TEST_FILE_NAME.json",
"eslint:generateSnapshots": "TEST_CONFIG=angular TEST_FILE=index.ts yarn eslint:printRules && TEST_CONFIG=angular TEST_FILE=index.spec.ts yarn eslint:printRules && TEST_CONFIG=angular TEST_FILE=index.model.spec.ts yarn eslint:printRules && TEST_CONFIG=angular TEST_FILE=index.model.ts yarn eslint:printRules && TEST_CONFIG=angular TEST_FILE=index.abstract.ts yarn eslint:printRules && TEST_CONFIG=angular TEST_FILE=index.html yarn eslint:printRules && TEST_CONFIG=react-ts TEST_FILE=index.ts yarn eslint:printRules && TEST_CONFIG=react-ts TEST_FILE=src/Mocks/Data/index.ts yarn eslint:printRules && TEST_CONFIG=react-ts TEST_FILE=index.spec.ts yarn eslint:printRules && TEST_CONFIG=react-ts TEST_FILE=src/Generated/index.ts yarn eslint:printRules"
},
"repository": {
"type": "git",
"url": "git+https://github.com/3fs/eslint-config.git"
},
"keywords": [],
"author": "Nace Logar <nace.logar@3fs.si> (https://thecodedestroyer.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/3fs/eslint-config/issues"
},
"homepage": "https://github.com/3fs/eslint-config#readme",
"devDependencies": {
"@angular-eslint/eslint-plugin": "^16.2.0",
"@angular-eslint/eslint-plugin-template": "^16.2.0",
"@angular-eslint/template-parser": "^16.2.0",
"@typescript-eslint/eslint-plugin": "6.7.0",
"@typescript-eslint/parser": "6.7.0",
"babel-eslint": "10.1.0",
"eslint": "8.44.0",
"eslint-config-prettier": "^9.0.0",
"eslint-find-rules": "4.1.0",
"eslint-plugin-angular": "4.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.4.0",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-native": "4.0.0",
"prettier": "^3.0.3",
"typescript": "4.6.2"
},
"peerDependencies": {
"@angular-eslint/template-parser": ">=2.0.2",
"@typescript-eslint/eslint-plugin": ">=6.0.0",
"@typescript-eslint/parser": ">=6.0.0",
"eslint": ">=8.44.0",
"eslint-config-prettier": ">=8.1.0",
"eslint-plugin-import": ">=2.22.1",
"eslint-plugin-jest": ">=24.3.4",
"eslint-plugin-jsdoc": ">=32.3.0"
}
}