From d8e0ecf8280499c4ff72c7b6faa6822e5a0b1781 Mon Sep 17 00:00:00 2001 From: Ryan Welcher Date: Wed, 15 May 2024 10:48:06 -0400 Subject: [PATCH] Update package.json to build a release. --- package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 199b6b8..77b713a 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,14 @@ "lint:js": "wp-scripts lint-js", "packages-update": "wp-scripts packages-update", "plugin-zip": "wp-scripts plugin-zip", - "start": "wp-scripts start --webpack-copy-php --experimental-modules" + "start": "wp-scripts start --webpack-copy-php --experimental-modules", + "release": "npm run build && npm run plugin-zip" }, + "files": [ + "build", + "to-do-mvc.php", + "readme.txt" + ], "devDependencies": { "@wordpress/scripts": "^27.7.0" },