add package.json and lib dir