%#!lualatex luatexja-kinsoku_make.tex
\documentclass{article}
\usepackage{luatexja}
\makeatletter
\input{luatexja-kinsoku.tex}
\usepackage{luacode}
\begin{luacode}
 s = table.copy(luatexja.stack.charprop_stack_table[0])
 s[0].jwp, s[0].xsp = nil, nil
 s.kanjiskip = nil; s.xkanjiskip = nil
 table.tofile('ltj-kinsoku.lua', s, 'return', false, true, false)
\end{luacode}
\begin{document}
\end{document}