themes-wordpress/package.json

40 lines
1 KiB
JSON
Raw Normal View History

2020-10-06 21:12:21 +00:00
{
"name": "themes",
"version": "1.0.0",
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",
"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",
2021-04-02 09:17:58 +00:00
"sandbox:watch": "chokidar '**/*' -i '*/node_modules' -i '.git' -c './sandbox.sh push --ignore' --initial",
"lint-css": "wp-scripts lint-style '**/*.scss'",
"lint-css:fix": "npm run lint-css -- --fix"
},
2020-10-06 21:12:21 +00:00
"devDependencies": {
"@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",
"chokidar-cli": "^2.1.0",
2020-10-08 08:36:43 +00:00
"husky": "^4.3.0",
2021-04-02 08:32:27 +00:00
"lint-staged": "^10.5.4",
2020-10-08 08:36:43 +00:00
"lodash": "^4.17.20"
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": {
"*.{css,scss}": [
"wp-scripts lint-style"
]
},
2021-03-31 15:47:01 +00:00
"dependencies": {
"wp-prettier": "^2.0.5"
2020-10-06 21:12:21 +00:00
}
}