forked from remirror/remirror
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
284 lines (284 loc) Β· 11.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
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
{
"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": "run-s typecheck api:generate-json api:generate-md",
"api:generate-json": "tsx support/scripts/src/generate-api",
"api:generate-md": "ts-documenter markdown -i ./support/api -o ./docs/api",
"browser:coverage": "browserslist --coverage",
"build": "run-p build:core css:copy",
"build:core": "preconstruct fix && preconstruct build && remirror-cli build",
"build:custom": "pnpm recursive run build:custom",
"build:dev": "preconstruct fix && preconstruct dev",
"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",
"create:package": "node packages/remirror__cli/bin.js create",
"css:copy": "cpy packages/remirror__styles/*.css packages/remirror/styles/",
"css:force": "tsx support/scripts/src/check-styles --force",
"deprecate:all": "tsx support/scripts/src/deprecate-version",
"dev": "preconstruct fix && preconstruct watch",
"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": "NODE_OPTIONS=--experimental-vm-modules 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": "tsx support/scripts/src/check-styles --fix",
"fix:es": "pnpm lint:es -- --fix",
"fix:md": "pnpm lint:md -- --fix",
"fix:prettier": "pnpm run:prettier -- --write",
"fix:repo": "manypkg fix",
"fix:size": "tsx support/scripts/src/generate-configs --size",
"fix:website-examples": "pnpm generate:website-examples",
"generate:docs": "tsx support/scripts/src/generate-docs",
"generate:icons": "tsx support/scripts/src/generate-icons",
"generate:intl": "tsx support/scripts/src/generate-intl",
"generate:ts": "tsx support/scripts/src/generate-configs --ts-packages",
"generate:website-examples": "tsx support/scripts/src/generate-website-examples",
"if-clean": "tsx support/scripts/src/run-if-clean",
"if-config": "tsx support/scripts/src/run-if-config",
"if-not-ci": "tsx support/scripts/src/run-if-not-ci",
"if-publishable": "tsx support/scripts/src/run-if-publishable",
"preinstall": "pnpm symlink:root && pnpm check:pnpm",
"postinstall": "npm-run-all -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": "tsx support/scripts/src/check-styles",
"lint:es": "cross-env FULL_ESLINT_CHECK=true eslint -f unix --ext=.tsx,.ts,.js .",
"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": "tsx support/scripts/src/publish-pr",
"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:beta": "pnpm publish -r --tag beta",
"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": "pnpm remirror-cli build && run-p watch:skip-build storybook:start",
"storybook:build": "pnpm run --filter storybook-react build",
"storybook:start": "pnpm run --filter storybook-react start",
"symlink:root": "node support/scripts/symlink-root.mjs",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --verbose",
"test:build": "cross-env NODE_OPTIONS='--experimental-vm-modules --max_old_space_size=7680' TEST_BUILD=true jest --verbose --coverage=false",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules 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": "tsx support/scripts/src/changeset-forced-update",
"version:changeset": "changeset version",
"postversion:changeset": "tsx support/scripts/src/changeset-forced-update --clean",
"version:ci": "run-s version:changeset version:date fix:repo update:workspace fix:prettier version:lockfile",
"version:date": "tsx support/scripts/src/changelog-dates",
"version:lockfile": "pnpm install --lockfile-only",
"version:pr": "tsx support/scripts/src/enable-pr-changeset",
"watch": "remirror-cli watch",
"watch:skip-build": "remirror-cli watch --skip-build"
},
"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.16.7",
"@babel/register": "^7.15.3",
"@babel/runtime": "^7.13.10",
"@changesets/changelog-github": "^0.4.7",
"@changesets/cli": "^2.25.0",
"@jest/globals": "^28.1.1",
"@jest/types": "^28.1.1",
"@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.14.0",
"@lingui/macro": "^3.14.0",
"@lingui/react": "^3.14.0",
"@manypkg/cli": "^0.19.0",
"@microsoft/api-extractor": "^7.31.1",
"@preconstruct/cli": "^2.1.5",
"@remirror/cli": "1.0.0",
"@size-limit/preset-big-lib": "^7.0.8",
"@swc/core": "^1.2.204",
"@swc/jest": "^0.2.21",
"@testing-library/dom": "^8.13.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^14.1.1",
"@types/eslint": "^7.28.2",
"@types/jest": "^28.1.2",
"@types/jest-axe": "^3.5.4",
"@types/node": "^16.3.3",
"@types/requestidlecallback": "^0.3.4",
"@types/testing-library__jest-dom": "^5.14.4",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"babel-jest": "^28.1.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",
"case-anything": "^2.1.10",
"core-js": "^3.19.1",
"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": "^26.5.3",
"eslint-plugin-jest-formatting": "^3.1.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.29.4",
"eslint-plugin-react-hooks": "4.4.0",
"eslint-plugin-react-native": "^4.0.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": "^28.1.1",
"jest-axe": "^6.0.0",
"jest-circus": "^28.1.1",
"jest-environment-jsdom": "^28.1.1",
"jest-extended": "^2.0.0",
"jest-github-reporter": "^1.0.2",
"jest-playwright-preset": "^1.7.2",
"jest-prosemirror": "^2.0.8",
"jest-remirror": "^2.0.10",
"jest-watch-typeahead": "^1.1.0",
"lint-staged": "^11.2.6",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"playwright": "^1.16.2",
"playwright-testing-library": "^4.2.1",
"prettier": "^2.3.2",
"prettier-plugin-packagejson": "^2.2.13",
"remirror": "2.0.18",
"rimraf": "^3.0.2",
"size-limit": "^7.0.8",
"snapshot-diff": "^0.9.0",
"testing": "^0.0.4",
"ts-documenter": "^0.1.3",
"tsx": "^3.4.2",
"typescript": "~4.7.4",
"typescript-styled-plugin": "^0.18.1"
},
"engines": {
"node": ">=12",
"pnpm": "^6.0.0"
},
"manypkg": {
"defaultBranch": "HEAD"
},
"packageManager": "[email protected]",
"pnpm": {
"overrides": {
"postcss": ">= 8.0.0"
}
},
"preconstruct": {
"packages": [
"support/scripts",
"support/templates/*"
]
},
"renovate": {
"extends": [
"config:base",
":semanticCommitTypeAll(chore)"
],
"lockFileMaintenance": {
"enabled": true,
"extends": "schedule:weekly"
},
"packageRules": [
{
"groupName": "prosemirror packages",
"matchPackagePatterns": [
"^prosemirror.*"
],
"rangeStrategy": "bump",
"stabilityDays": 0
},
{
"groupName": "dependencies (non-major)",
"excludePackagePatterns": [
".*prosemirror.*"
],
"matchUpdateTypes": [
"patch",
"minor"
],
"extends": "schedule:weekly",
"stabilityDays": 0
}
],
"ignoreDeps": [
"testing",
"@remirror/cli"
],
"prCreation": "not-pending",
"stabilityDays": 30,
"rangeStrategy": "replace",
"prConcurrentLimit": 2,
"dependencyDashboard": true
}
}