Skip to content

Commit bb2c74f

Browse files
committed
Fix package.json in my-app to utilize preinstall hook
1 parent e541f30 commit bb2c74f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

my-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A sample application consuming a private scoped npm package",
55
"main": "index.js",
66
"scripts": {
7-
"prepare": "npm run co:login",
7+
"preinstall": "npm run co:login",
88
"co:login": "aws codeartifact login --tool npm --repository my-repo --domain my-domain"
99
},
1010
"dependencies": {

0 commit comments

Comments
 (0)