chore: config files

This commit is contained in:
Stephan Bönnemann 2015-06-14 11:23:09 -07:00
parent ac7037d948
commit 56238887d3
5 changed files with 120 additions and 0 deletions

11
.gitignore vendored Normal file
View File

@ -0,0 +1,11 @@
# common
coverage
node_modules
*.log
.DS_Store
.nyc_output
.test
.tmp
# build-artifacts
dist

13
.npmignore Normal file
View File

@ -0,0 +1,13 @@
# common
coverage
node_modules
*.log
.DS_Store
.nyc_output
.test
.tmp
# source/config
src
*.yml
.gitignore

28
.travis.yml Normal file
View File

@ -0,0 +1,28 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- iojs-v2
- iojs-v1
- '0.12'
- '0.10'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
- curl -Lo travis_after_all.py https://raw.github.com/dmakhno/travis_after_all/master/travis_after_all.py
after_success:
- python travis_after_all.py
- export $(cat .to_export_back)
- if [[ $BUILD_LEADER = YES ]]; then npm run coverage:upload; fi
after_failure:
- python travis_after_all.py
- export $(cat .to_export_back)
before_deploy:
- rm -f travis_after_all.py .to_export_back
after_script:
- echo leader=$BUILD_LEADER status=$BUILD_AGGREGATE_STATUS

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# semantic-release core scripts
[![npm version](https://badge.fury.io/js/%40semantic-release%2Fcore.svg)](http://badge.fury.io/js/%40semantic-release%2Fcore)
[![Build Status](https://travis-ci.org/semantic-release/core.svg?branch=master)](https://travis-ci.org/semantic-release/core)
[![Test Coverage](https://codeclimate.com/github/semantic-release/core/badges/coverage.svg)](https://codeclimate.com/github/semantic-release/core/coverage)
[![Dependency Status](https://david-dm.org/semantic-release/core.svg)](https://david-dm.org/semantic-release/core)
[![devDependency Status](https://david-dm.org/semantic-release/core/dev-status.svg)](https://david-dm.org/semantic-release/core#info=devDependencies)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)

61
package.json Normal file
View File

@ -0,0 +1,61 @@
{
"name": "@semantic-release/core",
"description": "The scripts that do the actual release work.",
"author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)",
"bugs": {
"url": "https://github.com/semantic-release/core/issues"
},
"config": {
"nyc": {
"exclude": [
".test",
"node_modules"
]
}
},
"dependencies": {
"npm-registry-client": "^6.4.0",
"npmconf": "^2.1.2",
"npmlog": "^1.2.1"
},
"devDependencies": {
"babel": "^5.5.8",
"codeclimate-test-reporter": "0.0.4",
"coveralls": "^2.11.2",
"mkdirp": "^0.5.1",
"nock": "^2.5.0",
"nyc": "^2.3.0",
"rimraf": "^2.4.0",
"semver": "^4.3.6",
"standard": "^4.2.1",
"tap": "^1.2.0"
},
"homepage": "https://github.com/semantic-release/core#readme",
"keywords": [
"author",
"automation",
"changelog",
"module",
"package",
"publish",
"release",
"semver",
"version"
],
"license": "MIT",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/semantic-release/core.git"
},
"scripts": {
"build": "rimraf dist && mkdirp dist && babel src --out-dir dist",
"build:tests": "rimraf .test && mkdirp .test && babel test --out-dir .test",
"coverage": "nyc report",
"coverage:upload": "npm run coverage -- --reporter=lcovonly && codeclimate < coverage/lcov.info",
"pretest:suite": "npm run build && npm run build:tests",
"test": "npm run test:style && npm run test:suite",
"test:style": "standard",
"test:suite": "nyc tap --no-cov .test/{scenarios,specs}/*.js"
}
}