Skip to content

Commit

Permalink
Added publish scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
devbucket committed Jun 15, 2019
1 parent ae5c49f commit 4ae6245
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
coverage/
tests/
src/
.git/
.vscode/
.idea/
.nyc_output/
.eslintignore
.eslintrc.js
.travis.yml
babel.config.js
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@virtuous/react-store",
"version": "1.0.0",
"version": "0.0.0",
"description": "A state container for React applications.",
"main": "index.js",
"repository": "[email protected]:bevirtuous/react-store.git",
Expand All @@ -13,7 +13,9 @@
"test:watch": "jest --watchAll",
"cover": "jest --coverage",
"cover:serve": "yarn cover && http-server ./coverage/lcov-report -g",
"clean": "rm -rf ./node_modules && rm -rf ./.cache-loader && rm -rf ./.cache && rm -rf ./dist && npm i"
"preversion": "yarn test && yarn lint",
"version": "make build && git add -A",
"postversion": "git push && git push --tags && npm publish ./dist/ --access public"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
Expand Down

0 comments on commit 4ae6245

Please sign in to comment.