-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 2.39 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
{
"name": "svelte-ready-template",
"version": "0.0.3",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"release": "standard-version"
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.22",
"eslint": "^7.2.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-svelte3": "^3.2.0",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"prettier-plugin-svelte": "^2.4.0",
"simple-git-hooks": "^2.6.1",
"standard-version": "^9.3.1",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^22.0.0",
"svelte": "^3.42.4",
"vite": "^2.5.6"
},
"peerDependencies": {
"@sveltejs/vite-plugin-svelte": "1.x",
"vite": "2.5.x"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true
},
"extends": [
"airbnb-base",
"prettier"
],
"plugins": [
"import",
"prettier",
"svelte3"
],
"overrides": [
{
"files": [
"**/*.svelte"
],
"processor": "svelte3/svelte3"
}
],
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"rules": {
"semi": [
"error"
],
"comma-dangle": [
"error",
"always-multiline"
]
}
},
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"singleQuote": true,
"svelteSortOrder": "options-scripts-markup-styles",
"semi": true,
"trailingComma": "es5",
"plugins": [
"prettier-plugin-svelte"
]
},
"stylelint": {
"extends": [
"stylelint-config-standard",
"stylelint-config-prettier"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"simple-git-hooks": {
"commit-msg": "npx --no-install commitlint --edit \"$1\"",
"pre-commit": "npx --no-install lint-staged"
},
"lint-staged": {
"*.{svelte,js}": "eslint --quiet --ext .js,.svelte",
"*.{svelte,js,css}": "prettier --check --plugin-search-dir=.",
"*.{svelte,css}": "stylelint --quiet"
}
}