{
    "name": "@hamworks/rich-text-extension",
    "version": "1.0.0",
    "author": "Hiroshi Urabe <urabe@ham.works> (https://ham.works)",
    "dependencies": {
        "@wordpress/block-editor": "^6.2.0",
        "@wordpress/components": "^14.2.0",
        "@wordpress/data": "^5.2.0",
        "@wordpress/dom": "^3.2.0",
        "@wordpress/element": "^3.2.0",
        "@wordpress/i18n": "^4.2.0",
        "@wordpress/icons": "^4.1.0",
        "@wordpress/rich-text": "^4.2.0",
        "lodash": "^4.17.20",
        "tinycolor2": "^1.4.1"
    },
    "devDependencies": {
        "@wordpress/browserslist-config": "^4.1.0",
        "@wordpress/scripts": "^17.0.0",
        "husky": "^4.3.0",
        "lint-staged": "^11.0.0",
        "prettier": "npm:wp-prettier@^2.0.5"
    },
    "license": "GPL-2.0+",
    "main": "build/index.js",
    "release-it": {
        "hooks": {
            "before:bump": "bash ./bin/create-release.sh rich-text-extension ${version}",
            "after:bump": "bash ./bin/create-zip.sh rich-text-extension",
            "after:release": "bash ./bin/cleanup.sh rich-text-extension"
        },
        "github": {
            "release": true,
            "assets": [
                "rich-text-extension.zip"
            ]
        },
        "npm": {
            "publish": false
        }
    },
    "repository": {
        "url": "git@github.com:team-hamworks/rich-text-extension.git",
        "type": "git"
    },
    "scripts": {
        "build": "NODE_ENV=production npm run build:dev",
        "build:dev": "wp-scripts build",
        "format-js": "wp-scripts format",
        "env": "wp-scripts env",
        "lint-php": "./vendor/bin/phpcs --standard=./.phpcs.xml.dist",
        "lint-style": "wp-scripts lint-style src",
        "lint-style:fix": "npm run lint-style -- --fix",
        "lint-js": "wp-scripts lint-js src",
        "lint-js:fix": "npm run lint-js -- --fix",
        "packages-update": "wp-scripts packages-update",
        "start": "wp-scripts start"
    },
    "husky": {
        "hooks": {
            "pre-commit": "lint-staged"
        }
    },
    "lint-staged": {
        "packages/*/package.json": [
            "wp-scripts lint-pkg-json"
        ],
        "{*.css,*.scss}": [
            "npm run lint-style"
        ],
        "*.js": [
            "npm run format-js",
            "npm run lint-js"
        ],
        "*.php": [
            "npm run lint-php"
        ]
    },
    "wp-env": {
        "plugin-dir": "rich-text-extension",
        "plugin-name": "rich-text-extension",
        "welcome-build-command": "npm run start"
    }
}
