forked from remirror/remirror
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
291 lines (291 loc) Β· 11.8 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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
{
"name": "remirror-monorepo",
"private": true,
"homepage": "https://github.com/remirror/remirror",
"repository": {
"type": "git",
"url": "https://github.com/remirror/remirror.git"
},
"type": "module",
"scripts": {
"api": "node support/scripts/generate-api && api-documenter generate -i ./support/api -o ./docs/api",
"browser:coverage": "browserslist --coverage",
"build": "run-p build:core css:copy",
"build:core": "preconstruct fix && preconstruct build && pnpm fix:entry-point",
"build:custom": "pnpm recursive run build:custom",
"build:dev": "preconstruct fix && preconstruct dev && pnpm fix:entry-point",
"build:docs": "run-s docs:prod docs:redirects",
"changeset": "changeset",
"check:pnpm": "node support/scripts/check-pnpm.mjs",
"checks": "run-s lint typecheck:quick test",
"checks:disable": "rimraf ./.config.json",
"checks:enable": "cpy support/.config.sample.json ./ --rename=\".config.json\"",
"checks:fix": "run-s -c fix typecheck test build size build:dev",
"checks:release": "run-s checks build e2e",
"clean": "pnpm if-clean git clean -- -fdx --exclude=.config.json --exclude=node_modules --exclude=**/node_modules",
"clean:all": "git clean -fdx --exclude='.config.json' --exclude='.idea/'",
"clean:modules": "git clean -fdX packages support",
"clean:tsconfig": "rimraf packages/**/tsconfig.json",
"cli": "node packages/remirror__cli/bin.js",
"create:package": "node packages/remirror__cli/bin.js create",
"css:copy": "cpy packages/remirror__styles/*.css packages/remirror/styles/",
"css:force": "node support/scripts/check-styles --force",
"css:watch": "node support/scripts/check-styles --fix --watch",
"deprecate:all": "node support/scripts/deprecate-version",
"dev": "preconstruct fix && preconstruct watch && pnpm fix:entry-point",
"docs": "pnpm run docs:dev",
"docs:dev": "cd website && pnpm start",
"docs:prod": "cd website && pnpm build",
"docs:redirects": "cpy ./website/_redirects ./website/build/_redirects",
"e2e": "jest --config=jest.config.e2e.js --runInBand --verbose",
"e2e:watch": "pnpm run e2e -- --watch --verbose=false --coverage=false",
"fix": "run-s -c intl fix:*",
"fix:build": "preconstruct fix",
"fix:config": "pnpm generate:ts",
"fix:css": "node support/scripts/check-styles --fix",
"fix:entry-point": "node support/scripts/generate-configs --entry-point",
"fix:es": "pnpm lint:es -- --fix",
"fix:exports": "node support/scripts/generate-configs --exports",
"fix:md": "pnpm lint:md -- --fix",
"fix:package-json": "node support/scripts/generate-configs --package-json",
"fix:prettier": "pnpm run:prettier -- --write",
"fix:repo": "manypkg fix",
"fix:size": "pnpm generate:size",
"fix:website-examples": "pnpm generate:website-examples",
"generate:docs": "node support/scripts/generate-docs",
"generate:exports": "pnpm run fix:exports -- --force",
"generate:icons": "node support/scripts/generate-icons",
"generate:intl": "node support/scripts/generate-intl",
"generate:size": "node support/scripts/generate-configs --size",
"generate:ts": "node support/scripts/generate-configs --ts-packages",
"generate:website-examples": "node support/scripts/generate-website-examples",
"if-clean": "node support/scripts/run-if-clean",
"if-config": "node support/scripts/run-if-config",
"if-not-ci": "node support/scripts/run-if-not-ci",
"if-publishable": "node support/scripts/run-if-publishable",
"preinstall": "pnpm symlink:root && pnpm check:pnpm",
"postinstall": "npm-run-all patch -p build:dev css:copy",
"intl": "run-s intl:extract intl:compile generate:intl",
"intl:compile": "lingui compile",
"intl:extract": "lingui extract",
"is-logged-in": "npm whoami",
"lint": "run-s lint:*",
"lint:css": "node support/scripts/check-styles",
"lint:es": "cross-env FULL_ESLINT_CHECK=true eslint -f unix --ext=.tsx,.ts,.js .",
"lint:exports": "pnpm run fix:exports -- --check",
"lint:md": "eslint -f unix --ignore-pattern='*.js' --ignore-pattern='*.ts' --ignore-pattern='*.tsx' .",
"lint:prettier": "pnpm run:prettier -- --check",
"lint:repo": "manypkg check",
"mutate:pr": "node support/scripts/publish-pr",
"patch": "patch-package",
"prepare": "husky install",
"refresh": "pnpm clean:all; pnpm symlink:root; pnpm install;",
"prerelease": "pnpm if-not-ci run-s checks:release",
"release": "pnpm if-publishable run-s release",
"release:latest": "pnpm publish -r",
"release:next": "pnpm publish -r --tag next",
"reset": "pnpm clean:all; rm pnpm-lock.yaml; pnpm symlink:root; pnpm install;",
"run:prettier": "prettier --loglevel warn --ignore-path .eslintignore \"**/*.{js,jsx,ts,tsx,md,mdx,json,html,css,yml,yaml,graphql}\"",
"size": "size-limit",
"storybook": "run-p css:watch storybook:start",
"storybook:build": "manypkg run packages/storybook-react build",
"storybook:start": "manypkg run packages/storybook-react start",
"symlink:root": "node support/scripts/symlink-root.mjs",
"test": "jest --verbose",
"test:build": "cross-env TEST_BUILD=true jest --verbose --coverage=false",
"test:watch": "jest --watch --verbose=false --coverage=false",
"ts": "node -r ./support/scripts/babel-register.js",
"typecheck": "tsc -b",
"posttypecheck": "tsc -b --clean",
"typecheck:force": "tsc -b --force",
"typecheck:quick": "tsc -p tsconfig.dev.json",
"update:deps": "pnpm update --latest --recursive -i",
"update:workspace": "pnpm up -r --workspace \"@remirror/*\" remirror multishift jest-remirror jest-prosemirror prosemirror-suggest a11y-status test-keyboard",
"preversion:changeset": "node support/scripts/changeset-forced-update",
"version:changeset": "changeset version",
"postversion:changeset": "node support/scripts/changeset-forced-update --clean",
"version:changeset-dependents": "node support/scripts/changeset-update-dependents",
"version:ci": "run-s version:changeset-dependents version:changeset version:date fix:repo update:workspace fix:prettier version:lockfile",
"version:date": "node support/scripts/changelog-dates",
"version:lockfile": "pnpm install --lockfile-only",
"version:pr": "node support/scripts/enable-pr-changeset"
},
"browserslist": [
"since 2017"
],
"dependencies": {
"@babel/core": "^7.15.8",
"@babel/parser": "^7.15.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.15.8",
"@babel/plugin-proposal-logical-assignment-operators": "^7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-proposal-numeric-separator": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/plugin-proposal-private-methods": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.15.8",
"@babel/plugin-transform-template-literals": "^7.14.5",
"@babel/plugin-transform-typescript": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@babel/register": "^7.15.3",
"@babel/runtime": "^7.13.10",
"@changesets/changelog-github": "^0.4.1",
"@changesets/cli": "^2.17.0",
"@jest/types": "^27.2.5",
"@linaria/babel-preset": "3.0.0-beta.13",
"@linaria/cli": "3.0.0-beta.13",
"@linaria/shaker": "3.0.0-beta.13",
"@linaria/webpack-loader": "3.0.0-beta.13",
"@lingui/cli": "^3.12.1",
"@lingui/macro": "^3.12.1",
"@lingui/react": "^3.12.1",
"@manypkg/cli": "^0.19.0",
"@microsoft/api-documenter": "^7.13.65",
"@microsoft/api-extractor": "^7.18.17",
"@preconstruct/cli": "^2.1.5",
"@size-limit/preset-big-lib": "^6.0.3",
"@testing-library/dom": "^8.1.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "^13.5.0",
"@types/eslint": "^7.28.2",
"@types/jest": "^27.0.2",
"@types/jest-axe": "^3.5.3",
"@types/ms.macro": "^2.0.0",
"@types/node": "^16.3.3",
"@types/requestidlecallback": "^0.3.4",
"@types/testing-library__jest-dom": "^5.14.1",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"aws-cdk": "^1.129.0",
"babel-jest": "^27.3.1",
"babel-plugin-dev-expression": "^0.2.3",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-inline-svg": "^1.2.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-template-html-minifier": "^4.1.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"bundler.macro": "^0.3.0",
"case-anything": "^1.1.3",
"core-js": "^3.19.0",
"cpy-cli": "^3.1.1",
"cross-env": "^7.0.3",
"delay": "^5.0.0",
"doc-plugin-remirror": "^0.2.1",
"downlevel-dts": "^0.7.0",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-formatter-github": "^1.0.11",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^25.2.2",
"eslint-plugin-jest-formatting": "^3.0.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-lit": "^1.6.1",
"eslint-plugin-lit-a11y": "^2.1.0",
"eslint-plugin-markdown": "^2.2.1",
"eslint-plugin-promise": "^5.1.1",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "4.2.1-alpha-3c4c1c470-20211021",
"eslint-plugin-react-native": "^3.11.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unicorn": "^37.0.1",
"esm": "^3.2.25",
"expect-playwright": "^0.8.0",
"husky": "^7.0.4",
"if-env": "^1.0.4",
"jest": "^27.0.6",
"jest-axe": "^5.0.1",
"jest-circus": "^27.3.1",
"jest-extended": "^1.1.0",
"jest-github-reporter": "^1.0.2",
"jest-playwright-preset": "^1.7.0",
"jest-prosemirror": "^1.0.12",
"jest-remirror": "^1.0.20",
"jest-watch-typeahead": "^1.0.0",
"json.macro": "^1.3.0",
"lint-staged": "^11.2.6",
"ms.macro": "^2.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"patch-package": "github:remirror/patch-package#dist",
"playwright": "^1.16.2",
"playwright-testing-library": "^3.0.1",
"prettier": "^2.3.2",
"prettier-plugin-packagejson": "^2.2.13",
"remirror": "1.0.57",
"rimraf": "^3.0.2",
"size-limit": "^5.0.5",
"snapshot-diff": "^0.9.0",
"testing": "^0.0.4",
"typescript": "^4.4.4",
"typescript-styled-plugin": "^0.18.1"
},
"engines": {
"node": ">=12",
"pnpm": "^6.0.0"
},
"manypkg": {
"defaultBranch": "HEAD"
},
"pnpm": {
"overrides": {
"eslint-plugin-react-hooks": "4.2.1-alpha-3c4c1c470-20211021",
"postcss": ">= 8.0.0"
}
},
"preconstruct": {
"packages": [
"packages/*",
"support/actions",
"support/scripts",
"support/templates/*"
]
},
"renovate": {
"extends": [
"config:base",
":semanticCommitTypeAll(chore)"
],
"lockFileMaintenance": {
"enabled": true,
"extends": "schedule:weekly"
},
"packageRules": [
{
"groupName": "prosemirror packages",
"matchPackagePatterns": [
"@types/prosemirror.*",
"^prosemirror.*"
],
"rangeStrategy": "bump",
"stabilityDays": 0
},
{
"groupName": "dependencies (non-major)",
"excludePackagePatterns": [
".*prosemirror.*"
],
"matchUpdateTypes": [
"patch",
"minor"
],
"extends": "schedule:weekly",
"stabilityDays": 0
}
],
"ignoreDeps": [
"testing"
],
"prCreation": "not-pending",
"stabilityDays": 30,
"rangeStrategy": "replace",
"prConcurrentLimit": 1,
"dependencyDashboard": true
}
}