-
Notifications
You must be signed in to change notification settings - Fork 808
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Composer: add scripts to use some of our dependencies * Add base package.json We can build upon that first list of commands in the future, for developing and for releasing. Let's aim to have commands that match the ones in Jetpack * tabs throughout
- Loading branch information
1 parent
56c9041
commit 9018014
Showing
3 changed files
with
57 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
{ | ||
"name": "automattic/vaultpress", | ||
"description": "VaultPress is a subscription service offering real-time backup, automated security scanning, and support from WordPress experts.", | ||
"homepage": "https://vaultpress.com/", | ||
"type": "wordpress-plugin", | ||
"license": "GPL-2.0-or-later", | ||
"support": { | ||
"issues": "https://github.com/Automattic/vaultpress/issues" | ||
}, | ||
"require": { | ||
"automattic/jetpack-logo": "1.1.0" | ||
}, | ||
"require-dev": { | ||
"automattic/jetpack-standards": "master-dev", | ||
"automattic/jetpack-autoloader": "1.0.0" | ||
} | ||
"name": "automattic/vaultpress", | ||
"description": "VaultPress is a subscription service offering real-time backup, automated security scanning, and support from WordPress experts.", | ||
"homepage": "https://vaultpress.com/", | ||
"type": "wordpress-plugin", | ||
"license": "GPL-2.0-or-later", | ||
"support": { | ||
"issues": "https://github.com/Automattic/vaultpress/issues" | ||
}, | ||
"require": { | ||
"automattic/jetpack-logo": "1.1.0" | ||
}, | ||
"require-dev": { | ||
"automattic/jetpack-standards": "master-dev", | ||
"automattic/jetpack-autoloader": "1.0.0" | ||
}, | ||
"scripts": { | ||
"php:compatibility": "composer install && vendor/bin/phpcs -p -s --runtime-set testVersion '5.3-' --standard=PHPCompatibilityWP --ignore=docker,tools,tests,node_modules,vendor --extensions=php", | ||
"php:lint": "composer install && vendor/bin/phpcs -p -s", | ||
"php:autofix": "composer install && vendor/bin/phpcbf", | ||
"php:lint:errors": "composer install && vendor/bin/phpcs -p -s --runtime-set ignore_warnings_on_exit 1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "VaultPress", | ||
"version": "2.0.0-beta", | ||
"description": "VaultPress is a subscription service offering real-time backup, automated security scanning, and support from WordPress experts.", | ||
"homepage": "https://vaultpress.com", | ||
"author": "Automattic", | ||
"license": "GPL-2.0-or-later", | ||
"private": true, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Automattic/vaultpress.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/Automattic/vaultpress/issues" | ||
}, | ||
"scripts": { | ||
"clean": "yarn clean-composer", | ||
"clean-composer": "rm -rf composer.lock vendor/", | ||
"install-if-deps-outdated": "yarn check 2> /dev/null || yarn install --check-files", | ||
"distclean": "rm -rf node_modules && yarn clean", | ||
"build": "yarn install-if-deps-outdated && yarn clean && yarn build-php", | ||
"build-php": "composer install", | ||
"build-production": "yarn distclean && yarn && yarn build", | ||
"php:compatibility": "composer php:compatibility", | ||
"php:lint": "composer php:lint", | ||
"php:autofix": "composer php:autofix" | ||
}, | ||
"engines": { | ||
"node": ">=10", | ||
"yarn": "^1.3.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
|
||
|