File tree Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 1- language : node_js
21sudo : false
2+ language : node_js
3+ cache :
4+ directories :
5+ - node_modules
6+ notifications :
7+ email : false
38node_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
516branches :
6- only :
7- - master
17+ except :
18+ - " /^v \\ d+ \\ . \\ d+ \\ . \\ d+$/ "
Original file line number Diff line number Diff line change 88[ ![ dependencies] [ code-snippets-dependencies-image ] ] [ code-snippets-dependencies-url ]
99[ ![ devdependencies] [ code-snippets-devdependencies-image ] ] [ code-snippets-devdependencies-url ]
1010[ ![ Codacy Badge] [ code-snippets-codacy-image ] ] [ code-snippets-codacy-url ]
11+ [ ![ semantic-release] [ semantic-image ] ] [ semantic-url ]
1112
1213[ code-snippets-icon ] : https://nodei.co/npm/code-snippets.png?downloads=true
1314[ code-snippets-url ] : https://npmjs.org/package/code-snippets
1920[ code-snippets-devdependencies-url ] : https://david-dm.org/bahmutov/code-snippets#info=devDependencies
2021[ code-snippets-codacy-image ] : https://www.codacy.com/project/badge/99acaf40b1f1483c80016eb31fbaef49
2122[ 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
2225
2326![ fist paint] ( https://raw.githubusercontent.com/bahmutov/code-snippets/master/first-paint-code-snippet.png )
2427
Original file line number Diff line number Diff line change 11{
22 "name" : " code-snippets" ,
33 "main" : " first-paint.js" ,
4- "version" : " 0.6.0 " ,
4+ "version" : " 0.0.0-semantic-release " ,
55 "homepage" : " https://github.com/bahmutov/code-snippets" ,
66 "license" : " MIT" ,
77 "ignore" : [
Original file line number Diff line number Diff line change 11{
22 "name" : " code-snippets" ,
33 "description" : " Chrome DevTools code snippets " ,
4- "version" : " 0.6.0 " ,
4+ "version" : " 0.0.0-semantic-release " ,
55 "author" : " Gleb Bahmutov <gleb.bahmutov@gmail.com>" ,
66 "bugs" : {
77 "url" : " https://github.com/bahmutov/code-snippets/issues"
3535 "grunt-npm2bower-sync" : " 0.9.1" ,
3636 "jshint-summary" : " 0.4.0" ,
3737 "matchdep" : " 1.0.0" ,
38- "pre-git" : " 3.1.2"
38+ "pre-git" : " 3.1.2" ,
39+ "semantic-release" : " 4.3.5"
3940 },
4041 "engines" : {
4142 "node" : " > 0.10.*"
5960 "main" : " first-paint.js" ,
6061 "repository" : {
6162 "type" : " git" ,
62- "url" : " git@ github.com: bahmutov/code-snippets.git"
63+ "url" : " https:// github.com/ bahmutov/code-snippets.git"
6364 },
6465 "scripts" : {
6566 "build" : " grunt" ,
6667 "commit" : " git-issues && commit-wizard" ,
6768 "grunt" : " grunt" ,
6869 "issues" : " git-issues" ,
70+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post" ,
6971 "size" : " t=\" $(npm pack .)\" ; wc -c \" ${t}\" ; tar tvf \" ${t}\" ; rm \" ${t}\" ;" ,
7072 "test" : " grunt"
7173 }
You can’t perform that action at this time.
0 commit comments