From 6bc3b443b2c21c7163a593ef6223a561a3654696 Mon Sep 17 00:00:00 2001 From: Chris Blossom Date: Wed, 29 May 2019 15:10:12 -0700 Subject: [PATCH] use np to handle package releases --- .np-config.js | 5 +++++ package.json | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .np-config.js diff --git a/.np-config.js b/.np-config.js new file mode 100644 index 0000000..834f555 --- /dev/null +++ b/.np-config.js @@ -0,0 +1,5 @@ +'use strict'; + +module.exports = { + yarn: false, +}; diff --git a/package.json b/package.json index 41549fc..242503d 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "typescript": "tsc", "git-pre-commit": "lint-staged", "git-pre-push": "npm run lint && npm run typescript && npm run test.all", - "prepublishOnly": "npm run build && npm run lint && npm run typescript && npm run test.all" + "prepublishOnly": "npm run build && npm run lint && npm run typescript && npm run test.all", + "release": "np" }, "peerDependencies": { "webpack": "*" @@ -67,6 +68,7 @@ "jest": "^24.8.0", "lint-staged": "^8.1.7", "listr": "^0.14.3", + "np": "^5.0.2", "prettier": "^1.17.1", "read-pkg-up": "^6.0.0", "semver": "^6.0.0",