chore: setup semantic-release
This commit is contained in:
		
							parent
							
								
									72f9f8ea7c
								
							
						
					
					
						commit
						2d3506cda1
					
				@ -22,7 +22,6 @@ after_success:
 | 
				
			|||||||
after_failure:
 | 
					after_failure:
 | 
				
			||||||
- python travis_after_all.py
 | 
					- python travis_after_all.py
 | 
				
			||||||
- export $(cat .to_export_back)
 | 
					- export $(cat .to_export_back)
 | 
				
			||||||
before_deploy:
 | 
					 | 
				
			||||||
- rm -f travis_after_all.py .to_export_back
 | 
					 | 
				
			||||||
after_script:
 | 
					after_script:
 | 
				
			||||||
- echo leader=$BUILD_LEADER status=$BUILD_AGGREGATE_STATUS
 | 
					- rm -f travis_after_all.py .to_export_back
 | 
				
			||||||
 | 
					- npm run semantic-release
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										10
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								package.json
									
									
									
									
									
								
							@ -2,9 +2,18 @@
 | 
				
			|||||||
  "name": "semantic-release-scripts",
 | 
					  "name": "semantic-release-scripts",
 | 
				
			||||||
  "description": "automated semver compliant package publishing",
 | 
					  "description": "automated semver compliant package publishing",
 | 
				
			||||||
  "author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)",
 | 
					  "author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)",
 | 
				
			||||||
 | 
					  "bin": {
 | 
				
			||||||
 | 
					    "semantic-release-scripts": "./bin/semantic-release.js"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
  "bugs": {
 | 
					  "bugs": {
 | 
				
			||||||
    "url": "https://github.com/semantic-release/scripts/issues"
 | 
					    "url": "https://github.com/semantic-release/scripts/issues"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					  "bundleDependencies": [
 | 
				
			||||||
 | 
					    "@semantic-release/commit-analyzer",
 | 
				
			||||||
 | 
					    "@semantic-release/condition-travis",
 | 
				
			||||||
 | 
					    "@semantic-release/error",
 | 
				
			||||||
 | 
					    "@semantic-release/release-notes-generator"
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
  "config": {
 | 
					  "config": {
 | 
				
			||||||
    "nyc": {
 | 
					    "nyc": {
 | 
				
			||||||
      "exclude": [
 | 
					      "exclude": [
 | 
				
			||||||
@ -67,6 +76,7 @@
 | 
				
			|||||||
    "coverage:upload": "npm run coverage -- --reporter=lcovonly && coveralls < coverage/lcov.info",
 | 
					    "coverage:upload": "npm run coverage -- --reporter=lcovonly && coveralls < coverage/lcov.info",
 | 
				
			||||||
    "pretest:integration": "npm run build && npm run test:build",
 | 
					    "pretest:integration": "npm run build && npm run test:build",
 | 
				
			||||||
    "pretest:unit": "npm run build && npm run test:build",
 | 
					    "pretest:unit": "npm run build && npm run test:build",
 | 
				
			||||||
 | 
					    "semantic-release": "./bin/semantic-release.js pre && npm dedupe && npm publish && ./bin/semantic-release.js post",
 | 
				
			||||||
    "test": "npm run test:style && npm run test:unit",
 | 
					    "test": "npm run test:style && npm run test:unit",
 | 
				
			||||||
    "test:build": "rimraf .test && mkdirp .test && babel test --out-dir .test",
 | 
					    "test:build": "rimraf .test && mkdirp .test && babel test --out-dir .test",
 | 
				
			||||||
    "test:integration": "tap --no-cov .test/scenarios/*.js",
 | 
					    "test:integration": "tap --no-cov .test/scenarios/*.js",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user