Move npm and java PATH config to separated files