diff --git a/.release-it.json b/.release-it.json new file mode 100644 index 0000000..3bc0779 --- /dev/null +++ b/.release-it.json @@ -0,0 +1,8 @@ +{ + "git": { + "commitMessage": "chore(release): cut the v${version} release" + }, + "github": { + "release": true + } +} diff --git a/package.json b/package.json index 7cb8e0d..813a562 100644 --- a/package.json +++ b/package.json @@ -8,16 +8,16 @@ "repository": "github:mgcrea/node-tydom-client", "license": "MIT", "scripts": { - "start": "yarn spec:watch", - "test": "yarn pretty && yarn lint && yarn spec", + "start": "npm run spec:watch", + "test": "npm run pretty && npm run lint && npm run spec", "spec": "NODE_TLS_REJECT_UNAUTHORIZED=0 CI=true jest --runInBand --colors", - "spec:watch": "yarn spec --watch", - "spec:coverage": "yarn spec --coverage", + "spec:watch": "npm run spec --watch", + "spec:coverage": "npm run spec --coverage", "lint": "eslint --ext .ts src/", "pretty": "prettier --check '{src,test}/**/*.ts'", "typecheck": "tsc --noEmit", "build": "tsc --build", - "prepare": "yarn build" + "prepublishOnly": "npm run build" }, "bin": { "tydom": "lib/cli/tydom.js"