-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 4.85 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 4.85 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "remote-data-blocks",
"author": "Automattic",
"description": "Remote Data Blocks plugin",
"license": "GPL-2.0-or-later",
"private": true,
"main": "build/index.js",
"files": [
"build/",
"inc/",
"vendor/",
"blueprint.json",
"functions.php",
"remote-data-blocks.php",
"composer.json"
],
"scripts": {
"build": "npm run cmd:build",
"build:docs:ai": "npx repomix --include='docs/**/*.md,example/**' --ignore='docs/extending/ai-prompts.md,docs/for-ai.md,docs/index.md,docs/quickstart.md' --style=markdown --output='docs/for-ai.md'",
"check-types": "tsc --noEmit",
"cmd:build": "wp-scripts build --experimental-modules",
"cmd:format": "prettier '**/*.(js|json|jsx|md|ts|tsx|yml|yaml)'",
"cmd:lint": "eslint --ext 'js,jsx,ts,tsx' --quiet",
"dev": "./bin/start",
"dev:decoupled": "./bin/start decoupled",
"dev:build": "./bin/start default build",
"dev:destroy": "./bin/stop destroy",
"dev:stop": "./bin/stop",
"format": "npm run cmd:format -- --write",
"format:check": "npm run cmd:format -- --check",
"lint": "npm run cmd:lint .",
"lint:all": "npm run lint:js && npm run lint:css && npm run lint:php",
"lint:fix": "npm run cmd:lint . -- --fix",
"lint:css:fix": "wp-scripts lint-style --fix",
"lint:css": "wp-scripts lint-style",
"lint:js": "npm run lint",
"lint:php": "npm run lint:phpcs && npm run lint:psalm",
"lint:phpcs": "vendor/bin/phpcs --cache",
"lint:phpcs:fix": "vendor/bin/phpcbf",
"lint:psalm": "vendor/bin/psalm.phar",
"packages-update": "wp-scripts packages-update",
"playground": "npx @wp-playground/cli server --mount=.:/wordpress/wp-content/plugins/remote-data-blocks --php=8.2 --blueprint=blueprint.local.json",
"playground:reset": "npm run playground -- --reset",
"plugin-zip": "npm run build && composer install --prefer-dist --optimize-autoloader --no-dev && wp-scripts plugin-zip",
"postinstall": "composer install",
"release": "./bin/release",
"start": "wp-scripts start --experimental-modules --stats=minimal",
"test": "npm run test:php && npm run test:js",
"test:e2e": "wp-scripts test-playwright",
"test:e2e:debug": "wp-scripts test-playwright --debug",
"test:e2e:help": "wp-scripts test-playwright --help",
"test:php": "composer test",
"test:php:coverage": "composer test-coverage",
"test:php:debug": "wp-env run tests-cli --env-cwd=wp-content/plugins/remote-data-blocks ./vendor/bin/phpunit",
"test:integration": "wp-env run tests-cli --env-cwd=wp-content/plugins/remote-data-blocks ./vendor/bin/phpunit -c ./phpunit-integration.xml",
"test:js": "vitest --watch=false",
"test:js:watch": "vitest --watch=true",
"test:js:coverage": "vitest --coverage --watch=false",
"wp-cli": "wp-env run cli -- wp"
},
"devDependencies": {
"@automattic/eslint-plugin-wpvip": "1.3.0",
"@babel/preset-react": "8.0.1",
"@playwright/test": "^1.57.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/react": "18.3.31",
"@types/react-dom": "18.3.7",
"@types/react-syntax-highlighter": "^15.5.13",
"@vitest/coverage-v8": "4.1.0",
"@wordpress/api-fetch": "7.49.0",
"@wordpress/block-editor": "15.22.1",
"@wordpress/blocks": "15.22.0",
"@wordpress/components": "36.0.1",
"@wordpress/compose": "8.2.0",
"@wordpress/core-data": "7.49.1",
"@wordpress/data": "10.49.0",
"@wordpress/dependency-extraction-webpack-plugin": "^6.47.0",
"@wordpress/dom-ready": "4.49.0",
"@wordpress/e2e-test-utils-playwright": "^1.47.0",
"@wordpress/editor": "14.49.1",
"@wordpress/element": "8.1.0",
"@wordpress/env": "11.9.0",
"@wordpress/hooks": "4.49.0",
"@wordpress/i18n": "6.22.0",
"@wordpress/icons": "15.0.0",
"@wordpress/interactivity": "6.49.0",
"@wordpress/notices": "5.49.1",
"@wordpress/plugins": "7.49.1",
"@wordpress/primitives": "4.49.0",
"@wordpress/rich-text": "7.49.0",
"@wordpress/scripts": "32.5.0",
"@wordpress/server-side-render": "6.25.1",
"@wordpress/url": "4.49.0",
"eslint": "^9.39.4",
"fork-ts-checker-webpack-plugin": "9.1.0",
"happy-dom": "20.10.6",
"husky": "9.1.7",
"lint-staged": "16.2.3",
"prettier": "npm:wp-prettier@^3.0.3",
"react": "18.3.1",
"react-dom": "18.3.1",
"stylelint": "16.11.0",
"ts-loader": "9.6.2",
"typescript": "6.0.3",
"vitest": "4.1.0"
},
"overrides": {
"react-autosize-textarea": {
"react": "^18 || ^19",
"react-dom": "^18 || ^19"
}
},
"stylelint": {
"extends": "./node_modules/@wordpress/scripts/config/.stylelintrc.json"
},
"dependencies": {
"@automattic/calypso-analytics": "^1.1.3",
"@wordpress/dataviews": "^17.0.1",
"react-syntax-highlighter": "^16.1.0"
}
}