Skip to content

Commit 5d31812

Browse files
committed
Upgrading
1 parent 2323132 commit 5d31812

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"start": "react-scripts start",
1717
"build": "react-scripts build",
1818
"test": "react-scripts test --env=jsdom",
19+
"predeploy": "npm run build",
20+
"deploy": "aws s3 sync build/ s3://notes-app-client",
21+
"postdeploy": "aws cloudfront create-invalidation --distribution-id E1KTCKT9SOAHBW --paths '/*' && aws cloudfront create-invalidation --distribution-id E3MQXGQ47VCJB0 --paths '/*'",
1922
"eject": "react-scripts eject"
2023
}
2124
}

0 commit comments

Comments
 (0)