-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
134 lines (134 loc) · 3.26 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
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "volto-form-block",
"version": "3.10.2",
"description": "Volto block to build a form",
"main": "src/index.js",
"repository": "https://github.com/collective/volto-form-block",
"bugs": "https://github.com/collective/volto-form-block/issues",
"author": "collective",
"homepage": "https://github.com/collective/volto-form-block#readme",
"license": "MIT",
"keywords": [
"volto-addon",
"volto",
"plone",
"react",
"block",
"form"
],
"scripts": {
"prepare": "husky install",
"i18n": "rm -rf build/messages && NODE_ENV=production i18n --addon",
"lint": "./node_modules/eslint/bin/eslint.js --max-warnings=0 'src/**/*.{js,jsx,ts,tsx,json}'"
},
"addons": [
"volto-subblocks"
],
"prettier": {
"trailingComma": "all",
"singleQuote": true,
"overrides": [
{
"files": "*.overrides",
"options": {
"parser": "less"
}
}
]
},
"stylelint": {
"extends": [
"stylelint-config-idiomatic-order"
],
"plugins": [
"stylelint-prettier"
],
"overrides": [
{
"files": [
"**/*.scss"
],
"customSyntax": "postcss-scss"
},
{
"files": [
"**/*.less"
],
"customSyntax": "postcss-less"
},
{
"files": [
"**/*.overrides"
],
"customSyntax": "postcss-less"
}
],
"rules": {
"prettier/prettier": true,
"rule-empty-line-before": [
"always-multi-line",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
]
}
]
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json}": [
"npx eslint --max-warnings=0 --fix",
"npx prettier --single-quote --write"
],
"src/**/*.{css,less}": [
"npx stylelint --fix"
],
"src/**/*.scss": [
"npx stylelint --fix --customSyntax postcss-scss"
],
"src/**/*.overrides": [
"npx stylelint --fix --syntax less"
]
},
"dependencies": {
"@hcaptcha/react-hcaptcha": "^0.3.6",
"file-saver": "^2.0.5",
"react-google-recaptcha-v3": "^1.8.0",
"volto-subblocks": "^2.1.0"
},
"devDependencies": {
"@babel/plugin-proposal-export-default-from": "7.18.10",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@plone/scripts": "^2.0.0",
"@release-it/conventional-changelog": "^5.1.1",
"eslint": "8.54.0",
"eslint-config-prettier": "9.0.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-flowtype": "4.7.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "8.0.2",
"jest-css-modules": "^2.1.0",
"lint-staged": "13.0.3",
"pofile": "1.0.10",
"prettier": "3.1.0",
"razzle": "4.2.17",
"release-it": "16.1.3",
"stylelint": "15.11.0",
"stylelint-config-idiomatic-order": "9.0.0",
"stylelint-config-prettier": "8.0.1",
"stylelint-prettier": "4.0.2"
},
"peerDependencies": {
"@plone/volto": ">=16.0.0-alpha.38",
"volto-subblocks": "^2.1.0"
},
"packageManager": "[email protected]"
}