Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
Use CircleCI to publish new versions to NPM (#7)
Browse files Browse the repository at this point in the history
* Use CircleCI to publish new versions to NPM

* Update dependecies
  • Loading branch information
sbstjn committed Apr 28, 2017
1 parent b83db98 commit b7a53fb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
11 changes: 10 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,13 @@ test:
override:
- yarn test:cover
post:
- yarn coveralls
- yarn coveralls

deployment:
release:
tag: /v[0-9]+(\.[0-9]+)*/
commands:
- yarn add dot-json
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/serverless-dynamodb-ttl/.npmrc
- dot-json package.json version ${CIRCLE_TAG:1}
- yarn publish
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "serverless-dynamodb-ttl",
"version": "0.0.4",
"description": "Serverless plugin to configure DynamoDB TTL",
"main": "src/plugin.js",
"license": "MIT",
Expand Down Expand Up @@ -28,10 +27,7 @@
},
"homepage": "https://github.com/Jimdo/serverless-dynamodb-ttl#readme",
"dependencies": {
"coveralls": "^2.13.0",
"jest": "^19.0.2",
"snazzy": "^7.0.0",
"standard": "^10.0.2"
"aws-sdk": "^2.45.0"
},
"standard": {
"envs": [
Expand All @@ -44,7 +40,10 @@
]
},
"devDependencies": {
"aws-sdk": "^2.45.0",
"coveralls": "^2.13.0",
"jest": "^19.0.2",
"snazzy": "^7.0.0",
"standard": "^10.0.2",
"aws-sdk-mock": "^1.7.0"
}
}

0 comments on commit b7a53fb

Please sign in to comment.