Skip to content

Commit f33075c

Browse files
committed
feat(initial): initial commit
1 parent 58a3cd7 commit f33075c

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: node_js
2+
cache:
3+
directories:
4+
- node_modules
5+
notifications:
6+
email: false
7+
node_js:
8+
- '7'
9+
- '6'
10+
- '4'
11+
before_script:
12+
- npm prune
13+
after_success:
14+
- npm run semantic-release
15+
branches:
16+
except:
17+
- /^v\d+\.\d+\.\d+$/

package.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
{
22
"name": "mongoose-trigger",
3-
"version": "1.0.0",
3+
"version": "0.0.0-development",
44
"description": "Library to listen to events in mongoose",
55
"main": "src/",
66
"scripts": {
7-
"test": "echo \"No tests yet\""
7+
"test": "echo \"No tests yet\"",
8+
"dev": "node test/index",
9+
"commit": "git-cz",
10+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
811
},
912
"repository": {
1013
"type": "git",
11-
"url": "git+https://github.com/crsten/mongoose-trigger.git"
14+
"url": "https://github.com/crsten/mongoose-trigger.git"
1215
},
1316
"keywords": [
1417
"mongoose",
@@ -26,11 +29,15 @@
2629
"cz-conventional-changelog": "^2.0.0",
2730
"express": "^4.15.2",
2831
"mongoose": "^4.9.6",
29-
"semantic-release": "^6.3.2",
30-
"mongoose": "^4.9.6"
32+
"semantic-release": "^6.3.6"
3133
},
3234
"dependencies": {
3335
"cli-color": "^1.2.0",
3436
"intersect": "^1.0.1"
37+
},
38+
"config": {
39+
"commitizen": {
40+
"path": "./node_modules/cz-conventional-changelog"
41+
}
3542
}
3643
}

0 commit comments

Comments
 (0)