Created
June 14, 2020 07:38
-
-
Save yousifalraheem/7554f39a7721e0a89ddc8ea07f3d7897 to your computer and use it in GitHub Desktop.
NPM Package script with cleaned up script using npm package variables
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
{ | |
"config": { | |
"swaggerUrl": "http://loooooong-url-to-your-application-swagger-url/v2/swagger.json" | |
}, | |
"scripts": { | |
"generate": "openapi-generator -i $npm_package_config_swaggerUrl -g typescript-axios" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment