-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.66 KB
/
Copy pathpackage.json
File metadata and controls
43 lines (43 loc) · 1.66 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
{
"name": "simpletoc",
"version": "7.1.1",
"author": "Marc Tönsing",
"description": "SEO-friendly Table of Contents Gutenberg block. No JavaScript or CSS by default.",
"main": "build/index.js",
"license": "GPL-2.0-or-later",
"files": [
"build",
"plugin.php",
"assets",
"*.php"
],
"scripts": {
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"check-engines": "wp-scripts check-engines",
"lint:js": "wp-scripts lint-js",
"packages-update": "wp-scripts packages-update",
"up": "wp-scripts packages-update --dist-tag=wp-6.9",
"build": "wp-scripts build",
"start": "wp-scripts start",
"lint-js": "wp-scripts lint-js",
"lint-js:fix": "wp-scripts lint-js --fix",
"lint-css": "wp-scripts lint-style",
"lint-css:fix": "wp-scripts lint-style --fix",
"wait:wp-env": "sh -c 'attempt=1; until wp-env run cli wp core is-installed; do if [ $attempt -ge 30 ]; then exit 1; fi; attempt=$((attempt + 1)); sleep 2; done'",
"test:e2e": "wp-env start && npm run wait:wp-env && wp-env run cli wp theme activate twentytwentythree && WP_BASE_URL=http://localhost:8888 wp-scripts test-playwright",
"test:php": "wp-env run --env-cwd=wp-content/plugins/simpletoc tests-cli composer install && wp-env run --env-cwd=wp-content/plugins/simpletoc tests-cli vendor/bin/phpunit",
"wp-env": "wp-env",
"plugin-zip": "wp-scripts plugin-zip",
"wp-int": "npm install @wordpress/scripts --save-dev --save-exact @wordpress/scripts"
},
"devDependencies": {
"@wordpress/env": "^10.39.0",
"@wordpress/scripts": "^30.27.0"
},
"dependencies": {
"@wordpress/element": "^6.46.0",
"@wordpress/i18n": "^6.16.0",
"@wordpress/server-side-render": "^6.19.0"
}
}