forked from keystonejs/keystone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
208 lines (208 loc) · 7.42 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
{
"name": "@keystonejs/mono-repo",
"description": "KeystoneJS monorepo for all the @keystonejs / @arch-ui (and more) packages. Powered by Yarn.",
"private": true,
"version": "4.0.0",
"author": "The KeystoneJS Development Team",
"license": "MIT",
"scripts": {
"dev": "yarn demo todo dev",
"demo": "yarn --cwd ./demo-projects",
"website": "yarn --cwd ./website",
"arch-docs": "yarn --cwd ./packages/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",
"format:file": "prettier --write",
"format": "prettier --write \"**/*.js{,on}\" \"**/*.md\" && remark . --output",
"fresh": "yarn clean && yarn",
"clean": "manypkg exec rimraf node_modules website/.cache && rimraf node_modules",
"lint:eslint": "eslint .",
"lint:prettier": "prettier --list-different \"**/*.js\"",
"lint:flow": "flow check",
"lint:markdown": "remark . --frail --quiet",
"lint": "yarn lint:prettier && yarn lint:eslint && yarn lint:flow && yarn lint:markdown",
"test": "yarn lint && yarn test:unit && yarn cypress:run",
"test:unit": "cross-env DISABLE_LOGGING=true NODE_ENV=test jest --maxWorkers=1",
"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",
"build:build-field-types": "rimraf packages/build-field-types/lib && babel packages/build-field-types/src --out-dir packages/build-field-types/dist --ignore '**/__tests__/**/*','**/__mocks__/**/*'",
"build": "preconstruct build && yarn workspace @keystonejs/build-field-types build && node ./packages/build-field-types/bin.js build",
"prepare": "manypkg check && yarn build:build-field-types && preconstruct dev && node ./packages/build-field-types/bin.js 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/master/CONTRIBUTING.md\"",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"heroku-postbuild": "yarn build && yarn workspace @keystonejs/demo-project-blog build"
},
"dependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/helper-module-imports": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@changesets/changelog-github": "^0.1.1",
"@changesets/cli": "^2.3.3",
"@manypkg/cli": "^0.7.0",
"all-contributors-cli": "^6.2.0",
"apollo-client": "^2.6.4",
"babel-eslint": "^10.0.1",
"babel-plugin-emotion": "^10.0.14",
"chalk": "^2.4.2",
"chalk-cli": "^4.1.0",
"cross-env": "^5.2.0",
"cypress": "^3.5.0",
"dotenv": "^8.0.0",
"dotenv-safe": "^8.1.0",
"endent": "^1.3.0",
"eslint": "^6.0.1",
"eslint-plugin-cypress": "^2.6.0",
"eslint-plugin-emotion": "^10.0.14",
"eslint-plugin-flowtype": "^3.11.1",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jest": "^22.9.0",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react-hooks": "^1.6.1",
"express": "^4.17.1",
"falsey": "^1.0.0",
"flow-bin": "0.110.1",
"graphql": "^14.4.2",
"immutable": "^3.8.1",
"is-ci": "^2.0.0",
"jest": "^24.9.0",
"jest-haste-map": "^24.9.0",
"jest-junit": "^9.0.0",
"jest-resolve": "^24.9.0",
"kleur": "^3.0.3",
"knex": "^0.20.1",
"luxon": "^1.11.4",
"magic-string": "^0.25.1",
"mdast-util-to-string": "^1.0.6",
"memoize-one": "^5.1.1",
"meow": "^5.0.0",
"mjml": "^4.3.1",
"mjml-react": "^1.0.55",
"mkdirp": "^0.5.1",
"mocha": "^5.2.0",
"mocha-junit-reporter": "^1.21.0",
"mocha-multi-reporters": "^1.1.7",
"moment": "^2.24.0",
"mongodb": "^3.3.3",
"p-is-promise": "^3.0.0",
"pino-colada": "^1.4.5",
"preconstruct": "^0.3.2",
"prettier": "^1.18.2",
"prop-types": "^15.7.2",
"pug": "2.0.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"rehype-highlight": "^3.0.0",
"rehype-slug": "^2.0.3",
"remark-cli": "^6.0.1",
"remark-frontmatter": "^1.3.1",
"remark-toc": "^5.1.1",
"rimraf": "^3.0.0",
"split": "^1.0.1",
"stack-utils": "^1.0.2",
"start-server-and-test": "^1.10.6",
"supertest-light": "^1.0.2",
"terminal-link": "^1.3.0",
"terminal-link-cli": "^2.0.0",
"terser": "^3.14.1",
"testcheck": "^1.0.0-rc.2",
"tinymce": "^5.0.3",
"tmp": "^0.1.0",
"to-pascal-case": "^1.0.0",
"underscore.string": "^3.3.5",
"unist-util-visit": "^1.4.0",
"unsplash-js": "^5.0.0",
"uuid": "^3.3.2",
"webpack": "4.28.4"
},
"prettier": {
"proseWrap": "preserve",
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 100
},
"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/*",
"demo-projects/*",
"test-projects/*",
"api-tests",
"benchmarks",
"website",
"packages/create-keystone-app/example-projects/*",
"projects/*"
],
"nohoist": [
"**/mocha-multi-reporters"
]
},
"preconstruct": {
"packages": [
"packages/arch/packages/*",
"packages/apollo-helpers",
"packages/utils"
]
},
"field-types": {
"packages": [
"packages/field-content",
"packages/fields",
"packages/fields-auto-increment",
"packages/fields-datetime-utc",
"packages/fields-markdown",
"packages/fields-mongoid",
"packages/fields-wysiwyg-tinymce",
"packages/oembed-adapters"
]
},
"jest": {
"setupFilesAfterEnv": [
"./jest/setup.js"
],
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/website/.cache"
],
"collectCoverageFrom": [
"packages/**/*.js",
"!packages/**/dist/**",
"!packages/apollo-helpers/**",
"!packages/app-admin-ui/client/**",
"!packages/arch/**",
"!packages/create-keystone-app/templates/**",
"!packages/core/tests/default-entry/index.js",
"!packages/fields/**/views/**",
"!packages/fields/**/filterTests.js",
"!packages/fields/types.js",
"!packages/mongo-join-builder/examples/**"
]
}
}