56 lines
2.4 KiB
JSON
56 lines
2.4 KiB
JSON
{
|
|
"name": "wp-plugin-starter-template-for-ai-coding",
|
|
"version": "0.1.13",
|
|
"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",
|
|
"setup:playground:single": "bash bin/setup-test-env.sh playground-single",
|
|
"setup:playground:multisite": "bash bin/setup-test-env.sh playground-multisite",
|
|
"test:playground:single": "npm run setup:playground:single && sleep 10 && cypress run --config specPattern=cypress/e2e/playground-single-site.cy.js",
|
|
"test:playground:multisite": "npm run setup:playground:multisite && sleep 10 && cypress run --config specPattern=cypress/e2e/playground-multisite.cy.js",
|
|
"build": "./build.sh",
|
|
"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 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": "^1.0.28",
|
|
"@wp-playground/client": "^1.0.28",
|
|
"cypress": "^13.6.4"
|
|
}
|
|
}
|