Skip to content

Commit

Permalink
Merge pull request #72 from edx/implement-semantic-release
Browse files Browse the repository at this point in the history
feat(semantic-release): implement semantic release
  • Loading branch information
jaebradley committed Nov 16, 2017
2 parents c408b0d + 8de3944 commit 82a2129
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
language: node_js

node_js:
- 8
- 6

cache:
directories:
- ~/.npm

notifications:
email:
recipients:
- [email protected]
- [email protected]
on_success: always
on_failure: always

script:
- npm run lint
- npm run test

after_script:
- npm run coveralls
- npm run semantic-release
13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@edx/paragon",
"version": "1.1.7",
"version": "0.0.0-development",
"description": "Accessible, responsive UI component library based on Bootstrap.",
"main": "src/index.js",
"author": "arizzitano",
Expand All @@ -13,6 +13,8 @@
"deploy-storybook": "storybook-to-ghpages",
"lint": "eslint --ext .js --ext .jsx .",
"precommit": "npm run lint",
"commit": "git-cz",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"snapshot": "jest --updateSnapshot",
"start": "start-storybook -p 6006",
"test": "jest --coverage"
Expand All @@ -32,6 +34,7 @@
"@storybook/addon-console": "^1.0.0",
"@storybook/addon-options": "^3.2.6",
"@storybook/addon-storyshots": "^3.2.8",
"@storybook/channels": "^3.2.15",
"@storybook/react": "^3.2.12",
"@storybook/storybook-deployer": "^2.0.0",
"babel-cli": "^6.24.1",
Expand All @@ -42,8 +45,10 @@
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.4.0",
"babel-preset-react": "^6.24.1",
"commitizen": "^2.9.6",
"coveralls": "^3.0.0",
"css-loader": "^0.28.4",
"cz-conventional-changelog": "^2.1.0",
"enzyme": "^2.8.2",
"eslint": "^4.5.0",
"eslint-config-airbnb": "^15.0.1",
Expand All @@ -61,6 +66,7 @@
"react-router-dom": "^4.1.1",
"react-test-renderer": "^15.6.1",
"sass-loader": "^6.0.5",
"semantic-release": "^8.2.0",
"source-map-loader": "^0.2.1",
"style-loader": "^0.19.0",
"webpack": "^3.0.0",
Expand All @@ -76,5 +82,10 @@
"/node_modules/",
"(.stories)\\.(jsx)$"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}

0 comments on commit 82a2129

Please sign in to comment.