-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 2.62 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
{
"name": "sharec-prettier-hook",
"version": "1.0.0",
"description": "Apply .prettier formatting for your configs",
"main": "./lib/index.js",
"types": "./types/index.d.ts",
"scripts": {
"lint": "eslint 'lib/**/*.js'",
"lint-staged": "lint-staged",
"test": "tsc --noEmit && jest",
"types": "tsc --emitDeclarationOnly"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sharecjs/sharec-prettier-hook.git"
},
"keywords": [],
"author": "Konstantin Epishev <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/sharecjs/sharec-prettier-hook/issues"
},
"homepage": "https://github.com/sharecjs/sharec-prettier-hook#readme",
"sharec": {
"configs": [
"sharec-essential-config"
],
"locked": {
"sharec-essential-config": "3.1.0"
}
},
"lint-staged": {
"lib/**/*.{js,jsx,json}": [
"eslint --fix",
"git add"
],
"types/*.d.ts": [
"prettier --write"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 120
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"standard"
],
"env": {
"node": true,
"jest": true
},
"rules": {
"space-before-function-paren": [
"error",
{
"asyncArrow": "always",
"anonymous": "never",
"named": "never"
}
],
"comma-dangle": [
"error",
"always-multiline"
],
"camelcase": "off"
},
"parserOptions": {
"ecmaVersion": 2018
}
},
"eslintIgnore": [
"/node_modules"
],
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"jest": {
"moduleDirectories": [
"node_modules",
"lib"
],
"moduleFileExtensions": [
"js",
"json"
],
"testMatch": [
"**/*.test.js"
],
"testPathIgnorePatterns": [
"node_modules"
],
"coveragePathIgnorePatterns": [
"node_modules"
]
},
"dependencies": {
"js-yaml": "^4.1.0",
"prettier": "^2.6.2"
},
"devDependencies": {
"@typescript-eslint/parser": "^5.19.0",
"babel-eslint": "^10.0.1",
"eslint": "^8.13.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-standard": "^5.0.0",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
"lint-staged": "^12.3.8",
"sharec-core": "^3.2.1",
"sharec-essential-config": "^3.1.0",
"simple-git-hooks": "^2.7.0",
"typescript": "^4.6.3"
}
}