generated from alleyinteractive/create-wordpress-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
121 lines (121 loc) · 4.79 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "wp-conditional-blocks",
"license": "GPL-2.0-or-later",
"main": "wp-conditional-blocks.php",
"engines": {
"node": "16",
"npm": "8"
},
"browserslist": [
"defaults",
"not IE 11"
],
"scripts": {
"build": "wp-scripts build --webpack-copy-php --webpack-src-dir=blocks",
"create-block": "npx @alleyinteractive/create-block@latest -n wp-conditional-blocks",
"create-entry": "npx @alleyinteractive/create-entry@latest -n wp-conditional-blocks -t wp-conditional-blocks",
"create-slotfill": "npx @alleyinteractive/create-entry -s -n wp-conditional-blocks -t wp-conditional-blocks",
"precheck-types": "check-node-version --package",
"check-types": "tsc",
"lint:fix": "eslint --ext .jsx --ext .js --ext .ts --ext .tsx . --fix",
"lint": "npm run check-types && eslint --ext .jsx --ext .js --ext .ts --ext .tsx .",
"postinstall": "rm -rf node_modules/.cache/babel-loader && rm -rf node_modules/.cache/webpack",
"prebuild": "check-node-version --package",
"predev": "check-node-version --package",
"preinstall": "check-node-version --package",
"prelint:fix": "check-node-version --package",
"prelint": "check-node-version --package",
"prestylelint:fix": "check-node-version --package",
"prestylelint": "check-node-version --package",
"pretest:watch": "check-node-version --package",
"pretest": "check-node-version --package",
"prerelease": "check-node-version --package",
"release": "npx @alleyinteractive/create-release@latest",
"start": "wp-scripts start --webpack-copy-php --webpack-src-dir=blocks",
"start:hot": "wp-scripts start --webpack-copy-php --webpack-src-dir=blocks --hot",
"stylelint:fix": "stylelint --fix \"**/*.scss\"",
"stylelint": "stylelint \"**/*.scss\" --allow-empty-input",
"test:watch": "jest --watch",
"test": "jest --passWithNoTests"
},
"dependencies": {
"@alleyinteractive/block-editor-tools": "^0.11.0",
"@types/jest": "^29.5.14",
"@types/wordpress__block-editor": "^11.5.0",
"@wordpress/a11y": "^3.30.0",
"@wordpress/annotations": "^2.30.0",
"@wordpress/api-fetch": "^6.27.0",
"@wordpress/autop": "^3.30.0",
"@wordpress/blob": "^3.30.0",
"@wordpress/block-directory": "^4.7.0",
"@wordpress/block-editor": "^11.7.0",
"@wordpress/block-library": "^8.7.0",
"@wordpress/block-serialization-default-parser": "^4.30.0",
"@wordpress/blocks": "^12.7.0",
"@wordpress/components": "^23.7.0",
"@wordpress/compose": "^6.7.0",
"@wordpress/core-data": "^6.7.0",
"@wordpress/customize-widgets": "^4.7.0",
"@wordpress/data": "^9.0.0",
"@wordpress/data-controls": "^2.30.0",
"@wordpress/date": "^4.30.0",
"@wordpress/deprecated": "^3.30.0",
"@wordpress/dom": "^3.30.0",
"@wordpress/dom-ready": "^3.30.0",
"@wordpress/edit-post": "^7.7.0",
"@wordpress/edit-site": "^5.7.0",
"@wordpress/edit-widgets": "^5.7.0",
"@wordpress/element": "^5.7.0",
"@wordpress/escape-html": "^2.30.0",
"@wordpress/format-library": "^4.7.0",
"@wordpress/hooks": "^3.30.0",
"@wordpress/html-entities": "^3.30.0",
"@wordpress/i18n": "^4.30.0",
"@wordpress/icons": "^9.21.0",
"@wordpress/interface": "^5.7.0",
"@wordpress/is-shallow-equal": "^4.30.0",
"@wordpress/keyboard-shortcuts": "^4.7.0",
"@wordpress/keycodes": "^3.30.0",
"@wordpress/list-reusable-blocks": "^4.7.0",
"@wordpress/media-utils": "^4.21.0",
"@wordpress/notices": "^3.30.0",
"@wordpress/nux": "^6.0.0",
"@wordpress/plugins": "^5.7.0",
"@wordpress/primitives": "^3.28.0",
"@wordpress/priority-queue": "^2.30.0",
"@wordpress/redux-routine": "^4.30.0",
"@wordpress/reusable-blocks": "^4.7.0",
"@wordpress/rich-text": "^6.7.0",
"@wordpress/scripts": "^26.1.0",
"@wordpress/server-side-render": "^4.7.0",
"@wordpress/shortcode": "^3.30.0",
"@wordpress/token-list": "^2.30.0",
"@wordpress/url": "^3.31.0",
"@wordpress/viewport": "^5.7.0",
"@wordpress/warning": "^2.30.0",
"@wordpress/widgets": "^3.7.0",
"@wordpress/wordcount": "^3.30.0",
"dompurify": "^3.2.1",
"eslint-import-resolver-typescript": "^3.6.3",
"prop-types": "^15.8.1",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@alleyinteractive/create-entry": "^0.0.4",
"@alleyinteractive/eslint-config": "^0.1.6",
"@alleyinteractive/stylelint-config": "^0.0.2",
"@babel/preset-env": "^7.26.0",
"@wordpress/babel-preset-default": "^7.14.0",
"babel-jest": "^29.7.0",
"check-node-version": "^4.2.1",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"eslint-import-resolver-webpack": "^0.13.9",
"jest": "^29.7.0",
"mini-css-extract-plugin": "^2.9.2",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2",
"webpack-cli": "^5.1.4"
}
}