Skip to content

Commit

Permalink
Tweak build script ad readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffMatsonPagely committed Jun 11, 2021
1 parent 39200e6 commit a45c83c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
=== Plugin Name ===
=== Really Rich Results - JSON-LD Structured Data (Google Rich Results) ===
Contributors: JeffMatson, joshuastrebel
Donate link: https://example.com/
Tags: rich results, schema, structured data, rich snippets, schema.org, json-ld, seo
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"name": "@pagely/really-rich-results",
"version": "0.1.2",
"version": "0.1.3",
"description": "Really Rich Results",
"main": "assets/src/js/index.js",
"scripts": {
"build": "wp-scripts build",
"build:dist": "wp-scripts build && npm run clean && npm run build:mkdirs && npm run copy:php && npm run copy:assets && npm run composer:build:dist && npm run copy:vendor && npm run build:zip",
"build:dist": "wp-scripts build && npm run clean && npm run build:mkdirs && npm run copy:php && npm run copy:assets && npm run composer:build:dist && npm run copy:vendor && npm run copy:readme && npm run build:zip",
"build:zip": "cd build/ && bestzip ../really-rich-results.zip *",
"build:mkdirs": "mkdir -p build/src && mkdir -p build/assets/dist && mkdir -p build/vendor",
"copy:php": "cp -r src/* build/src && cp really-rich-results.php build/really-rich-results.php",
"copy:assets": "cp -r assets/dist/* build/assets/dist",
"copy:assets": "cp -r assets/dist/* build/assets/dist && cp assets/src/images/* build/assets",
"copy:vendor": "cp -r vendor/* build/vendor",
"copy:readme": "cp README.txt build",
"clean": "rimraf ./build/**/* && npm run clean:vendor && npm run clean:zip",
"clean:vendor": "rimraf ./vendor",
"clean:zip": "rimraf ./really-rich-results.zip",
Expand Down

0 comments on commit a45c83c

Please sign in to comment.