-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.62 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "wp-ability-toolkit",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "AI Ability Toolkit for WordPress - Test and develop WordPress Ability API integrations with AI agents",
"author": "Em",
"license": "GPL-2.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/emdashcodes/wp-ability-toolkit.git"
},
"engines": {
"node": ">=20.0.0",
"pnpm": ">=8.0.0"
},
"scripts": {
"build": "pnpm -r build",
"build:bridge": "pnpm --filter @automattic/agenttic-ai-sdk-bridge build",
"build:plugin": "pnpm --filter wp-ability-toolkit build",
"start": "pnpm --filter wp-ability-toolkit start",
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"env:clean": "wp-env clean",
"lint": "pnpm run lint:js && pnpm run lint:php && pnpm run lint:md",
"lint:js": "eslint .",
"lint:js:fix": "eslint . --fix",
"lint:php": "composer --working-dir=packages/wp-ability-toolkit lint:php",
"lint:md": "markdownlint-cli2 '**/*.md' '#**/node_modules' '#**/vendor' '#**/references' '#LICENSE.md'",
"format": "pnpm run format:js && pnpm run format:php && pnpm run format:md",
"format:js": "prettier --write '**/*.{js,jsx,ts,tsx,json}'",
"format:php": "composer --working-dir=packages/wp-ability-toolkit format:php",
"format:md": "prettier --write '**/*.md' --ignore-path .prettierignore",
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,json,md}'",
"test": "pnpm run test:js",
"test:all": "pnpm run test:js && pnpm run test:php",
"test:js": "jest",
"test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/wp-ability-toolkit vendor/bin/phpunit",
"type-check": "pnpm -r type-check",
"ci": "pnpm run lint && pnpm run format:check && pnpm run test"
},
"devDependencies": {
"@babel/preset-env": "^7.28.3",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@eslint/js": "^9.38.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^14.3.1",
"@types/jest": "^29.5.14",
"@wordpress/env": "^10.33.0",
"@wordpress/eslint-plugin": "^21.6.0",
"@wordpress/jest-preset-default": "^11.29.0",
"@wordpress/prettier-config": "^4.33.0",
"babel-jest": "^30.2.0",
"eslint": "^9.38.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^15.15.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"markdownlint-cli2": "^0.16.0",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.1"
},
"packageManager": "pnpm@10.18.3+sha512.bbd16e6d7286fd7e01f6b3c0b3c932cda2965c06a908328f74663f10a9aea51f1129eea615134bf992831b009eabe167ecb7008b597f40ff9bc75946aadfb08d"
}