forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
156 lines (156 loc) · 6.47 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
{
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/eslint-parser": "^7.15.4",
"@babel/eslint-plugin": "^7.14.0",
"@babel/node": "^7.15.4",
"@babel/plugin-transform-typescript": "^7.15.4",
"@babel/runtime": "^7.15.4",
"@lerna/prompt": "3.18.5",
"@types/babel__code-frame": "^7.0.2",
"@types/better-queue": "^3.8.2",
"@types/bluebird": "^3.5.35",
"@types/cache-manager": "^2.10.3",
"@types/common-tags": "^1.8.0",
"@types/fs-extra": "^9.0.13",
"@types/jaeger-client": "^3.18.0",
"@types/jest": "^27.0.2",
"@types/joi": "^14.3.4",
"@types/lodash": "^4.14.170",
"@types/node": "^12.20.6",
"@types/node-fetch": "^2.5.10",
"@types/normalize-path": "^3.0.0",
"@types/react": "^16.14.8",
"@types/semver": "^7.3.9",
"@types/signal-exit": "^3.0.0",
"@types/stack-trace": "^0.0.29",
"@types/webpack-merge": "^4.1.5",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"babel-jest": "^27.2.1",
"chalk": "^4.1.2",
"chokidar": "^3.5.2",
"cross-env": "^7.0.3",
"danger": "^10.6.4",
"date-fns": "^1.30.1",
"dictionary-en": "^3.1.0",
"eslint": "^7.32.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-flowtype": "^6.1.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"fs-extra": "^10.0.0",
"glob": "^7.1.7",
"husky": "3.1.0",
"ignore": "^5.1.8",
"jest": "^27.4.4",
"jest-extended": "^0.11.5",
"jest-junit": "^12.2.0",
"jest-serializer-path": "^0.1.15",
"jest-silent-reporter": "^0.5.0",
"joi": "^14.3.1",
"js-yaml": "^3.14.1",
"lerna": "^3.22.1",
"lint-staged": "^10.5.4",
"markdown-magic": "^0.2.1",
"node-notifier": "^10.0.0",
"npm-packlist": "^2.1.5",
"npm-run-all": "4.1.5",
"plop": "^1.9.1",
"prettier": "^2.6.1",
"remark": "^13.0.0",
"remark-cli": "^9.0.0",
"remark-frontmatter": "^3.0.0",
"remark-lint": "^8.0.0",
"remark-lint-first-heading-level": "^2.0.1",
"remark-lint-no-duplicate-headings-in-section": "^2.0.2",
"remark-lint-no-reference-like-url": "^2.0.1",
"remark-preset-lint-markdown-style-guide": "^4.0.0",
"remark-preset-lint-recommended": "^5.0.0",
"remark-retext": "^4.0.0",
"retext": "^7.0.1",
"retext-diacritics": "^3.0.0",
"retext-emoji": "^7.0.2",
"retext-english": "^3.0.4",
"retext-indefinite-article": "^2.0.1",
"retext-redundant-acronyms": "^3.0.0",
"retext-sentence-spacing": "^4.0.0",
"retext-spell": "^4.0.0",
"retext-syntax-mentions": "^2.1.1",
"retext-syntax-urls": "^2.0.0",
"rimraf": "^3.0.2",
"svgo": "1.3.2",
"typescript": "^4.5.5",
"unified": "^9.2.0",
"yargs": "^15.4.1"
},
"engines": {
"yarn": "^1.17.3",
"node": ">=12.13.0"
},
"eslintIgnore": [
"interfaces",
"**/__tests__/fixtures/"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged || node scripts/on-lint-error.js"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --ext .js,.jsx,.ts,.tsx --fix",
"*.{md,css,scss,yaml,yml}": "prettier --write",
"*.svg": "svgo --pretty --indent=2 --config=svgo.yml --multipass"
},
"private": true,
"scripts": {
"bootstrap": "cross-env COMPILER_OPTIONS=\"GATSBY_MAJOR=4\" npm-run-all -s check-versions \"lerna-prepare -- --{@}\" --",
"check-repo-fields": "node scripts/check-repo-fields.js",
"check-versions": "node scripts/check-versions.js",
"format": "npm run format:code && npm run format:other && npm run format:svg",
"format:code": "npm run lint:code -- --fix",
"format:other": "npm run prettier -- --write",
"format:svg": "node scripts/format-svg.js",
"hooks:install": "node node_modules/husky/husky.js install",
"hooks:uninstall": "node node_modules/husky/husky.js uninstall",
"jest": "jest",
"jest:inspect": "node --inspect node_modules/.bin/jest --runInBand",
"jest:inspect-brk": "node --inspect-brk node_modules/.bin/jest --runInBand",
"lerna": "lerna",
"lerna-prepare": "lerna run prepare",
"lint": "npm-run-all --continue-on-error -p lint:code lint:docs lint:other",
"lint:code": "eslint --ext .js,.jsx,.ts,.tsx --quiet .",
"lint:docs": "remark docs/{contributing,docs,tutorial}",
"lint:other": "npm run prettier -- --check",
"lint:scripts": "sh scripts/lint-shell-scripts.sh",
"markdown": "md-magic --path \"starters/**/*.md\"",
"plop": "plop",
"postmarkdown": "prettier --write \"starters/**/*.md\"",
"prebootstrap": "yarn",
"prettier": "prettier \"**/*.{md,css,scss,yaml,yml}\"",
"publish": "echo \"Use 'yarn publish-next' or 'yarn publish-release' instead of 'yarn run publish'\"",
"publish-canary": "node scripts/check-publish-access && lerna publish --canary --yes",
"publish-next": "node scripts/check-publish-access && node scripts/clear-package-dir prerelease --verbose && cross-env COMPILER_OPTIONS=\"GATSBY_MAJOR=4\" lerna publish prerelease --pre-dist-tag=next --preid=next --allow-branch=master --message=\"chore(release): Publish next\"",
"publish-preminor": "node scripts/check-publish-access && node scripts/clear-package-dir preminor --verbose && lerna publish preminor --pre-dist-tag=next --preid=next --force-publish --allow-branch=master --message=\"chore(release): Publish next pre-minor\"",
"publish-rc": "node scripts/check-publish-access && node scripts/clear-package-dir prerelease --verbose && lerna publish prerelease --pre-dist-tag=rc --preid=rc --message=\"chore(release): Publish rc\"",
"publish-release": "node scripts/check-publish-access && node scripts/clear-package-dir patch --verbose && lerna publish patch",
"publish-premajor": "node scripts/release-next-major.js publish",
"test": "npm-run-all -s lint jest test:peril",
"test:coverage": "jest --coverage",
"test:integration": "jest --config=integration-tests/jest.config.js",
"test:peril": "cd peril && yarn test",
"test:update": "jest --updateSnapshot",
"test:watch": "jest --watch",
"typecheck": "node ./scripts/check-ts",
"update-dictionary": "node ./scripts/update-dictionary.js",
"version": "node ./scripts/gatsby-changelog-generator/lerna-version-lifecycle.js && prettier --write \"**/CHANGELOG.md\"",
"watch": "lerna run watch --no-sort --stream --concurrency 999"
},
"workspaces": [
"packages/*"
]
}