PluginProbe
CryptX / 4.2.0
CryptX v4.2.0
4.2.0 4.1.1 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.9 2.0 2.1 2.2 2.3 2.3.1 2.3.2 2.3.3 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 All 92 releases
cryptx / package.json

package.json in CryptX 4.2.0, at package.json

19 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "name": "cryptx",
3 "version": "4.2.0",
4 "description": "Build setup for the CryptX settings screen and the editor block. React and the component library come from WordPress itself, so only this plugin's own code is bundled.",
5 "private": true,
6 "license": "GPL-2.0-or-later",
7 "comments": {
8 "entry-points": "Both entry points are named on purpose. wp-scripts scans src/ for block.json files, and as soon as it finds one it uses ONLY the entry points it derives from them -- the default src/index.js is dropped without a word. Adding the block that way would have shipped a release whose settings screen renders nothing. Naming them explicitly wins over the scan (see getWebpackEntryPoints in @wordpress/scripts). The 'block/index' name is what puts the result next to the block.json copied to build/block/, which is the directory register_block_type() is pointed at."
9 },
10 "scripts": {
11 "build": "wp-scripts build index=src/index.js block/index=src/block/index.js",
12 "start": "wp-scripts start index=src/index.js block/index=src/block/index.js",
13 "lint:js": "wp-scripts lint-js src"
14 },
15 "devDependencies": {
16 "@wordpress/scripts": "^34.1.0"
17 }
18 }
19