Skip to content

Commit

Permalink
Mark as private to prevent accidential publishing of root 'package.json'
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jul 4, 2019
1 parent d4a1362 commit fc4677c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "14.4.2",
"description": "A Query Language and Runtime which can target any service.",
"license": "MIT",
"private": true,
"main": "index",
"module": "index.mjs",
"sideEffects": false,
Expand Down
1 change: 1 addition & 0 deletions resources/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ function buildJSFile(filepath) {

function buildPackageJSON() {
const packageJSON = require('../package.json');
delete packageJSON.private;
delete packageJSON.scripts;
delete packageJSON.devDependencies;

Expand Down

0 comments on commit fc4677c

Please sign in to comment.