Skip to content

Commit

Permalink
chore: add np for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 2, 2019
1 parent 9ed0bcd commit 1cac9bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
message="chore(release): %s"
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
"test:pg": "DB=pg node japaFile.js",
"test:docker": "npm run test:sqlite && npm run test:mysql && npm run test:pg",
"test": "docker-compose -f docker-compose.yml -f docker-compose-test.yml build && docker-compose -f docker-compose.yml -f docker-compose-test.yml run --rm test",
"prepublishOnly": "npm run build",
"lint": "tslint --project tsconfig.json",
"clean": "del build",
"compile": "npm run lint && npm run clean && tsc",
"build": "npm run compile",
"commit": "git-cz"
"commit": "git-cz",
"release": "np",
"version": "npm run build"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -64,8 +65,8 @@
"japa": "^3.0.0",
"mrm": "^1.2.2",
"mysql": "^2.17.1",
"np": "^5.0.3",
"pg": "^7.12.1",
"pkg-ok": "^2.3.1",
"sqlite3": "^4.1.0",
"ts-node": "^8.3.0",
"tslint": "^5.19.0",
Expand Down Expand Up @@ -101,5 +102,9 @@
"keywords": [],
"adonisjs": {
"instructions": "./build/instructions.js"
},
"np": {
"contents": ".",
"anyBranch": true
}
}

0 comments on commit 1cac9bd

Please sign in to comment.