/
package.json
168 lines (168 loc) · 9.14 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
{
"name": "@automattic/wpcom-editing-toolkit",
"version": "2.21.0",
"description": "Plugin for editing-related features.",
"sideEffects": true,
"repository": {
"type": "git",
"url": "git://github.com/Automattic/wp-calypso.git",
"directory": "apps/editing-toolkit"
},
"private": true,
"author": "Automattic Inc.",
"license": "GPL-2.0-or-later",
"bugs": {
"url": "https://github.com/Automattic/wp-calypso/issues"
},
"homepage": "https://github.com/Automattic/wp-calypso",
"scripts": {
"dotcom-fse": "BROWSERSLIST_ENV=wpcom calypso-build --env source='dotcom-fse'",
"dev:dotcom-fse": "yarn run dotcom-fse",
"build:dotcom-fse": "NODE_ENV=production yarn run dotcom-fse",
"posts-list-block": "BROWSERSLIST_ENV=wpcom calypso-build --env source='posts-list-block'",
"dev:posts-list-block": "yarn run posts-list-block",
"build:posts-list-block": "NODE_ENV=production yarn run posts-list-block",
"common": "BROWSERSLIST_ENV=wpcom calypso-build --env source='common','common/data-stores','common/hide-plugin-buttons-mobile','common/disable-heic-images'",
"dev:common": "yarn run common",
"build:common": "NODE_ENV=production yarn run common",
"editor-site-launch": "npm-run-all --parallel 'editor-site-launch-*'",
"editor-site-launch-button": "BROWSERSLIST_ENV=wpcom calypso-build --env source='editor-site-launch/launch-button'",
"editor-site-launch-gutenboarding": "BROWSERSLIST_ENV=wpcom calypso-build --env source='editor-site-launch/gutenboarding-launch'",
"editor-site-launch-focused": "BROWSERSLIST_ENV=wpcom calypso-build --env source='editor-site-launch/focused-launch'",
"error-reporting": "BROWSERSLIST_ENV=wpcom calypso-build --env source='error-reporting'",
"dev:error-reporting": "yarn run error-reporting",
"build:error-reporting": "NODE_ENV=production yarn run error-reporting",
"dev:editor-site-launch": "yarn run editor-site-launch",
"build:editor-site-launch": "NODE_ENV=production yarn run editor-site-launch",
"newspack-blocks": "npm run sync:newspack-blocks -- --nodemodules && npm-run-all --parallel 'newspack-blocks-*'",
"newspack-blog-posts-block-editor": "BROWSERSLIST_ENV=wpcom calypso-build --env source='newspack-blocks/blog-posts-block-editor'",
"newspack-blog-posts-block-view": "BROWSERSLIST_ENV=wpcom calypso-build --env source='newspack-blocks/blog-posts-block-view'",
"newspack-blocks-blog-posts-block": "npm-run-all --parallel 'newspack-blog-posts-block-*'",
"newspack-carousel-block-editor": "BROWSERSLIST_ENV=wpcom calypso-build --env source='newspack-blocks/carousel-block-editor'",
"newspack-carousel-block-view": "BROWSERSLIST_ENV=wpcom calypso-build --env source='newspack-blocks/carousel-block-view'",
"newspack-blocks-carousel-block": "npm-run-all --parallel 'newspack-carousel-block-*'",
"dev:newspack-blocks": "yarn run newspack-blocks",
"build:newspack-blocks": "NODE_ENV=production yarn run newspack-blocks",
"starter-page-templates": "BROWSERSLIST_ENV=wpcom calypso-build --env source='starter-page-templates'",
"dev:starter-page-templates": "yarn run starter-page-templates",
"build:starter-page-templates": "NODE_ENV=production yarn run starter-page-templates",
"event-countdown-block": "BROWSERSLIST_ENV=wpcom calypso-build --env source='event-countdown-block'",
"dev:event-countdown-block": "yarn run event-countdown-block",
"build:event-countdown-block": "NODE_ENV=production yarn run event-countdown-block",
"global-styles": "BROWSERSLIST_ENV=wpcom calypso-build --env source='global-styles'",
"build:global-styles": "NODE_ENV=production yarn run global-styles",
"dev:global-styles": "yarn run global-styles",
"global-styles-customizer-fonts": "BROWSERSLIST_ENV=wpcom calypso-build --env source='global-styles/customizer-fonts'",
"build:global-styles-customizer-fonts": "NODE_ENV=production yarn run global-styles-customizer-fonts",
"dev:global-styles-customizer-fonts": "yarn run global-styles-customizer-fonts",
"jetpack-timeline": "BROWSERSLIST_ENV=wpcom calypso-build --env source='jetpack-timeline'",
"dev:jetpack-timeline": "yarn run jetpack-timeline",
"build:jetpack-timeline": "NODE_ENV=production yarn run jetpack-timeline",
"wpcom-block-editor-nux": "BROWSERSLIST_ENV=wpcom calypso-build --env source='wpcom-block-editor-nux'",
"dev:wpcom-block-editor-nux": "yarn run wpcom-block-editor-nux",
"build:wpcom-block-editor-nux": "NODE_ENV=production yarn run wpcom-block-editor-nux",
"wpcom-block-editor-welcome-tour": "BROWSERSLIST_ENV=wpcom calypso-build --env source='wpcom-block-editor-welcome-tour'",
"block-inserter-modifications": "npm-run-all --parallel 'block-inserter-modifications-*'",
"block-inserter-modifications-contextual-tips": "BROWSERSLIST_ENV=wpcom calypso-build --env source='block-inserter-modifications/contextual-tips'",
"dev:block-inserter-modifications": "yarn run block-inserter-modifications",
"build:block-inserter-modifications": "NODE_ENV=production yarn run block-inserter-modifications",
"wpcom-block-editor-nav-sidebar": "BROWSERSLIST_ENV=wpcom calypso-build --env source='wpcom-block-editor-nav-sidebar'",
"dev:wpcom-block-editor-nav-sidebar": "yarn run wpcom-block-editor-nav-sidebar",
"build:wpcom-block-editor-nav-sidebar": "NODE_ENV=production yarn run wpcom-block-editor-nav-sidebar",
"whats-new": "BROWSERSLIST_ENV=wpcom calypso-build --env source='whats-new'",
"dev:whats-new": "yarn run whats-new",
"build:whats-new": "NODE_ENV=production yarn run whats-new",
"tags-education": "BROWSERSLIST_ENV=wpcom calypso-build --env source='tags-education'",
"dev:tags-education": "yarn run tags-education",
"build:tags-education": "NODE_ENV=production yarn run tags-education",
"wpcom-site-editor": "BROWSERSLIST_ENV=wpcom calypso-build --env source='wpcom-site-editor'",
"dev:wpcom-site-editor": "yarn run wpcom-site-editor",
"build:wpcom-site-editor-nux": "NODE_ENV=production yarn run wpcom-site-editor",
"dev": "yarn clean && node bin/npm-run-build.js --dev",
"build": "yarn clean && node bin/npm-run-build.js --build",
"test:js": "npx wp-scripts test-unit-js --config='jest.config.js' --colors",
"test:js:help": "npx wp-scripts test-unit-js --config='jest.config.js' --help --colors",
"test:js:watch": "npx wp-scripts test-unit-js --config='jest.config.js' --watch --colors",
"test:js:update-snapshots": "npx wp-scripts test-unit-js -u --config='jest.config.js' --colors",
"test:php": "npx wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/editing-toolkit-plugin/phpunit.xml.dist'",
"clean": "npx rimraf dist 'editing-toolkit-plugin/*/dist'",
"sync:newspack-blocks": "./bin/sync-newspack-blocks.sh",
"wpcom-sync": "./bin/wpcom-watch-and-sync.sh",
"lint:php": "../../vendor/bin/phpcs --standard=../phpcs.xml ./ ",
"lint:php:fix": "../../vendor/bin/phpcbf --standard=../phpcs.xml ./ "
},
"dependencies": {
"@automattic/calypso-analytics": "^1.0.0-alpha.1",
"@automattic/calypso-build": "^9.0.0",
"@automattic/composite-checkout": "^1.0.0",
"@automattic/data-stores": "^2.0.0",
"@automattic/domain-picker": "^1.0.0-alpha.0",
"@automattic/format-currency": "^1.0.0-alpha.0",
"@automattic/i18n-utils": "^1.0.0",
"@automattic/launch": "^1.0.0",
"@automattic/newspack-blocks": "^1.37.1",
"@automattic/onboarding": "^1.0.0",
"@automattic/page-pattern-modal": "^1.0.0-alpha.0",
"@automattic/plans-grid": "^1.0.0-alpha.0",
"@automattic/typography": "^1.0.0",
"@babel/core": "^7.15.0",
"@emotion/react": "^11.4.1",
"@wordpress/a11y": "^3.2.2",
"@wordpress/api-fetch": "^5.2.2",
"@wordpress/base-styles": "^4.0.0",
"@wordpress/block-editor": "^7.0.2",
"@wordpress/blocks": "^11.1.0",
"@wordpress/components": "^17.0.0",
"@wordpress/compose": "^5.0.2",
"@wordpress/data": "^6.1.0",
"@wordpress/data-controls": "^2.2.3",
"@wordpress/date": "^4.2.1",
"@wordpress/dependency-extraction-webpack-plugin": "^3.2.1",
"@wordpress/dom-ready": "^3.2.1",
"@wordpress/edit-post": "^5.0.2",
"@wordpress/editor": "^11.0.2",
"@wordpress/element": "^4.0.1",
"@wordpress/env": "^4.1.1",
"@wordpress/escape-html": "^2.2.1",
"@wordpress/hooks": "^3.2.0",
"@wordpress/html-entities": "^3.2.1",
"@wordpress/i18n": "^4.2.2",
"@wordpress/icons": "^5.0.2",
"@wordpress/is-shallow-equal": "^4.2.0",
"@wordpress/keycodes": "^3.2.2",
"@wordpress/nux": "^5.0.2",
"@wordpress/plugins": "^4.0.2",
"@wordpress/primitives": "^3.0.1",
"@wordpress/react-i18n": "^3.0.1",
"@wordpress/rich-text": "^5.0.2",
"@wordpress/scripts": "^18.0.1",
"@wordpress/server-side-render": "^3.0.2",
"@wordpress/url": "3.2.2",
"classnames": "^2.3.1",
"enzyme": "^3.11.0",
"eslint": "^8.0.1",
"jest": "^27.2.4",
"lodash": "^4.17.21",
"moment": "^2.26.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.2.6",
"puppeteer": "^3.0.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-native": "^0.65.0",
"reakit-utils": "^0.15.1",
"redux": "^4.1.1",
"utility-types": "^3.10.0"
},
"devDependencies": {
"@automattic/calypso-eslint-overrides": "^1.0.0",
"@babel/preset-typescript": "^7.15.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.1",
"@types/wordpress__plugins": "^2.3.7",
"@wordpress/eslint-plugin": "^9.1.2",
"babel-jest": "^26.6.3",
"wait-for-expect": "^3.0.2",
"webpack": "^5.54.0"
}
}