forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 5.66 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
{
"packageManager": "yarn@1.22.19",
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/eslint-parser": "^7.21.8",
"@babel/eslint-plugin": "^7.19.1",
"@babel/node": "^7.20.7",
"@babel/plugin-transform-typescript": "^7.20.13",
"@babel/runtime": "^7.20.13",
"@lerna/prompt": "3.18.5",
"@types/babel__code-frame": "^7.0.3",
"@types/better-queue": "^3.8.3",
"@types/bluebird": "^3.5.38",
"@types/cache-manager": "^2.10.3",
"@types/common-tags": "^1.8.1",
"@types/fs-extra": "^9.0.13",
"@types/jaeger-client": "^3.18.4",
"@types/jest": "^29.5.2",
"@types/joi": "^14.3.4",
"@types/lodash": "^4.14.195",
"@types/node": "^12.20.55",
"@types/node-fetch": "^2.6.4",
"@types/normalize-path": "^3.0.0",
"@types/react": "^18.2.14",
"@types/semver": "^7.5.0",
"@types/signal-exit": "^3.0.1",
"@types/stack-trace": "^0.0.30",
"@types/webpack-merge": "^4.1.5",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"babel-jest": "^29.5.0",
"chalk": "^4.1.2",
"chokidar": "^3.5.3",
"cross-env": "^7.0.3",
"danger": "^10.9.0",
"date-fns": "^1.30.1",
"dictionary-en": "^3.2.0",
"eslint": "^8.43.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"fs-extra": "^11.2.0",
"glob": "^7.2.3",
"husky": "3.1.0",
"ignore": "^5.2.4",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-extended": "^3.2.4",
"jest-junit": "^15.0.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.1",
"npm-packlist": "^2.2.2",
"npm-run-all": "4.1.5",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"typescript": "^5.1.6",
"unified": "^9.2.2",
"yargs": "^15.4.1"
},
"engines": {
"yarn": "^1.17.3",
"node": ">=18.0.0",
"npm": ">=8.0.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"
},
"private": true,
"scripts": {
"bootstrap": "cross-env COMPILER_OPTIONS=\"GATSBY_MAJOR=5\" npm-run-all -s \"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",
"format:code": "npm run lint:code -- --fix",
"format:other": "npm run prettier -- --write",
"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 --ignore gatsby-core-utils",
"lint": "npm-run-all --continue-on-error -p lint:code lint:other",
"lint:code": "eslint --ext .js,.jsx,.ts,.tsx --quiet .",
"lint:other": "npm run prettier -- --check",
"markdown": "md-magic --path \"starters/**/README.md\"",
"postmarkdown": "prettier --write \"starters/**/README.md\"",
"prebootstrap": "yarn && npm run check-versions && cross-env COMPILER_OPTIONS=\"GATSBY_MAJOR=5\" lerna run prepare --scope gatsby-core-utils",
"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=5\" 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 --npm-path npm -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",
"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/*"
],
"resolutions": {
"@babel/plugin-transform-modules-commonjs": "7.18.6"
}
}