Skip to content

Commit 7f41e06

Browse files
committed
feat(release): Added automatic versioning using semantic release
1 parent f3263ce commit 7f41e06

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
node_modules
22
.idea
3+
.sass-cache
4+
bower_components

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "lunar",
3-
"version": "1.0.0",
3+
"version": "0.0.0-semantically-released",
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"test": "rollup -c && mocha test/bundle.test.js"
7+
"test": "rollup -c && mocha test/bundle.test.js",
8+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
89
},
910
"license": "MIT",
1011
"devDependencies": {
@@ -26,7 +27,8 @@
2627
"load-grunt-tasks": "^3.3.0",
2728
"mocha": "^2.3.4",
2829
"rollup": "^0.21.2",
29-
"rollup-plugin-babel": "^2.2.0"
30+
"rollup-plugin-babel": "^2.2.0",
31+
"semantic-release": "^4.3.5"
3032
},
3133
"config": {
3234
"ghooks": {

0 commit comments

Comments
 (0)