4a1112329f
This change adds a 'sandbox.sh' script (and package.json scripts) that helps to move LOCAL changes to a sanxbox both for DEVELOPMENT or to DEPLOY CODE in preparation for production builds. USAGE of the script is outlined in updates to README.md Determines files to IGNORE by comparing what changed between the current BRANCH divergence point and the TIP of TRUNK Files can be WATCHED to trigger the rsync
24 lines
624 B
JSON
24 lines
624 B
JSON
{
|
|
"name": "themes",
|
|
"version": "1.0.0",
|
|
"description": "Automattic public themes",
|
|
"author": "automattic",
|
|
"license": "GPL-2.0",
|
|
"scripts": {
|
|
"sandbox:clean": "./sandbox.sh clean",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"chokidar-cli": "^2.1.0",
|
|
"husky": "^4.3.0",
|
|
"lodash": "^4.17.20"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "node pre-commit-hook.js"
|
|
}
|
|
}
|
|
}
|