changed devDependencies and preinstall script order