Is it safe to connect a #30 bulb directly to the arduino output pin

I guess I will hook the bulb up with an external transistor.
Is a 2N2222 acceptable?