Support npm run-script prepare