-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
91 lines (91 loc) · 1.93 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
{
"name": "@storyblok/astro-ws",
"private": true,
"version": "0.0.1",
"workspaces": [
"./lib",
"./playground",
"./playground-ssr",
"./playground-test"
],
"scripts": {
"dev": "npm run dev --workspace=lib & npm run demo",
"demo": "npm run dev --workspace=playground",
"demo-test": "npm run dev --workspace=playground-test",
"demo-ssr": "npm run dev --workspace=playground-ssr",
"build": "npm run build --workspace=lib",
"test:e2e": "npm run test:e2e --workspace=lib",
"prepare": "husky"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-astro": "^1.3.1",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1"
},
"lint-staged": {
"*.{astro,js,css}": [
"prettier --write",
"eslint"
],
"*.md": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"extends": [
"plugin:astro/recommended",
"prettier"
],
"globals": {
"globalThis": true
},
"overrides": [
{
"files": [
"*.astro"
],
"parser": "astro-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser"
}
}
],
"ignorePatterns": "dist/"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"plugins": [
"prettier-plugin-astro"
],
"overrides": [
{
"files": "**/*.astro",
"options": {
"parser": "astro"
}
}
]
}
}