File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1
1
machine :
2
2
node :
3
3
version : 6.1.0
4
+
4
5
test :
5
6
post :
6
7
- npm run coverage
8
+
9
+ deployment :
10
+ master :
11
+ branch : [master]
12
+ commands :
13
+ - npm run semantic-release
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " loopback-component-fsm" ,
3
3
"description" : " Finite State Machine for Loopback Models." ,
4
- "version" : " 0.1.0 " ,
4
+ "version" : " 0.0.0-development " ,
5
5
"author" : {
6
6
"name" : " Tom Kirkpatrick @mrfelton"
7
7
},
34
34
"pretest" : " npm run lint" ,
35
35
"test" : " nyc --reporter=lcov --reporter=text --reporter=text-summary mocha test/*test.js" ,
36
36
"test:watch" : " npm run test -- -w" ,
37
- "coverage" : " nyc report --reporter=text-lcov | coveralls"
37
+ "coverage" : " nyc report --reporter=text-lcov | coveralls" ,
38
+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
38
39
},
39
40
"devDependencies" : {
40
41
"chai" : " ^3.5.0" ,
41
42
"compression" : " ^1.0.3" ,
43
+ "condition-circle" : " 1.5.0" ,
42
44
"cors" : " ^2.5.2" ,
43
45
"coveralls" : " ^2.11.9" ,
44
46
"eslint" : " ^2.13.1" ,
58
60
"serve-favicon" : " ^2.0.1" ,
59
61
"sinon" : " ^1.17.4" ,
60
62
"sinon-as-promised" : " ^3.0.1" ,
61
- "sinon-chai" : " ^2.8.0"
63
+ "sinon-chai" : " ^2.8.0" ,
64
+ "semantic-release" : " ^6.3.2"
62
65
},
63
66
"dependencies" : {
64
67
"bluebird" : " ^3.4.1" ,
65
68
"debug" : " ^2.2.0" ,
66
69
"fsm-as-promised" : " ^0.13.0" ,
67
70
"lodash" : " ^4.13.1"
71
+ },
72
+ "release" : {
73
+ "verifyConditions" : " condition-circle"
68
74
}
69
75
}
You can’t perform that action at this time.
0 commit comments