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,
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
],
|
||||
"author": "Zaid Abdulla <zaid@genieacs.com>",
|
||||
"license": "AGPL-3.0",
|
||||
"preferGlobal": true,
|
||||
"private": true,
|
||||
"directories": {
|
||||
"bin": "bin",
|
||||
"tools": "tools"
|
||||
|
||||
Reference in new issue
Block a user