Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 4.56 KB
/
Copy pathpackage.json
File metadata and controls
132 lines (132 loc) · 4.56 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
125
126
127
128
129
130
131
132
{
"name": "publishio",
"private": true,
"engines": {
"node": ">=24.0.0",
"npm": ">=11.0.0"
},
"files": [
"assets",
"build",
"build-apps",
"framework",
"inc",
"languages",
"skills",
"templates",
"vendor",
"composer.json",
"README.md",
"readme.txt",
"publishio.php",
"uninstall.php"
],
"scripts": {
"build": "npm run clean && npm-run-all build:*",
"build:admin": "cross-env NODE_ENV=production wp-scripts build",
"build:apps": "cross-env NODE_ENV=production WP_NO_EXTERNALS=true wp-scripts build --config webpack.apps.config.js",
"clean": "rimraf build build-apps",
"format": "wp-scripts format",
"i18n:make-pot": "wp-env run cli --env-cwd=wp-content/plugins/publishio/ -- wp i18n make-pot . ./languages/publishio.pot --domain=publishio --include='*.php,inc,framework,src,templates' --exclude='assets,build,build-apps,node_modules,tests,vendor'",
"i18n:make-json": "wp-env run cli --env-cwd=wp-content/plugins/publishio/ -- wp i18n make-json languages/ --no-purge",
"lint:css:fix": "wp-scripts lint-style --fix",
"lint:css": "wp-scripts lint-style",
"lint:js:fix": "wp-scripts lint-js --fix",
"lint:js:types": "tsc --noEmit",
"lint:js": "wp-scripts lint-js",
"lint:php:fix": "wp-env run cli --env-cwd=wp-content/plugins/publishio/ composer run-script format",
"lint:phpstan": "wp-env run cli --env-cwd=wp-content/plugins/publishio/ composer run-script phpstan",
"lint:php": "wp-env run cli --env-cwd=wp-content/plugins/publishio/ composer run-script lint",
"lint": "npm-run-all --parallel lint:*",
"lint:fix": "npm-run-all --parallel lint:*:fix",
"packages-update": "wp-scripts packages-update",
"plugin-zip": "wp-scripts plugin-zip",
"prepare": "lefthook install",
"start:admin": "cross-env NODE_ENV=development wp-scripts start",
"start:apps": "cross-env NODE_ENV=development WP_NO_EXTERNALS=true wp-scripts start --config webpack.apps.config.js",
"test:e2e": "node bin/e2e.mjs",
"test:js": "wp-scripts test-unit-js --passWithNoTests",
"test:js:watch": "wp-scripts test-unit-js --watch",
"test:js:coverage": "wp-scripts test-unit-js --passWithNoTests --coverage",
"test:php": "npm run wp-env:test -- run cli --env-cwd=wp-content/plugins/publishio/ vendor/bin/phpunit -c phpunit.xml.dist",
"test:php:yoast": "npm run wp-env:test -- run cli --env-cwd=wp-content/plugins/publishio/ vendor/bin/phpunit -c phpunit-yoast.xml.dist",
"version:check": "node bin/check-version.mjs",
"wp-env": "wp-env",
"wp-env:cli": "wp-env run cli --env-cwd=wp-content/plugins/publishio/",
"wp-env:test": "wp-env --config=.wp-env.test.json"
},
"dependencies": {
"@modelcontextprotocol/ext-apps": "^1.7.2",
"clsx": "^2.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^4.3.0"
},
"devDependencies": {
"@playwright/test": "^1.64.0",
"@tailwindcss/postcss": "^4.3.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/jest": "^30.0.0",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"@typescript-eslint/eslint-plugin": "^8.59.1",
"@typescript-eslint/parser": "^8.59.1",
"@wordpress/api-fetch": "^7.53.0",
"@wordpress/babel-preset-default": "^8.53.0",
"@wordpress/components": "^39.0.0",
"@wordpress/data": "^10.53.0",
"@wordpress/dataviews": "^18.0.0",
"@wordpress/e2e-test-utils-playwright": "^3.0.0",
"@wordpress/element": "^8.5.0",
"@wordpress/env": "^12.0.0",
"@wordpress/eslint-plugin": "^25.9.0",
"@wordpress/i18n": "^6.26.0",
"@wordpress/icons": "^15.4.0",
"@wordpress/notices": "^5.53.0",
"@wordpress/prettier-config": "^4.53.0",
"@wordpress/scripts": "^34.1.0",
"@wordpress/stylelint-config": "^24.2.0",
"cross-env": "^10.1.0",
"eslint-plugin-jest": "^29.15.2",
"html-webpack-plugin": "^5.6.7",
"jest-watch-typeahead": "^3.0.1",
"lefthook": "^2.1.6",
"lint-staged": "^16.4.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.5.15",
"postcss-loader": "^8.2.1",
"prettier": "npm:wp-prettier@^3",
"rimraf": "^6.1.3",
"typescript": "^6.0.3"
},
"overrides": {
"uuid": "^14.0.0",
"qs": "^6.16.0",
"lighthouse": "^13.4.1",
"markdownlint-cli": {
".": "^0.49.1",
"js-yaml": "^5.4.1",
"smol-toml": "^1.9.0",
"katex": "^0.18.2"
},
"@wordpress/scripts": {
"serialize-javascript": "^7.0.3"
},
"cssnano": {
"postcss-selector-parser": "^7.1.6"
},
"@stylistic/stylelint-plugin": {
"postcss-selector-parser": "^7.1.6"
}
},
"allowScripts": {
"@parcel/watcher": false,
"core-js": false,
"core-js-pure": false,
"fs-ext-extra-prebuilt": false,
"fsevents": false,
"lefthook": false,
"unrs-resolver": false
}
}