forked from WPMedia/arc-themes-blocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
185 lines (185 loc) · 9.69 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
{
"name": "arc-themes-blocks",
"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"
},
"private": true,
"scripts": {
"lint": "eslint --ext js --ext jsx blocks components .storybook --no-error-on-unmatched-pattern",
"lint:styles": "stylelint '**/*.(scss|jsx)' --formatter verbose",
"lint:styles:fix": "stylelint '**/*.scss' --fix",
"lint:fix": "npm run lint -- --fix",
"storybook": "start-storybook -p 60001",
"test": "jest",
"test:watch": "npm run test -- --watch -o --coverage",
"latest-stable-parity": "lerna exec --no-bail --parallel -- npm dist-tag add \\${LERNA_PACKAGE_NAME}@$(node -e \"console.log(require('./lerna.json').version)\") stable",
"build-storybook": "build-storybook -c .storybook -o news-theme-blocks",
"test:coverage": "jest --coverage",
"generate:intl": "node locale/scripts/generate-intl.js",
"postinstall": "npx lerna clean -y",
"release:beta": "lerna publish --dist-tag beta --canary --preid beta -y",
"release:canary": "lerna publish --dist-tag canary --canary --preid canary -y",
"release:rc": "lerna publish --dist-tag rc --canary --preid rc -y",
"release:stable": "lerna publish --dist-tag stable minor -y",
"generate:chain": "hygen chain new",
"generate:feature": "hygen feature new",
"generate:feature:feature": "hygen feature feature",
"generate:feature:content-source": "hygen feature content-source",
"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",
"prepare": "husky install",
"test:changed-feature-branch": "jest --changedSince=origin/arc-themes-release-version-1.20 --coverage --passWithNoTests",
"lint:changed-feature-branch": "eslint --max-warnings 0 --no-error-on-unmatched-pattern $(git diff --name-only origin/arc-themes-release-version-1.20 | grep -E \"(.js$|.jsx$)\" || echo \"no js/jsx files changed\")",
"lint:changed-feature-branch:fix": "npm run lint:changed-feature-branch -- --fix",
"format": "prettier --write ."
},
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"license": "CC-BY-NC-ND-4.0",
"devDependencies": {
"@arc-fusion/prop-types": "^0.1.5",
"@arc-publishing/sdk-identity": "^1.55.0",
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.4.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.2",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@storybook/addon-a11y": "^6.4.19",
"@storybook/addon-docs": "^6.4.19",
"@storybook/addon-essentials": "^6.4.19",
"@storybook/addon-knobs": "^6.3.1",
"@storybook/react": "^6.4.19",
"@stripe/react-stripe-js": "^1.7.0",
"@stripe/stripe-js": "^1.22.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
"@wpmedia/engine-theme-sdk": "canary",
"@wpmedia/news-theme-css": "stable",
"babel-eslint": "^10.0.2",
"babel-jest": "^26.2.0",
"babel-loader": "^8.1.0",
"babel-plugin-module-resolver": "^3.2.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"chromatic": "^5.10.2",
"css-loader": "^3.5.3",
"enzyme": "^3.10.0",
"eslint": "^7.2.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.14.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^2.4.0",
"glob": "^7.1.7",
"husky": "^7.0.4",
"hygen": "^6.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.2.0",
"jest-enzyme": "^7.1.0",
"lerna": "^4.0.0",
"lint-staged": "^12.3.4",
"node-sass": "^4.14.1",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-oembed-container": "^1.0.0",
"sass-loader": "^8.0.2",
"storybook-readme": "^5.0.9",
"style-loader": "^1.2.1",
"styled-components": "^4.4.1",
"stylelint": "^13.3.3",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-sass-guidelines": "^7.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-no-unsupported-browser-features": "^4.0.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/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/double-chain-block": "file:blocks/double-chain-block",
"@wpmedia/event-tester-block": "file:blocks/event-tester-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-block": "file:blocks/header-nav-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/placeholder-image-block": "file:blocks/placeholder-image-block",
"@wpmedia/quad-chain-block": "file:blocks/quad-chain-block",
"@wpmedia/related-content-content-source-block": "file:blocks/related-content-content-source-block",
"@wpmedia/resizer-image-block": "file:blocks/resizer-image-block",
"@wpmedia/resizer-image-content-source-block": "file:blocks/resizer-image-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/shared-styles": "file:blocks/shared-styles",
"@wpmedia/simple-list-block": "file:blocks/simple-list-block",
"@wpmedia/single-chain-block": "file:blocks/single-chain-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-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/text-output-block": "file:blocks/text-output-block",
"@wpmedia/textfile-block": "file:blocks/textfile-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",
"@wpmedia/video-promo-block": "file:blocks/video-promo-block"
},
"browserslist": [
"defaults",
"not op_mini all",
"not IE 11"
]
}