forked from WPMedia/arc-themes-blocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
195 lines (195 loc) · 9.5 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
{
"name": "arc-themes-blocks",
"license": "CC-BY-NC-ND-4.0",
"private": true,
"publishConfig": {
"registry": "https://npm.pkg.github.com/",
"access": "public"
},
"repository": {
"type": "git",
"url": "ssh://[email protected]:WPMedia/arc-themes-blocks.git",
"directory": "blocks/article-body-block"
},
"scripts": {
"build-storybook": "build-storybook",
"format": "prettier --write .",
"generate:chain": "hygen chain new",
"generate:content-source": "hygen content-source new",
"generate:content-source:content-source": "hygen content-source content-source",
"generate:content-source:feature": "hygen content-source feature",
"generate:feature": "hygen feature new",
"generate:feature:content-source": "hygen feature content-source",
"generate:feature:feature": "hygen feature feature",
"generate:intl": "node locale/scripts/generate-intl.js",
"lint": "eslint --ext js --ext jsx blocks .storybook --no-error-on-unmatched-pattern",
"lint:changed-feature-branch": "eslint --max-warnings 0 --no-error-on-unmatched-pattern $(git diff --name-only origin/arc-themes-release-version-2.1.4 | grep -E \"(.js$|.jsx$)\" || echo \"no js/jsx files changed\")",
"lint:changed-feature-branch:fix": "npm run lint:changed-feature-branch -- --fix",
"lint:fix": "npm run lint -- --fix",
"lint:styles": "stylelint '**/*.scss' --formatter verbose",
"lint:styles:fix": "npm run lint:styles -- --fix",
"postinstall": "npx lerna clean -y",
"-ignore-prepare": "husky install",
"storybook": "start-storybook -p 60001",
"test": "jest",
"test:changed-feature-branch": "jest --changedSince=origin/arc-themes-release-version-2.1.4 --coverage --passWithNoTests",
"test:coverage": "jest --coverage",
"test:watch": "npm run test -- --watch -o --coverage"
},
"browserslist": [
"supports css-logical-props and last 2 versions and > 1%"
],
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"devDependencies": {
"@arc-fusion/prop-types": "^0.1.5",
"@arc-publishing/sdk-identity": "^1.79.0",
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-decorators": "^7.23.2",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-private-methods": "^7.23.3",
"@babel/preset-env": "^7.23.2",
"@babel/preset-react": "^7.22.15",
"@etchteam/storybook-addon-css-variables-theme": "^1.5.1",
"@storybook/addon-a11y": "^7.5.1",
"@storybook/addon-docs": "^7.5.1",
"@storybook/addon-essentials": "^7.5.1",
"@storybook/addon-knobs": "^7.0.2",
"@storybook/react": "^7.5.1",
"@stripe/react-stripe-js": "^2.3.1",
"@stripe/stripe-js": "^2.1.9",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@wpmedia/arc-themes-components": "arc-themes-release-version-2.1.4",
"algoliasearch": "^4.20.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-plugin-module-resolver": "^5.0.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"chromatic": "^7.4.0",
"cookie": "^0.6.0",
"css-loader": "^6.8.1",
"eslint": "^8.52.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.4.3",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.1.2",
"glob": "^10.3.10",
"husky": "^8.0.3",
"hygen": "^6.2.11",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-dom": "^4.0.0",
"jest-environment-jsdom": "^29.7.0",
"jest-mock-console": "^2.0.0",
"lerna": "^8.0.2",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-oembed-container": "^1.0.1",
"sass": "^1.69.4",
"sass-loader": "^14.0.0",
"storybook-readme": "^5.0.9",
"style-loader": "^3.3.3",
"stylelint": "^15.11.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-sass-guidelines": "^10.0.0",
"stylelint-no-unsupported-browser-features": "^7.0.0",
"stylelint-order": "^6.0.4",
"stylelint-use-logical": "^2.1.0"
},
"dependencies": {
"@wpmedia/ad-taboola-block": "file:blocks/ad-taboola-block",
"@wpmedia/ads-block": "file:blocks/ads-block",
"@wpmedia/alert-bar-block": "file:blocks/alert-bar-block",
"@wpmedia/alert-bar-content-source-block": "file:blocks/alert-bar-content-source-block",
"@wpmedia/article-body-block": "file:blocks/article-body-block",
"@wpmedia/article-tag-block": "file:blocks/article-tag-block",
"@wpmedia/author-bio-block": "file:blocks/author-bio-block",
"@wpmedia/author-content-source-block": "file:blocks/author-content-source-block",
"@wpmedia/byline-block": "file:blocks/byline-block",
"@wpmedia/card-list-block": "file:blocks/card-list-block",
"@wpmedia/collections-content-source-block": "file:blocks/collections-content-source-block",
"@wpmedia/commerce-product-content-source-block": "file:blocks/commerce-product-content-source-block",
"@wpmedia/content-api-source-block": "file:blocks/content-api-source-block",
"@wpmedia/date-block": "file:blocks/date-block",
"@wpmedia/default-output-block": "file:blocks/default-output-block",
"@wpmedia/divider-block": "file:blocks/divider-block",
"@wpmedia/double-chain-block": "file:blocks/double-chain-block",
"@wpmedia/extra-large-manual-promo-block": "file:blocks/extra-large-manual-promo-block",
"@wpmedia/extra-large-promo-block": "file:blocks/extra-large-promo-block",
"@wpmedia/footer-block": "file:blocks/footer-block",
"@wpmedia/full-author-bio-block": "file:blocks/full-author-bio-block",
"@wpmedia/gallery-block": "file:blocks/gallery-block",
"@wpmedia/global-phrases-block": "file:blocks/global-phrases-block",
"@wpmedia/header-block": "file:blocks/header-block",
"@wpmedia/header-nav-chain-block": "file:blocks/header-nav-chain-block",
"@wpmedia/headline-block": "file:blocks/headline-block",
"@wpmedia/htmlbox-block": "file:blocks/htmlbox-block",
"@wpmedia/identity-block": "file:blocks/identity-block",
"@wpmedia/large-manual-promo-block": "file:blocks/large-manual-promo-block",
"@wpmedia/large-promo-block": "file:blocks/large-promo-block",
"@wpmedia/lead-art-block": "file:blocks/lead-art-block",
"@wpmedia/links-bar-block": "file:blocks/links-bar-block",
"@wpmedia/masthead-block": "file:blocks/masthead-block",
"@wpmedia/medium-manual-promo-block": "file:blocks/medium-manual-promo-block",
"@wpmedia/medium-promo-block": "file:blocks/medium-promo-block",
"@wpmedia/numbered-list-block": "file:blocks/numbered-list-block",
"@wpmedia/overline-block": "file:blocks/overline-block",
"@wpmedia/product-assortment-carousel-block": "file:blocks/product-assortment-carousel-block",
"@wpmedia/product-content-block": "file:blocks/product-content-block",
"@wpmedia/product-information-block": "file:blocks/product-information-block",
"@wpmedia/quad-chain-block": "file:blocks/quad-chain-block",
"@wpmedia/quilted-image-block": "file:blocks/quilted-image-block",
"@wpmedia/related-content-content-source-block": "file:blocks/related-content-content-source-block",
"@wpmedia/results-list-block": "file:blocks/results-list-block",
"@wpmedia/right-rail-advanced-block": "file:blocks/right-rail-advanced-block",
"@wpmedia/right-rail-block": "file:blocks/right-rail-block",
"@wpmedia/search-content-source-block": "file:blocks/search-content-source-block",
"@wpmedia/search-results-list-block": "file:blocks/search-results-list-block",
"@wpmedia/section-title-block": "file:blocks/section-title-block",
"@wpmedia/share-bar-block": "file:blocks/share-bar-block",
"@wpmedia/signing-service-content-source-block": "file:blocks/signing-service-content-source-block",
"@wpmedia/simple-list-block": "file:blocks/simple-list-block",
"@wpmedia/single-chain-block": "file:blocks/single-chain-block",
"@wpmedia/single-column-layout-block": "file:blocks/single-column-layout-block",
"@wpmedia/site-hierarchy-content-block": "file:blocks/site-hierarchy-content-block",
"@wpmedia/small-manual-promo-block": "file:blocks/small-manual-promo-block",
"@wpmedia/small-promo-block": "file:blocks/small-promo-block",
"@wpmedia/story-carousel-block": "file:blocks/story-carousel-block",
"@wpmedia/story-feed-author-content-source-block": "file:blocks/story-feed-author-content-source-block",
"@wpmedia/story-feed-query-content-source-block": "file:blocks/story-feed-query-content-source-block",
"@wpmedia/story-feed-sections-content-source-block": "file:blocks/story-feed-sections-content-source-block",
"@wpmedia/story-feed-tag-content-source-block": "file:blocks/story-feed-tag-content-source-block",
"@wpmedia/subheadline-block": "file:blocks/subheadline-block",
"@wpmedia/subscriptions-block": "file:blocks/subscriptions-block",
"@wpmedia/tag-title-block": "file:blocks/tag-title-block",
"@wpmedia/tags-content-source-block": "file:blocks/tags-content-source-block",
"@wpmedia/top-table-list-block": "file:blocks/top-table-list-block",
"@wpmedia/triple-chain-block": "file:blocks/triple-chain-block",
"@wpmedia/unpublished-content-source-block": "file:blocks/unpublished-content-source-block",
"@wpmedia/video-player-block": "file:blocks/video-player-block",
"focus-trap-react": "^10.2.3",
"use-debounce": "^9.0.4"
},
"overrides": {
"react-oembed-container": {
"react": "$react",
"react-dom": "$react-dom"
},
"stylelint-config-prettier": {
"stylelint": "$stylelint"
}
}
}