Skip to content

Commit

Permalink
feat: Prevent the root packge to be published
Browse files Browse the repository at this point in the history
  • Loading branch information
realamirhe committed May 4, 2022
1 parent 36df841 commit 8ef41f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-aptor",
"version": "1.3.1",
"private": false,
"private": true,
"description": "React API connector",
"keywords": [
"api",
Expand Down Expand Up @@ -45,7 +45,7 @@
"postbuild": "yarn copy",
"precopy": "shx cp -r dist/src/* dist/esm && shx cp -r dist/src/* dist && shx rm -rf dist/src && shx rm -rf dist/{src,tests}",
"copy": "concurrently -m 8 'yarn:copy:*'",
"copy:package-json": "shx cp package.json dist && json -I -f dist/package.json -e 'this.devDependencies=undefined; this.scripts=undefined; this.publishConfig=undefined'",
"copy:package-json": "shx cp package.json dist && json -I -f dist/package.json -e 'this.private=false; this.devDependencies=undefined; this.scripts=undefined; this.publishConfig=undefined'",
"copy:static-content": "shx cp README.md LICENSE dist",
"eslint": "eslint --fix '*.{js,json}' '{src,tests}/**/*.{ts,tsx}'",
"eslint:ci": "eslint '*.{js,json}' '{src,tests}/**/*.{ts,tsx}'",
Expand Down

0 comments on commit 8ef41f8

Please sign in to comment.