Change .lua file to package

Very important and urgent

How can I convert my code into a usable package in openwrt?
My code in lua format like : x.lua