Skip to content

Commit

Permalink
feat: Add semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaledgarbaya committed Oct 14, 2019
1 parent 86eb7e7 commit ee3f829
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
jobs:
build:
docker:
- image: 'circleci/node:latest'
steps:
- checkout
- run:
name: install
command: npm install
- run:
name: release
command: npm run semantic-release || true
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "use-one-graph",
"version": "0.0.1",
"version": "0.0.0-development",
"description": "a simple way to add opengraph authentication to your react app",
"main": "dist/index.js",
"author": "Khaled Garbaya <[email protected]>",
Expand All @@ -10,12 +10,17 @@
"unpkg": "dist/index.umd.js",
"scripts": {
"build": "microbundle",
"dev": "microbundle watch"
"dev": "microbundle watch",
"semantic-release": "semantic-release"
},
"devDependencies": {
"microbundle": "^0.11.0"
"microbundle": "^0.11.0",
"semantic-release": "^15.13.24"
},
"files": ["src", "dist"],
"files": [
"src",
"dist"
],
"peerDependencies": {
"react": "^16.10.2"
},
Expand All @@ -27,6 +32,6 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/Khaledgarbaya/use-one-graph.git"
"url": "https://github.com/Khaledgarbaya/use-one-graph.git"
}
}

0 comments on commit ee3f829

Please sign in to comment.