Add postinstall script to initialize example as well

This commit is contained in:
AndyLnd
2020-10-15 09:31:00 +02:00
parent 51b21d2996
commit 504cf7eb47

View File

@@ -23,7 +23,8 @@
"test:firefox": "cypress run --browser firefox",
"test:all": "npm run test:chrome && npm run test:firefox",
"test": "npm run dev:wait test:chrome",
"release": "release-it"
"release": "release-it",
"postinstall": "cd example && npm install"
},
"dependencies": {
"@welldone-software/why-did-you-render": "^4.3.2",