-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
155 lines (155 loc) · 6.54 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
{
"name": "root",
"private": true,
"homepage": "https://github.com/remirror/template",
"repository": "https://github.com/remirror/template",
"scripts": {
"audit": "pnpm audit --audit-level high",
"build": "preconstruct build",
"build:dev": "preconstruct dev",
"build:docs": "run-s docs:prod",
"changeset": "changeset",
"check:pnpm": "node support/scripts/check-pnpm.mjs",
"checks": "run-s lint typecheck test",
"checks:ci": "run-s lint typecheck",
"checks:disable": "rimraf ./.config.json",
"checks:enable": "cpy support/.config.sample.json ./ --rename=\".config.json\"",
"checks:fix": "run-s -c fix typecheck test",
"checks:release": "run-s checks build",
"clean": "pnpm if-clean git clean -- -fdx --exclude=.config.json --exclude=node_modules --exclude=**/node_modules",
"clean:all": "git clean -fdX --exclude='.config.json'",
"clean:modules": "git clean -fdX packages support",
"docs:dev": "cd website && pnpm start",
"docs:prod": "cd website && pnpm build",
"docs:redirects": "cpy ./website/_redirects ./website/build/_redirects",
"fix": "run-s -c fix:\\*",
"fix:build": "preconstruct fix",
"fix:config": "pnpm generate:ts",
"fix:es": "pnpm lint:es -- --fix",
"fix:prettier": "pnpm run:prettier -- --write",
"fix:repo": "manypkg fix",
"fix:size": "pnpm generate:size",
"generate:size": "pnpm ts support/scripts/generate-configs.ts -- --size",
"generate:ts": "pnpm ts support/scripts/generate-configs.ts -- --ts-packages",
"if-clean": "pnpm ts support/scripts/run-if-clean.ts",
"if-config": "pnpm ts support/scripts/run-if-config.ts",
"if-not-ci": "pnpm ts support/scripts/run-if-not-ci.ts",
"if-publishable": "pnpm ts support/scripts/run-if-publishable.ts",
"preinstall": "pnpm symlink:root && pnpm check:pnpm",
"postinstall": "run-s build:dev",
"is-logged-in": "npm whoami",
"lint": "run-s lint:\\*",
"lint:build": "preconstruct validate",
"lint:es": "FULL_ESLINT_CHECK=true eslint -f codeframe --ext=.tsx,.ts,.js .",
"lint:md": "eslint -f codeframe --ignore-pattern='*.js' --ignore-pattern='*.ts' --ignore-pattern='*.tsx' .",
"lint:prettier": "pnpm run:prettier -- --check",
"lint:repo": "manypkg check",
"refresh": "pnpm clean:all; pnpm symlink:root; pnpm install -r;",
"prerelease": "pnpm if-not-ci run-s checks:release",
"release": "pnpm if-publishable run-s release",
"release:latest": "pnpm publish -r",
"reset": "pnpm clean:all; rm pnpm-lock.yaml; pnpm symlink:root; pnpm i -r;",
"run:prettier": "prettier --ignore-path .eslintignore \"**/*.{js,jsx,ts,tsx,md,mdx,json,html,css,yml,yaml,graphql}\"",
"size": "size-limit",
"storybook": "manypkg run support/storybook storybook",
"symlink:root": "node support/scripts/symlink-root.mjs",
"test": "jest --verbose",
"test:build": "TEST_BUILD=true jest --verbose --coverage=false",
"test:watch": "jest --watch --verbose=false --coverage=false",
"ts": "node -r esm -r ./support/scripts/babel-register.js",
"typecheck": "tsc -b ./tsconfig.json",
"typecheck:force": "tsc -b --force",
"update:deps": "pnpm update --latest --recursive -i",
"update:workspace": "pnpm up -r --workspace",
"preversion:changeset": "pnpm ts support/scripts/changeset-forced-update.ts",
"version:changeset": "changeset version",
"postversion:changeset": "pnpm ts support/scripts/changeset-forced-update.ts -- --clean",
"version:ci": "run-s version:changeset version:date version:repo fix:prettier version:lockfile",
"version:date": "pnpm ts support/scripts/changelog-dates.ts",
"version:lockfile": "CI= pnpm install --frozen-lockfile=false --lockfile-only",
"version:pr": "pnpm ts support/scripts/enable-pr-changeset.ts",
"version:repo": "CI= run-s fix:repo update:workspace",
"watch": "preconstruct watch # not recommended"
},
"browserslist": [
"since 2018"
],
"dependencies": {
"@babel/core": "^7.12.13",
"@babel/parser": "^7.12.15",
"@babel/plugin-proposal-class-properties": "^7.12.13",
"@babel/plugin-proposal-decorators": "^7.12.13",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.13",
"@babel/plugin-proposal-numeric-separator": "^7.12.13",
"@babel/plugin-proposal-object-rest-spread": "^7.12.13",
"@babel/plugin-proposal-optional-chaining": "^7.12.13",
"@babel/plugin-proposal-private-methods": "^7.12.13",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.12.15",
"@babel/plugin-transform-template-literals": "^7.12.13",
"@babel/plugin-transform-typescript": "^7.12.13",
"@babel/preset-env": "^7.12.13",
"@babel/preset-react": "^7.12.13",
"@babel/runtime": "^7.12.13",
"@changesets/cli": "^2.14.1",
"@jest/types": "^26.6.2",
"@manypkg/cli": "^0.17.0",
"@manypkg/get-packages": "^1.1.1",
"@preconstruct/cli": "^2.0.3",
"@size-limit/preset-big-lib": "^4.9.2",
"@testing-library/jest-dom": "^5.11.9",
"@types/eslint": "^7.2.6",
"@types/jest": "^26.0.20",
"@types/jest-axe": "^3.5.1",
"@types/node": "^14.14.25",
"@types/testing-library__jest-dom": "^5.9.5",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"babel-jest": "^26.6.3",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"babel-plugin-dev-expression": "^0.2.2",
"babel-plugin-macros": "^3.0.1",
"cpy-cli": "^3.1.1",
"esbuild": "^0.8.43",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jest-formatting": "^2.0.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-markdown": "^2.0.0-rc.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unicorn": "^27.0.0",
"esm": "^3.2.25",
"husky": "^5.0.9",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"jest-extended": "^0.11.5",
"jest-watch-typeahead": "^0.6.1",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"prettier-plugin-packagejson": "^2.2.9",
"rimraf": "^3.0.2",
"size-limit": "^4.9.2",
"snapshot-diff": "^0.8.1",
"typescript": "^4.1.3",
"typescript-snapshots-plugin": "^1.7.0"
},
"engines": {
"node": ">=14",
"pnpm": "^5.15.0"
},
"manypkg": {
"defaultBranch": "HEAD"
},
"preconstruct": {
"packages": [
"packages/*",
"packages/@*/*"
]
}
}