NRA had at one time a book titled "Ammunition Making" that pretty much detailed every step of the process from powder and primer manufacturing to drawing brass cases.
most non-corrosive primers use lead styphnate as explosive mix, with ground glass for friction in 22lr cases.