* fix: remove redundant Responsive Styles comment in admin-styles.css (issue #93) Removes the generic '/* Responsive Styles */' comment that was redundant alongside the specific '/* 782px is the WordPress mobile admin breakpoint. */' comment, per Gemini Code Assist review feedback on PR #87. Closes #93 * fix: add missing trailing commas to fix comma-dangle lint errors Fixes ESLint comma-dangle errors in: - cypress.config.js (lines 15-16): missing trailing commas on chromeWebSecurity property and closing e2e object brace - cypress/e2e/playground-single-site.cy.js (line 23): missing trailing comma on expect() message argument Also updates eslint-plugin-cypress from ^2.15.1 to ^6.2.0 to resolve peer dependency conflict that prevented local lint verification.
73 lines
3.2 KiB
JSON
73 lines
3.2 KiB
JSON
{
|
|
"name": "wp-plugin-starter-template-for-ai-coding",
|
|
"version": "0.1.15",
|
|
"description": "A comprehensive starter template for WordPress plugins with best practices for AI-assisted development.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "wp-env start",
|
|
"stop": "wp-env stop",
|
|
"wp-env": "wp-env",
|
|
"setup:single": "bash bin/setup-test-env.sh single",
|
|
"setup:multisite": "bash bin/setup-test-env.sh multisite",
|
|
"test:single": "cypress open --config specPattern=cypress/e2e/single-site.cy.js",
|
|
"test:single:headless": "cypress run --config specPattern=cypress/e2e/single-site.cy.js",
|
|
"test:multisite": "cypress open --config specPattern=cypress/e2e/multisite.cy.js",
|
|
"test:multisite:headless": "cypress run --config specPattern=cypress/e2e/multisite.cy.js",
|
|
"test:e2e:single": "npm run setup:single && sleep 5 && npm run test:single:headless",
|
|
"test:e2e:multisite": "npm run setup:multisite && sleep 5 && npm run test:multisite:headless",
|
|
"test:playground:single": "cypress run --spec cypress/e2e/playground-single-site.cy.js",
|
|
"test:playground:multisite": "cypress run --spec cypress/e2e/playground-multisite.cy.js",
|
|
"playground:start": "bash bin/playground-test.sh start",
|
|
"playground:start:multisite": "bash bin/playground-test.sh start --multisite",
|
|
"playground:stop": "bash bin/playground-test.sh stop",
|
|
"playground:status": "bash bin/playground-test.sh status",
|
|
"localwp:create": "bash bin/localwp-setup.sh create",
|
|
"localwp:create:multisite": "bash bin/localwp-setup.sh create --multisite",
|
|
"localwp:sync": "bash bin/localwp-setup.sh sync",
|
|
"localwp:reset": "bash bin/localwp-setup.sh reset",
|
|
"test:phpunit": "composer test",
|
|
"test:phpunit:multisite": "WP_MULTISITE=1 composer test",
|
|
"build": "./build.sh",
|
|
"lint:js": "eslint cypress/ cypress.config.js",
|
|
"lint:css": "stylelint \"**/*.css\" --allow-empty-input",
|
|
"lint:php": "composer run-script phpcs",
|
|
"lint:php:simple": "composer run-script phpcs:simple",
|
|
"lint:phpstan": "composer run-script phpstan",
|
|
"lint:phpmd": "composer run-script phpmd",
|
|
"fix:php": "composer run-script phpcbf",
|
|
"fix:php:simple": "composer run-script phpcbf:simple",
|
|
"test:php": "composer run-script test",
|
|
"lint": "composer run-script lint",
|
|
"fix": "composer run-script fix",
|
|
"quality": "npm run lint && npm run lint:js && npm run lint:css && npm run test:php"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/wpallstars/wp-plugin-starter-template-for-ai-coding.git"
|
|
},
|
|
"keywords": [
|
|
"wordpress",
|
|
"plugin",
|
|
"template",
|
|
"ai",
|
|
"coding"
|
|
],
|
|
"author": "WPALLSTARS",
|
|
"license": "GPL-2.0-or-later",
|
|
"bugs": {
|
|
"url": "https://github.com/wpallstars/wp-plugin-starter-template-for-ai-coding/issues"
|
|
},
|
|
"homepage": "https://github.com/wpallstars/wp-plugin-starter-template-for-ai-coding#readme",
|
|
"devDependencies": {
|
|
"@wordpress/env": "^8.12.0",
|
|
"@wp-playground/blueprints": "^3.0.22",
|
|
"@wp-playground/cli": "^3.0.22",
|
|
"@wp-playground/client": "^3.0.22",
|
|
"cypress": "^13.17.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-plugin-cypress": "^6.2.0",
|
|
"stylelint": "^16.0.0",
|
|
"stylelint-config-standard": "^36.0.0"
|
|
}
|
|
}
|