forked from keystonejs/keystone-5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
221 lines (221 loc) · 8.29 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
{
"name": "@keystonejs/mono-repo",
"description": "KeystoneJS monorepo for all the @keystonejs / @arch-ui (and more) packages. Powered by Yarn.",
"private": true,
"version": "0.0.0",
"author": "The KeystoneJS Development Team",
"license": "MIT",
"repository": "https://github.com/keystonejs/keystone-5",
"homepage": "https://github.com/keystonejs/keystone-5",
"scripts": {
"prisma": "prisma",
"dev": "yarn demo todo dev",
"demo": "yarn --cwd ./examples",
"website": "manypkg run @keystonejs/website",
"arch-docs": "manypkg run arch/docs",
"coverage": "cross-env DISABLE_LOGGING=true NODE_ENV=test jest --maxWorkers=1 --coverage",
"cypress:run": "status=0; yarn workspace @keystonejs/cypress-project-basic run cypress:run || status=$?; yarn workspace @keystonejs/cypress-project-login run cypress:run || status=$?; yarn workspace @keystonejs/cypress-project-twitter-login run cypress:run || status=$?; yarn workspace @keystonejs/cypress-project-access-control run cypress:run || status=$?; yarn workspace @keystonejs/cypress-project-client-validation run cypress:run || status=$?; exit $status",
"cypress:open": "status=0; yarn workspace @keystonejs/cypress-project-basic run cypress:open || status=$?; yarn workspace @keystonejs/cypress-project-login run cypress:open || status=$?; yarn workspace @keystonejs/cypress-project-twitter-login run cypress:open || status=$?; yarn workspace @keystonejs/cypress-project-access-control run cypress:open || status=$?; yarn workspace @keystonejs/cypress-project-client-validation run cypress:open || status=$?; exit $status",
"format:file": "prettier --write",
"format": "prettier --write \"**/*.{js,json,ts,tsx,md}\" && remark . --output",
"fresh": "yarn clean && yarn",
"clean": "rimraf \"**/cypress/{screenshots,videos,reports}\" \"**/node_modules\" \"**/yarn-error.log\" \"**/out.log\" \"**/.DS_Store\" \"**/website/.cache\" \"**/dist\"",
"lint:eslint": "eslint . --ext ts,tsx,js",
"lint:prettier": "prettier --list-different \"**/*.{js,json,ts,tsx}\"",
"lint:markdown": "remark . --frail --quiet",
"lint:types": "tsc",
"lint": "yarn lint:prettier && yarn lint:eslint && yarn lint:markdown && yarn lint:types",
"test": "yarn lint && yarn test:unit && yarn cypress:run",
"test:unit": "cross-env DISABLE_LOGGING=true NODE_ENV=test jest --no-watchman --maxWorkers=1 --logHeapUsage",
"test:unit:debug": "cross-env NODE_ENV=test node --inspect-brk `which jest` --runInBand",
"benchmark": "yarn workspace @keystonejs/benchmarks go",
"changeset": "changeset",
"publish-changed": "yarn build && changeset publish --public",
"version-packages": "changeset version && node .github/write-release-count.js",
"build": "preconstruct build",
"prepare": "manypkg check && preconstruct dev && yarn run --silent contributing-guide",
"contributing-guide": "is-ci && exit 0 || chalk -t \"{bold 📝 Contributing to KeystoneJS?}\" && link \"🔗 Read the full Contributing Guide\" \"https://github.com/keystonejs/keystone-5/blob/main/CONTRIBUTING.md\"",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"heroku-postbuild": "yarn build && yarn workspace @keystonejs/demo-project-blog build",
"npm-tag": "manypkg npm-tag",
"update": "manypkg upgrade",
"no-cypress-install": "cross-env CYPRESS_INSTALL_BINARY=0 yarn"
},
"dependencies": {
"@babel/core": "^7.14.6",
"@babel/helper-module-imports": "^7.14.5",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.5",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.16.0",
"@jest/test-sequencer": "^26.6.3",
"@manypkg/cli": "^0.18.0",
"@preconstruct/cli": "2.1.0",
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"all-contributors-cli": "^6.20.0",
"autoprefixer": "^10.2.6",
"babel-plugin-emotion": "^10.2.2",
"chalk": "^4.1.1",
"chalk-cli": "^4.1.0",
"cross-env": "^7.0.3",
"cypress": "^5.6.0",
"cypress-multi-reporters": "^1.5.0",
"dotenv": "^8.6.0",
"dotenv-safe": "^8.2.0",
"endent": "^2.1.0",
"eslint": "^7.29.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^24.7.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"falsey": "^1.0.0",
"is-ci": "^2.0.0",
"jest": "^26.6.3",
"jest-haste-map": "^26.6.2",
"jest-junit": "^12.2.0",
"jest-resolve": "^26.6.2",
"knex": "^0.95.6",
"luxon": "^1.27.0",
"mdast-util-to-string": "^2.0.0",
"memoize-one": "^5.2.1",
"mocha": "^8.4.0",
"mocha-junit-reporter": "^2.0.0",
"mongodb": "^3.6.9",
"p-is-promise": "^3.0.0",
"pino-colada": "^2.2.0",
"postcss": "^8.3.4",
"prettier": "^2.4.0",
"rehype-highlight": "^4.1.0",
"remark-cli": "^6.0.1",
"remark-frontmatter": "^1.3.3",
"remark-toc": "^5.1.1",
"rimraf": "^3.0.2",
"split": "^1.0.1",
"stack-utils": "^2.0.3",
"start-server-and-test": "^1.12.5",
"supertest-light": "^1.0.3",
"tailwindcss": "^2.1.4",
"terminal-link": "^2.1.1",
"terminal-link-cli": "^2.0.0",
"testcheck": "^1.0.0-rc.2",
"tinymce": "^5.8.1",
"tmp": "^0.2.1",
"to-pascal-case": "^1.0.0",
"typescript": "^4.1.5",
"unist-util-visit": "^2.0.3",
"unsplash-js": "^6.3.0",
"webpack": "4.46.0"
},
"prettier": {
"proseWrap": "preserve",
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 100,
"arrowParens": "avoid"
},
"remarkConfig": {
"settings": {
"commonmark": true,
"fences": true,
"listItemIndent": "1",
"rule": "-",
"ruleSpaces": false
},
"plugins": [
"remark-frontmatter",
"remark-toc"
]
},
"workspaces": {
"packages": [
"packages/*",
"!packages/arch",
"packages/arch/docs",
"packages/arch/packages/*",
"tests/test-projects/*",
"tests/api-tests",
"tests/benchmarks",
"examples/*",
"website",
"packages/create-keystone-5-app/example-projects/*",
"projects/*"
],
"nohoist": [
"**/cypress-multi-reporters"
]
},
"manypkg": {
"defaultBranch": "main"
},
"preconstruct": {
"packages": [
"packages/arch/packages/*",
"packages/access-control",
"packages/apollo-helpers",
"packages/app-version",
"packages/session",
"packages/test-utils",
"packages/utils",
"packages/fields-authed-relationship",
"packages/fields-auto-increment",
"packages/fields-oembed",
"packages/fields-unsplash",
"packages/fields-cloudinary-image",
"packages/fields-markdown",
"packages/fields-mongoid",
"packages/fields-location-google",
"packages/fields-wysiwyg-tinymce",
"packages/fields-content",
"packages/fields-color",
"packages/fields"
],
"distFilenameStrategy": "unscoped-package-name"
},
"jest": {
"setupFilesAfterEnv": [
"./tests/jest/setup.js"
],
"testSequencer": "./tests/jest/jest-sequencer.js",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/website/.cache"
],
"transformIgnorePatterns": [
"/node_modules/",
"\\.pnp\\.[^\\/]+$",
".api-test-prisma-clients/"
],
"collectCoverageFrom": [
"packages/**/*.js",
"!packages/**/dist/**",
"!packages/apollo-helpers/**",
"!packages/app-admin-ui/client/**",
"!packages/arch/**",
"!packages/create-keystone-5-app/templates/**",
"!packages/core/tests/default-entry/index.js",
"!packages/fields/**/views/**",
"!packages/fields/**/test-fixtures.js",
"!packages/fields/types.js"
]
},
"resolutions": {
"babel-plugin-remove-graphql-queries": "2.7.2",
"gatsby-cli": "2.7.15",
"gatsby-link": "2.2.2",
"gatsby-plugin-page-creator": "2.1.5"
},
"engines": {
"node": ">=10.0.0"
}
}