Here are rules that help to identify the requirements:

Quote
NFPA 1124
Code for the Manufacture, Transportation, and Storage of Fireworks and Pyrotechnic Articles
1998 Edition

4-3 Electrical Requirements.

4-3.1
All electrical fixtures in storage buildings at fireworks manufacturing plants shall be dusttight. All electrical wiring shall comply with Article 502 of NFPA 70, National Electrical Code.

4-3.2
Electrical receptacles or unguarded light fixtures shall not be permitted within 25 ft (7.6 m) of any fireworks. Light fixtures within 25 ft (7.6 m) of any fireworks shall have guards.

4-3.3
An electrical disconnect shall be located outside each storage building, and the disconnect shall be arranged to deenergize all electrical power to the building.

4-3.4
All electrical fixtures and wiring for storage buildings shall comply with NFPA 70, National Electrical Code.

4-3.5
No extension cords or other temporary wiring shall be permitted within 25 ft (7.6 m) of any stored consumer fireworks.


Joe Tedesco, NEC Consultant