Changed -d flag to --dev according to npm docs