-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
81 lines (81 loc) · 1.67 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
{
"homapage": "https://sharec.js.org",
"author": "Konstantin Epishev <[email protected]>",
"license": "MIT",
"scripts": {
"lint": "eslint 'packages/**/*.js'"
},
"lint-staged": {
"packages/**/*.js": [
"eslint --fix"
],
"packages/**/*.d.ts": [
"prettier --write"
],
"packages/**/*.{json,ya?ml,css,html,md}": [
"prettier --write"
]
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 120
},
"eslintConfig": {
"env": {
"commonjs": true,
"jest": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2018
},
"parser": "@typescript-eslint/parser",
"extends": [
"standard"
],
"globals": {
"context": true
},
"rules": {
"comma-dangle": [
"error",
"always-multiline"
],
"space-before-function-paren": [
"error",
{
"asyncArrow": "always",
"anonymous": "never",
"named": "never"
}
]
}
},
"eslintIgnore": [
"/node_modules/"
],
"devDependencies": {
"@typescript-eslint/parser": "^4.7.0",
"eslint": "^7.0.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"gh-pages": "^3.1.0",
"json8": "^1.0.5",
"lerna": "^3.18.4",
"lint-staged": "^10.2.2",
"prettier": "^2.0.5",
"simple-git-hooks": "^2.4.1",
"typescript": "^4.0.5"
},
"sharec": {
"ignore": true
}
}