Files
babel/scripts/postinstall.js
T
76576a47e2 Update dependencies (#16603)
* update

* update

* manually revert acorn upgrade

* update acorn

* review

---------

Co-authored-by: Huáng Jùnliàng <[email protected]>
2024-07-03 14:53:02 -04:00

14 lines
295 B
JavaScript

import { existsSync, copyFileSync } from "fs";
import isCI from "is-ci";
import husky from "husky";
if (!isCI) {
if (!existsSync(".husky/_/h")) {
husky();
}
if (!existsSync(".vscode/settings.json")) {
copyFileSync(".vscode/settings.example.json", ".vscode/settings.json");
}
}