forked from udecode/plate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
177 lines (177 loc) · 7.57 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
{
"private": true,
"license": "MIT",
"scripts": {
"check:install": "yarn dlx @yarnpkg/doctor@4.0.0-rc.10 --configFileName config/.ncurc.yml packages",
"deps:check": "yarn dlx npm-check-updates@latest --configFileName config/.ncurc.yml --deep --mergeConfig",
"deps:update": "deps:check -u",
"docs:build": "cd docs && yarn && yarn build",
"docs:start": "cd docs && yarn && yarn start",
"g:brl": "yarn g:brl:above && yarn g:brl:below",
"g:brl:above": "yarn workspaces foreach -ptv --no-private --exclude='*/{plate,plate-ui,plate-headless}' run p:brl",
"g:brl:below": "yarn workspaces foreach -ptv --no-private --include='*/{plate,plate-ui,plate-headless}' run p:brl:below",
"g:build": "yarn workspaces foreach -ptv --no-private run p:build ",
"g:build-changed": "yarn workspaces foreach -ptv --no-private --since=origin/main run p:build",
"g:changeset": "changeset",
"g:clean": "rimraf '.cache/*' && yarn workspaces foreach -ptv run p:clean",
"gen:code": "rimraf docs/docs/sandpack/files && yarn plop --plopfile scripts/plop/plopfile.js sandpack",
"gen:package": "yarn plop --plopfile scripts/plop/plopfile.js package",
"gen:v": "yarn plop --plopfile scripts/plop/plopfile.js version",
"g:dev": "yarn workspace examples-next dev",
"g:lint": "yarn workspaces foreach -ptv --no-private run p:lint --color",
"g:lint-changed": "yarn workspaces foreach -ptv --no-private --since=origin/main --recursive run p:lint --color",
"g:lint:all": "eslint packages/**/src --ext .js,.jsx,.ts,.tsx --cache --cache-location .cache/eslint/core-lib.eslintcache --color",
"g:prerelease": "yarn g:build && yarn g:test:root && yarn g:lint",
"g:rebuild": "rimraf packages/**/dist && yarn g:build",
"g:release:next": "yarn g:prerelease && yarn changeset publish --tag next",
"g:test": "yarn workspaces foreach -ptv --no-private run p:test",
"g:test-changed": "yarn workspaces foreach -ptv --no-private --since=origin/main --recursive run p:test",
"g:test:root": "jest",
"g:test:cov": "yarn g:test --coverage",
"g:test:covw": "yarn g:test:cov --watch",
"g:test:covwa": "yarn g:test:cov --watchAll",
"g:test:w": "yarn g:test --watch",
"g:test:wa": "yarn g:test --watchAll",
"g:typecheck": "yarn workspaces foreach -ptv --no-private run p:typecheck",
"g:typecheck-changed": "yarn workspaces foreach -ptv --no-private --from '@udecode/plate*' --since=origin/main --recursive run p:typecheck",
"nuke:node_modules": "rimraf '**/node_modules'",
"p:brl": "cd $INIT_CWD && barrelsby -d src -D -l all -q -e '.*(fixture|template|spec|__tests__).*'",
"p:brl:below": "cd $INIT_CWD && barrelsby -d src -D -l below -q -e '.*(fixture|template|spec|__tests__).*'",
"p:build": "cd $INIT_CWD && tsc && yarn p:rollup",
"p:build:w": "cd $INIT_CWD && yarn p:rollup -w",
"p:clean": "cd $INIT_CWD && rimraf dist && jest --clear-cache",
"p:lint": "cd $INIT_CWD && eslint src --ext .ts,.tsx --cache --cache-location ${PROJECT_CWD}/.cache/eslint/core-lib.eslintcache --color",
"p:rebuild": "cd $INIT_CWD && rimraf dist && yarn p:build",
"p:rollup": "cd $INIT_CWD && rollup -c=${PROJECT_CWD}/config/rollup.config.js",
"p:test": "cd $INIT_CWD && jest --config=${PROJECT_CWD}/jest.config.js --passWithNoTests $INIT_CWD ",
"p:typecheck": "cd $INIT_CWD && tsc --noEmit --emitDeclarationOnly false",
"postinstall": "patch-package",
"typedoc": "npx typedoc --tsconfig packages/plate/tsconfig.json --options config/typedoc.json"
},
"workspaces": [
"packages/**",
"examples",
"examples/apps/**"
],
"resolutions": {
"@types/react": "17.0.47",
"@types/react-dom": "17.0.17",
"eslint-plugin-prettier": "3.3.1",
"prettier": "2.2.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"terser": "4.8.0"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.17.10",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-transform-react-jsx": "^7.17.3",
"@babel/preset-env": "^7.17.10",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@changesets/cli": "^2.22.0",
"@changesets/get-github-info": "^0.5.0",
"@changesets/parse": "^0.3.13",
"@changesets/types": "^5.0.0",
"@react-hook/merged-ref": "^1.3.2",
"@styled-icons/boxicons-regular": "^10.38.0",
"@styled-icons/foundation": "^10.34.0",
"@styled-icons/material": "^10.34.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^13.5.0",
"@types/is-hotkey": "^0.1.7",
"@types/jest": "^27.5.0",
"@types/lodash": "^4.14.182",
"@types/marked": "^4.0.3",
"@types/node": "^17.0.31",
"@types/prismjs": "^1.26.0",
"@types/react": "17.0.47",
"@types/react-dom": "17.0.17",
"@types/styled-components": "5.1.9",
"@types/validator": "^13.7.2",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"app-root-path": "^3.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.5",
"babel-plugin-import": "^1.13.5",
"babel-plugin-inline-json-import": "^0.3.2",
"babel-plugin-macros": "3.1.0",
"babel-plugin-prismjs": "^2.1.0",
"babel-plugin-styled-components": "^2.0.7",
"babel-plugin-twin": "^1.0.2",
"barrelsby": "^2.3.4",
"change-case": "^4.1.2",
"concurrently": "^7.1.0",
"cross-env": "^7.0.3",
"dotenv": "^16.0.1",
"eslint": "7.20.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-prettier": "^8.0.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-mdx": "^1.17.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"jest": "^26.6.3",
"lerna": "^4.0.0",
"patch-package": "^6.4.7",
"plop": "3.1.1",
"prettier": "^2.6.2",
"react": "17.0.2",
"react-dnd": "^15.1.2",
"react-dnd-html5-backend": "^15.1.3",
"react-dnd-test-backend": "^15.1.2",
"react-dom": "17.0.2",
"react-is": "17.0.2",
"react-test-renderer": "17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.72.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-includepaths": "^0.2.4",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"slate": "0.78.0",
"slate-history": "0.66.0",
"slate-hyperscript": "0.77.0",
"slate-react": "0.79.0",
"slate-test-utils": "1.3.2",
"styled-components": "5.3.3",
"tailwindcss": "^3.0.24",
"ts-jest": "^26.5.6",
"twin.macro": "2.8.2",
"typedoc": "^0.21.0-beta.2",
"typescript": "4.6.4"
},
"engines": {
"node": "^14.13.1 || >=16.0.0",
"npm": "please-use-yarn",
"yarn": ">=1.22.0"
},
"babelMacros": {
"twin": {
"config": "./docs/config/tailwind.config.js",
"preset": "styled-components"
}
},
"packageManager": "yarn@4.0.0-rc.10"
}