Last active
April 16, 2021 01:39
-
-
Save danielwrobert/feed9becda0ab54057c222f30d307ef9 to your computer and use it in GitHub Desktop.
@wordpress/env Script Settings (package.json)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "project-name", | |
"version": "1.0.0", | |
"description": "", | |
"author": "", | |
"license": "GPL-2.0-or-later", | |
"main": "index.js", | |
"scripts": { | |
"env": "WP_ENV_HOME=\"wp-env\" wp-env", | |
"env:logs": "npm run env logs", | |
"env:start": "npm run env start", | |
"env:stop": "npm run env stop", | |
"env:destroy": "npm run env destroy", | |
"env:cleanup": "docker volume prune -f && rm -rf ./wp-env", | |
"wp-env": "wp-env" | |
}, | |
"devDependencies": { | |
"@wordpress/env": "^2.1.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment