generated from jrtashjian/pluginwp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
57 lines (57 loc) · 2.46 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
{
"name": "omniform",
"version": "1.2.1",
"license": "GPL-2.0-or-later",
"private": true,
"scripts": {
"build:analyze-bundles": "npm run build -- --webpack-bundle-analyzer",
"build": "wp-scripts build --webpack-src-dir=packages",
"start": "wp-scripts start --webpack-src-dir=packages",
"format:php": "wp-env run --env-cwd=\"wp-content/plugins/${PWD##*/}\" cli composer run-script format",
"lint:css:fix": "npm run lint:css -- --fix",
"lint:css": "wp-scripts lint-style \"**/*.scss\" -f verbose",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:js": "wp-scripts lint-js",
"prelint:php": "wp-env run --env-cwd=\"wp-content/plugins/${PWD##*/}\" cli composer update --no-interaction",
"lint:php": "wp-env run --env-cwd=\"wp-content/plugins/${PWD##*/}\" cli composer run-script lint",
"lint:php:prefixed": "wp-env run --env-cwd=\"wp-content/plugins/${PWD##*/}\" cli composer run-script lint-prefixed",
"mailhog": "docker run --rm --name mailhog -d -p 1025:1025 -p 8025:8025 mailhog/mailhog",
"packages-update": "wp-scripts packages-update --dist-tag=wp-6.7",
"postpackages-update": "npm run build",
"test:php": "npm-run-all lint:php lint:php:prefixed test:unit:php",
"test:unit:php:base": "wp-env run --env-cwd=\"wp-content/plugins/${PWD##*/}\" tests-wordpress vendor/bin/phpunit -c phpunit.xml.dist --verbose",
"test:unit:php:coverage": "npm run test:unit:php:base -- --coverage-html phpunit/coverage",
"test:unit:php:setup": "wp-env start --xdebug=develop,coverage",
"test:unit:php": "npm-run-all test:unit:php:setup test:unit:php:base",
"wp-env": "wp-env",
"version": "node bin/update-version.js && git add -A",
"postversion": "git push && git push --tags"
},
"dependencies": {
"@wordpress/base-styles": "^5.8.3",
"@wordpress/block-editor": "^14.3.15",
"@wordpress/blocks": "^13.8.5",
"@wordpress/components": "^28.8.11",
"@wordpress/data": "^10.8.3",
"@wordpress/dom-ready": "^4.8.1",
"@wordpress/element": "^6.8.1",
"@wordpress/html-entities": "^4.8.1",
"@wordpress/i18n": "^5.8.2",
"@wordpress/icons": "^10.8.2",
"@wordpress/interface": "^6.8.11",
"@wordpress/plugins": "^7.8.11",
"@wordpress/url": "^4.8.1",
"change-case": "^4.1.2",
"classnames": "^2.3.2",
"colord": "^2.9.3",
"lodash": "^4.17.21",
"remove-accents": "^0.5.0"
},
"devDependencies": {
"@wordpress/env": "^10.8.1",
"@wordpress/eslint-plugin": "^21.1.2",
"@wordpress/scripts": "^30.0.6",
"@wordpress/stylelint-config": "^23.0.1",
"npm-run-all": "^4.1.5"
}
}