forked from Automattic/jetpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 9.92 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
{
"name": "Jetpack_Monorepo",
"private": true,
"description": "[Jetpack](https://jetpack.com/) is a set of WordPress plugins that supercharges your self-hosted WordPress site with the awesome cloud power of [WordPress.com](https://wordpress.com).",
"homepage": "https://jetpack.com",
"bugs": {
"url": "https://github.com/Automattic/jetpack/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Automattic/jetpack.git"
},
"license": "GPL-2.0-or-later",
"author": "Automattic",
"scripts": {
"build": "printf '\\e[30;43m`pnpm run build` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; pnpm run install-if-deps-outdated && jetpack build packages && jetpack build plugins/jetpack",
"build-concurrently": "printf '\\e[30;43m`pnpm run build-concurrently` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; pnpm run install-if-deps-outdated && jetpack build packages && jetpack build plugins/jetpack",
"build-jetpack": "printf '\\e[30;43m`pnpm run build-jetpack` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack build plugins/jetpack",
"build-jetpack-concurrently": "printf '\\e[30;43m`pnpm run build-jetpack-concurrently` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack build plugins/jetpack",
"build-packages": "printf '\\e[30;43m`pnpm run build-packages` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack build packages",
"build-php": "printf '\\e[30;43m`pnpm run build-php` is deprecated. Use composer or the Jetpack CLI instead.\\e[0m\\n'; composer install --ignore-platform-reqs",
"build-production": "printf '\\e[30;43m`pnpm run build-production` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; pnpm run install-if-deps-outdated && jetpack build --production packages && jetpack build --production plugins/jetpack",
"build-production-concurrently": "printf '\\e[30;43m`pnpm run build-production-concurrently` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; pnpm run install-if-deps-outdated && jetpack build --production packages && jetpack build --production plugins/jetpack",
"build-production-jetpack": "printf '\\e[30;43m`pnpm run build-production-jetpack` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack build --production plugins/jetpack",
"build-production-jetpack-concurrently": "printf '\\e[30;43m`pnpm run build-production-jetpack-concurrently` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack build --production plugins/jetpack",
"build-production-packages": "printf '\\e[30;43m`pnpm run build-production-packages` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack build --production packages",
"build-production-php": "printf '\\e[30;43m`pnpm run build-production-php` is deprecated. Use composer or the Jetpack CLI instead.\\e[0m\\n'; composer install --ignore-platform-reqs",
"clean": "printf '\\e[30;43m`pnpm run clean` is deprecated. You probably want to run that in projects/plugins/jetpack instead.\\e[0m\\n'; cd projects/plugins/jetpack && pnpm run clean",
"clean-composer": "printf '\\e[30;43m`pnpm run clean-composer` is deprecated and no longer does anything.\\e[0m\\n'",
"clean-jetpack": "printf '\\e[30;43m`pnpm run clean-jetpack` is deprecated. You probably want to run `pnpm clean` in projects/plugins/jetpack instead.\\e[0m\\n'; cd projects/plugins/jetpack && pnpm run clean",
"cli-install": "printf '\\e[30;43m`pnpm run cli-install` is deprecated and no longer necessary. Just do `pnpm install`.\\e[0m\\n'; pnpm install",
"cli-link": "jetpack cli link",
"cli-setup": "pnpm install && jetpack cli link",
"cli-unlink": "jetpack cli unlink",
"distclean": "printf '\\e[30;43m`pnpm run distclean` is deprecated.\\e[0m\\n'; rm -rf node_modules vendor && cd projects/plugins/jetpack && pnpm run distclean",
"distclean-jetpack": "printf '\\e[30;43m`pnpm run distclean-jetpack` is deprecated.\\e[0m\\n'; cd projects/plugins/jetpack && pnpm run distclean",
"docker:build": "printf '\\e[30;43m`pnpm run docker:build` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker build",
"docker:build-image": "printf '\\e[30;43m`pnpm run docker:build-image` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker build-image",
"docker:clean": "printf '\\e[30;43m`pnpm run docker:clean` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker clean",
"docker:compose": "printf '\\e[30;43m`pnpm run docker:compose` is deprecated. Now it is integrated into relevant Jetpack CLI commands.\\e[0m\\n';",
"docker:compose-extras": "printf '\\e[30;43m`pnpm run docker:compose-extras` is deprecated. Now it is integrated into relevant Jetpack CLI commands\\e[0m\\n';",
"docker:compose-volumes": "printf '\\e[30;43m`pnpm run docker:compose-volumes` is deprecated. Now it is integrated into relevant Jetpack CLI commands\\e[0m\\n';",
"docker:db": "printf '\\e[30;43m`pnpm run docker:db` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker db",
"docker:down": "printf '\\e[30;43m`pnpm run docker:down` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker down",
"docker:env": "printf '\\e[30;43m`pnpm run docker:env` is deprecated. Now it is integrated into relevant Jetpack CLI commands.\\e[0m\\n';",
"docker:install": "printf '\\e[30;43m`pnpm run docker:install` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker install",
"docker:jt-config": "printf '\\e[30;43m`pnpm run docker:jt-config` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker jt-config",
"docker:jt-down": "printf '\\e[30;43m`pnpm run docker:jt-down` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker jt-down",
"docker:jt-up": "printf '\\e[30;43m`pnpm run docker:jt-up` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker jt-up",
"docker:multisite-convert": "printf '\\e[30;43m`pnpm run docker:multisite-convert` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker multisite-convert",
"docker:ngrok-down": "printf '\\e[30;43m`pnpm run docker:ngrok-down` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker down --ngrok",
"docker:ngrok-up": "printf '\\e[30;43m`pnpm run docker:ngrok-up` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker up --ngrok",
"docker:phpunit": "printf '\\e[30;43m`pnpm run docker:phpunit` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker phpunit",
"docker:phpunit:multisite": "printf '\\e[30;43m`pnpm run docker:phpunit:multisite` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker phpunit-multisite",
"docker:run-extras": "printf '\\e[30;43m`pnpm run docker:run-extras` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker run-extras",
"docker:sh": "printf '\\e[30;43m`pnpm run docker:sh` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker sh",
"docker:stop": "printf '\\e[30;43m`pnpm run docker:stop` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker stop",
"docker:tail": "printf '\\e[30;43m`pnpm run docker:tail` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker tail",
"docker:uninstall": "printf '\\e[30;43m`pnpm run docker:uninstall` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker uninstall",
"docker:up": "printf '\\e[30;43m`pnpm run docker:up` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker up",
"docker:update-core-unit-tests": "printf '\\e[30;43m`pnpm run docker:update-core-unit-tests` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker update-core-unit-tests",
"docker:wp": "printf '\\e[30;43m`pnpm run docker:wp` is deprecated. Use the Jetpack CLI instead.\\e[0m\\n'; jetpack docker wp",
"install-if-deps-outdated": "pnpm install --no-prod --frozen-lockfile",
"lint": "pnpm run lint-file -- .",
"lint-changed": "eslint-changed --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.svelte --git",
"lint-file": "eslint --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.svelte",
"lint-required": "node -e \"const fs = require('fs'); fs.copyFileSync('.eslintignore','.eslintignore-required'); const w=fs.createWriteStream('.eslintignore-required',{flags:'a'}); w.write('\\n# tools/eslint-excludelist.json\\n'); w.end(JSON.parse(fs.readFileSync('tools/eslint-excludelist.json','utf8')).join('\\n')+'\\n')\" && pnpm run lint -- --max-warnings=0 --ignore-path .eslintignore-required",
"php:autofix": "composer phpcs:fix",
"php:compatibility": "composer phpcs:compatibility",
"php:lint": "composer phpcs:lint",
"reformat-files": "prettier --ignore-path .eslintignore --write \"**/*.{js,jsx,cjs,mjs,ts,tsx,svelte,json}\"",
"version-packages": "bash ./tools/version-packages.sh"
},
"husky": {
"hooks": {
"pre-commit": "node tools/js-tools/git-hooks/pre-commit-hook.js",
"prepare-commit-msg": "node tools/js-tools/git-hooks/prepare-commit-msg.js",
"post-checkout": "./tools/js-tools/git-hooks/post-merge-checkout-hook.sh",
"post-merge": "./tools/js-tools/git-hooks/post-merge-checkout-hook.sh",
"pre-push": "node tools/js-tools/git-hooks/pre-push-hook.js"
}
},
"devDependencies": {
"husky": "4.3.8",
"jetpack-cli": "workspace:1.0.0",
"jetpack-js-tools": "workspace:*"
},
"engines": {
"node": "^14.17.6 || ^16.7.0",
"pnpm": "^6.5.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
},
"pnpm": {
"overrides": {
"@storybook/addon-docs>@storybook/builder-webpack4": "npm:@storybook/builder-webpack5",
"@storybook/core-common>webpack@4": ">= 4",
"@storybook/core-server>webpack@4": ">= 4",
"@storybook/core-server>@storybook/builder-webpack4": "npm:@storybook/builder-webpack5",
"@storybook/core-server>@storybook/manager-webpack4": "npm:@storybook/manager-webpack5",
"@storybook/react>webpack@4": ">= 4",
"isomorphic-fetch>node-fetch@^1.0.1": "^2.6.1",
"jest-environment-jsdom@^24.0.0": "^26.0.1",
"react-dev-utils>browserslist@^4": "^4",
"terser-webpack-plugin>serialize-javascript@^4.0.0": "^5.0.0",
"[email protected]": "^0.0.3",
"yargs>yargs-parser@^5.0.1": "^20.0.0"
}
}
}