|
1 | 1 | {
|
2 | 2 | "name": "ai-plus-block-editor",
|
3 |
| - "version": "1.1.2", |
| 3 | + "version": "1.2.0", |
4 | 4 | "description": "Add AI Capabilities to the Block Editor.",
|
5 | 5 | "author": "badasswp",
|
6 | 6 | "license": "GPL-2.0-or-later",
|
7 | 7 | "homepage": "https://github.com/badasswp/ai-plus-block-editor#readme",
|
8 | 8 | "scripts": {
|
9 |
| - "start": "npm install && composer install", |
10 |
| - "dev": "webpack --watch", |
| 9 | + "start": "yarn boot && yarn build && yarn wp-env start", |
| 10 | + "stop": "yarn wp-env stop", |
| 11 | + "watch": "webpack --watch", |
11 | 12 | "build": "webpack",
|
| 13 | + "boot": "composer install && yarn install", |
12 | 14 | "test": "npm-run-all --parallel test:*",
|
13 |
| - "test:js": "jest --passWithNoTests" |
| 15 | + "test:js": "jest --passWithNoTests", |
| 16 | + "test:php": "composer run test", |
| 17 | + "lint:js": "eslint . --ext .js,.jsx,.ts,.tsx", |
| 18 | + "lint:js:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix", |
| 19 | + "lint:php": "composer run lint", |
| 20 | + "lint:php:fix": "composer run lint:fix", |
| 21 | + "ci": "yarn test:js && yarn lint:js && yarn test:php && yarn lint:php", |
| 22 | + "wp-env": "wp-env", |
| 23 | + "bash": "wp-env run cli bash" |
14 | 24 | },
|
15 | 25 | "devDependencies": {
|
16 | 26 | "@babel/core": "^7.22.11",
|
|
21 | 31 | "@testing-library/jest-dom": "5.17",
|
22 | 32 | "@testing-library/react": "15.0.6",
|
23 | 33 | "@types/jest": "^29.5.4",
|
24 |
| - "@wordpress/eslint-plugin": "^15.0.0", |
| 34 | + "@wordpress/env": "^10.20.0", |
| 35 | + "@wordpress/eslint-plugin": "^22.6.0", |
25 | 36 | "@wordpress/scripts": "^26.9.0",
|
26 | 37 | "css-loader": "^6.8.1",
|
27 | 38 | "file-loader": "^6.2.0",
|
|
0 commit comments