Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建应用程序构建的时间戳。准确地说,每次我运行我的 npm 构建时,我都想在我的 package.json、清单或自定义 json 中创建一个时间戳,以便在我上次运行我的 npm 构建时保存。
它应该只在我运行我的 npm 构建时更新。我使用反应。是否有任何 npm 脚本可以做到这一点?
请帮助是否可以实现这一点。提前致谢!