Skip to content

Commit 3311d4d

Browse files
committed
Use consistent naming for scripts through projects
1 parent aeb165d commit 3311d4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
},
1515
"scripts": {
1616
"start": "cgb-scripts start",
17-
"build": "cgb-scripts build",
17+
"build": "npm run build:assets && npm run archive",
18+
"build:assets": "cgb-scripts build",
1819
"distclean": "rm -rf node_modules && rm -rf dist",
1920
"preinstall": "npx npm-force-resolutions",
20-
"archive": "composer archive --file=$npm_package_name --format=zip",
21-
"release": "npm run build && npm run archive"
21+
"archive": "composer archive --file=$npm_package_name --format=zip"
2222
},
2323
"dependencies": {
2424
"@wordpress/escape-html": "1.9.0",

0 commit comments

Comments
 (0)