Prevent accidentally publishing source to npm
This commit is contained in:
1 parent
c950c73e76
commit
f613ba25c2
2 files changed
+2
-1
No files matched your search
@@ -145,6 +145,7 @@ async function init(): Promise<void> {
|
||||
fs.readFileSync(path.resolve(INPUT_DIR, "package.json")).toString()
|
||||
);
|
||||
delete packageJson["devDependencies"];
|
||||
delete packageJson["private"];
|
||||
packageJson["scripts"] = {
|
||||
install: packageJson["scripts"].install,
|
||||
configure: packageJson["scripts"].configure,
|
||||
|
||||
Reference in new issue
Block a user