2020-10-06 21:12:21 +00:00
|
|
|
{
|
|
|
|
"name": "themes",
|
2021-10-28 11:38:28 +00:00
|
|
|
"version": "1.0.28",
|
2020-10-06 21:20:07 +00:00
|
|
|
"description": "Automattic public themes",
|
2020-10-06 21:12:21 +00:00
|
|
|
"author": "automattic",
|
|
|
|
"license": "GPL-2.0",
|
2021-03-31 15:47:01 +00:00
|
|
|
"prettier": "@wordpress/prettier-config",
|
2020-11-20 15:48:24 +00:00
|
|
|
"scripts": {
|
2021-06-10 08:37:51 +00:00
|
|
|
"sandbox:pull": "./sandbox.sh pull",
|
2020-11-20 15:48:24 +00:00
|
|
|
"sandbox:push": "./sandbox.sh push",
|
|
|
|
"sandbox:push:ignore": "./sandbox.sh push --ignore",
|
|
|
|
"sandbox:push:force": "./sandbox.sh push --force",
|
2021-08-30 18:09:55 +00:00
|
|
|
"sandbox:watch": "chokidar '**/*' -i '*/node_modules' -i '.git' -c './sandbox.sh push --ignore' --initial",
|
2021-10-01 14:42:39 +00:00
|
|
|
"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",
|
2021-08-30 18:09:55 +00:00
|
|
|
"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",
|
2021-10-01 14:42:39 +00:00
|
|
|
"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"
|
2020-11-20 15:48:24 +00:00
|
|
|
},
|
2020-10-06 21:12:21 +00:00
|
|
|
"devDependencies": {
|
2021-10-01 14:42:39 +00:00
|
|
|
"@octokit/rest": "^18.11.1",
|
2021-03-17 13:49:35 +00:00
|
|
|
"@wordpress/prettier-config": "^1.0.1",
|
2021-04-02 08:32:27 +00:00
|
|
|
"@wordpress/scripts": "^14.0.1",
|
|
|
|
"@wordpress/stylelint-config": "^19.0.1",
|
2020-11-20 15:48:24 +00:00
|
|
|
"chokidar-cli": "^2.1.0",
|
2020-10-08 08:36:43 +00:00
|
|
|
"husky": "^4.3.0",
|
2021-10-01 14:42:39 +00:00
|
|
|
"inquirer": "^8.1.5",
|
2021-04-02 08:32:27 +00:00
|
|
|
"lint-staged": "^10.5.4",
|
2021-10-01 14:42:39 +00:00
|
|
|
"lodash": "^4.17.21",
|
|
|
|
"open": "^8.2.1"
|
2020-10-06 21:12:21 +00:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2021-04-02 08:32:27 +00:00
|
|
|
"pre-commit": "lint-staged && node pre-commit-hook.js"
|
2020-10-06 21:12:21 +00:00
|
|
|
}
|
2021-03-31 15:47:01 +00:00
|
|
|
},
|
2021-04-02 08:32:27 +00:00
|
|
|
"lint-staged": {
|
2021-04-27 09:02:48 +00:00
|
|
|
"*.{scss}": [
|
2021-04-23 17:01:46 +00:00
|
|
|
"wp-scripts lint-style --fix="
|
2021-04-02 08:32:27 +00:00
|
|
|
]
|
|
|
|
},
|
2021-03-31 15:47:01 +00:00
|
|
|
"dependencies": {
|
|
|
|
"wp-prettier": "^2.0.5"
|
2020-10-06 21:12:21 +00:00
|
|
|
}
|
|
|
|
}
|