forked from storyblok/storyblok-astro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 1.76 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
{
"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-ssr --workspace=playground-ssr",
"build": "npm run build --workspace=lib",
"test:e2e": "npm run test:e2e --workspace=lib",
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@typescript-eslint/parser": "^5.58.0",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-astro": "^0.26.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.1",
"prettier": "^2.8.7",
"prettier-plugin-astro": "^0.8.0"
},
"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
}
}