themes-wordpress/package.json
2021-11-24 17:44:47 +00:00

67 lines
2.4 KiB
JSON

{
"name": "themes",
"version": "1.0.41",
"description": "Automattic public themes",
"author": "automattic",
"license": "GPL-2.0",
"prettier": "@wordpress/prettier-config",
"scripts": {
"sandbox:pull": "./sandbox.sh pull",
"sandbox:push": "./sandbox.sh push",
"sandbox:push:ignore": "./sandbox.sh push --ignore",
"sandbox:push:force": "./sandbox.sh push --force",
"sandbox:watch": "chokidar '**/*' -i '*/node_modules' -i '.git' -c './sandbox.sh push --ignore' --initial",
"sandbox:clean:git": "node ./theme-utils.mjs clean-sandbox-git",
"sandbox:clean:svn": "node ./theme-utils.mjs clean-sandbox-svn",
"sandbox:clean-all:git": "node ./theme-utils.mjs clean-all-sandbox-git",
"sandbox:clean-all:svn": "node ./theme-utils.mjs clean-all-sandbox-svn",
"local:clean": "git reset --hard HEAD; git clean -fd",
"batch:install": "./theme-batch-utils.sh install-dependencies",
"batch:audit:fix": "./theme-batch-utils.sh audit-dependencies",
"deploy:version-bump": "node ./theme-utils.mjs version-bump-themes",
"deploy:push:all": "node ./theme-utils.mjs push-to-sandbox",
"deploy:push:changes": "node ./theme-utils.mjs push-changes-to-sandbox",
"deploy:git": "node ./theme-utils.mjs push-button-deploy-git",
"deploy:svn": "node ./theme-utils.mjs push-button-deploy-svn",
"deploy:preview": "node ./theme-utils.mjs deploy-preview",
"build:zip": "node ./theme-utils.mjs build-com-zip",
"commit": "npx cz",
"update-themes": "npx lerna version --conventional-commits --no-commit-hooks --amend --yes"
},
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@octokit/rest": "^18.11.1",
"@wordpress/prettier-config": "^1.0.1",
"@wordpress/scripts": "^14.0.1",
"@wordpress/stylelint-config": "^19.0.1",
"chokidar-cli": "^2.1.0",
"cz-conventional-changelog": "^3.3.0",
"husky": "^7.0.4",
"inquirer": "^8.1.5",
"lerna": "^4.0.0",
"lint-staged": "^10.5.4",
"lodash": "^4.17.21",
"open": "^8.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && node pre-commit-hook.js",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"commit-msg": "npx --no -- commitlint --edit '$1'"
}
},
"lint-staged": {
"*.{scss}": [
"wp-scripts lint-style --fix="
]
},
"dependencies": {
"wp-prettier": "^2.0.5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}