-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
106 lines (106 loc) · 3.88 KB
/
package.json
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
{
"name": "remote-data-blocks",
"author": "WPVIP",
"description": "Remote Data Blocks plugin",
"license": "GPL-2.0-or-later",
"private": true,
"main": "build/index.js",
"files": [
"build/",
"inc/",
"vendor/",
"functions.php",
"remote-data-blocks.php"
],
"scripts": {
"build": "npm run cmd:build && npm run build:examples",
"build:examples": "EXAMPLE=airtable/elden-ring-map npm run cmd:build:example",
"check-types": "tsc --noEmit",
"cmd:build": "wp-scripts build --experimental-modules",
"cmd:build:example": "npm run cmd:build -- --config=example/$EXAMPLE/webpack.config.js --output-path=example/$EXAMPLE/build --webpack-src-dir=example/$EXAMPLE/src",
"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: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-now/wp-now start --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:php": "composer test",
"test:php:coverage": "composer test-coverage",
"test:js": "vitest --watch=false",
"test:js:coverage": "vitest --coverage --watch=false",
"wp-cli": "wp-env run cli -- wp"
},
"devDependencies": {
"@automattic/eslint-plugin-wpvip": "0.13.0",
"@babel/preset-react": "7.25.9",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.0.1",
"@types/wordpress__block-editor": "11.5.15",
"@types/wordpress__editor": "14.3.1",
"@vitest/coverage-v8": "2.1.2",
"@wordpress/api-fetch": "7.10.0",
"@wordpress/block-editor": "14.5.0",
"@wordpress/blocks": "13.10.0",
"@wordpress/components": "28.10.0",
"@wordpress/compose": "7.10.0",
"@wordpress/core-data": "7.10.0",
"@wordpress/data": "10.10.0",
"@wordpress/dom-ready": "4.10.0",
"@wordpress/editor": "14.10.0",
"@wordpress/element": "6.10.0",
"@wordpress/env": "10.10.0",
"@wordpress/hooks": "4.10.0",
"@wordpress/i18n": "5.10.0",
"@wordpress/icons": "10.10.0",
"@wordpress/interactivity": "6.10.0",
"@wordpress/notices": "5.10.0",
"@wordpress/plugins": "7.10.0",
"@wordpress/primitives": "4.10.0",
"@wordpress/rich-text": "7.10.0",
"@wordpress/scripts": "30.1.0",
"@wordpress/url": "4.10.0",
"eslint": "8.57.1",
"fork-ts-checker-webpack-plugin": "9.0.2",
"happy-dom": "15.8.3",
"husky": "9.1.6",
"lint-staged": "15.2.10",
"prettier": "npm:wp-prettier@2.8.5",
"react": "18.3.1",
"stylelint": "16.9.0",
"ts-loader": "9.5.1",
"typescript": "5.6.3",
"vitest": "2.1.2"
},
"overrides": {
"react-autosize-textarea": {
"react": "^18",
"react-dom": "^18"
}
},
"stylelint": {
"extends": "./node_modules/@wordpress/scripts/config/.stylelintrc.json"
},
"dependencies": {
"@automattic/calypso-analytics": "^1.1.3"
}
}