Commit c955839 1 parent 4e4964d commit c955839 Copy full SHA for c955839
File tree 4 files changed +24
-8
lines changed
4 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 1
- language : node_js
2
1
sudo : false
2
+ language : node_js
3
+ cache :
4
+ directories :
5
+ - node_modules
6
+ notifications :
7
+ email : false
3
8
node_js :
4
- - " 0.12"
9
+ - ' 4'
10
+ before_install :
11
+ - npm i -g npm@^2.0.0
12
+ before_script :
13
+ - npm prune
14
+ after_success :
15
+ - npm run semantic-release
5
16
branches :
6
- only :
7
- - master
17
+ except :
18
+ - " /^v \\ d+ \\ . \\ d+ \\ . \\ d+$/ "
Original file line number Diff line number Diff line change 8
8
[ ![ dependencies] [ code-snippets-dependencies-image ] ] [ code-snippets-dependencies-url ]
9
9
[ ![ devdependencies] [ code-snippets-devdependencies-image ] ] [ code-snippets-devdependencies-url ]
10
10
[ ![ Codacy Badge] [ code-snippets-codacy-image ] ] [ code-snippets-codacy-url ]
11
+ [ ![ semantic-release] [ semantic-image ] ] [ semantic-url ]
11
12
12
13
[ code-snippets-icon ] : https://nodei.co/npm/code-snippets.png?downloads=true
13
14
[ code-snippets-url ] : https://npmjs.org/package/code-snippets
19
20
[ code-snippets-devdependencies-url ] : https://david-dm.org/bahmutov/code-snippets#info=devDependencies
20
21
[ code-snippets-codacy-image ] : https://www.codacy.com/project/badge/99acaf40b1f1483c80016eb31fbaef49
21
22
[ code-snippets-codacy-url ] : https://www.codacy.com/public/bahmutov/code-snippets.git
23
+ [ semantic-image ] : https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
24
+ [ semantic-url ] : https://github.com/semantic-release/semantic-release
22
25
23
26
![ fist paint] ( https://raw.githubusercontent.com/bahmutov/code-snippets/master/first-paint-code-snippet.png )
24
27
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " code-snippets" ,
3
3
"main" : " first-paint.js" ,
4
- "version" : " 0.6.0 " ,
4
+ "version" : " 0.0.0-semantic-release " ,
5
5
"homepage" : " https://github.com/bahmutov/code-snippets" ,
6
6
"license" : " MIT" ,
7
7
"ignore" : [
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " code-snippets" ,
3
3
"description" : " Chrome DevTools code snippets " ,
4
- "version" : " 0.6.0 " ,
4
+ "version" : " 0.0.0-semantic-release " ,
5
5
"author" :
" Gleb Bahmutov <[email protected] >" ,
6
6
"bugs" : {
7
7
"url" : " https://github.com/bahmutov/code-snippets/issues"
35
35
"grunt-npm2bower-sync" : " 0.9.1" ,
36
36
"jshint-summary" : " 0.4.0" ,
37
37
"matchdep" : " 1.0.0" ,
38
- "pre-git" : " 3.1.2"
38
+ "pre-git" : " 3.1.2" ,
39
+ "semantic-release" : " 4.3.5"
39
40
},
40
41
"engines" : {
41
42
"node" : " > 0.10.*"
59
60
"main" : " first-paint.js" ,
60
61
"repository" : {
61
62
"type" : " git" ,
62
- "url" : " git@ github.com: bahmutov/code-snippets.git"
63
+ "url" : " https:// github.com/ bahmutov/code-snippets.git"
63
64
},
64
65
"scripts" : {
65
66
"build" : " grunt" ,
66
67
"commit" : " git-issues && commit-wizard" ,
67
68
"grunt" : " grunt" ,
68
69
"issues" : " git-issues" ,
70
+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post" ,
69
71
"size" : " t=\" $(npm pack .)\" ; wc -c \" ${t}\" ; tar tvf \" ${t}\" ; rm \" ${t}\" ;" ,
70
72
"test" : " grunt"
71
73
}
You can’t perform that action at this time.
0 commit comments