Skip to content

Commit

Permalink
chore: use shipjs
Browse files Browse the repository at this point in the history
  • Loading branch information
ymmooot committed Feb 21, 2023
1 parent 670c5d5 commit 72323f1
Show file tree
Hide file tree
Showing 3 changed files with 921 additions and 38 deletions.
17 changes: 4 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,18 @@
"repository": "ssh://[email protected]/ymmooot/nuxt-jsonld.git",
"author": "Ryota Yamamoto <[email protected]>",
"license": "MIT",
"keywords": [
"attribute",
"head",
"meta",
"seo",
"vue",
"nuxt",
"jsonld"
],
"keywords": ["attribute", "head", "meta", "seo", "vue", "nuxt", "jsonld"],
"scripts": {
"test": "jest",
"test:ci": "jest --coverage && codecov",
"prebuild": "rimraf lib",
"build": "tsc -p .",
"preversion": "npm run build",
"release": "semantic-release",
"release": "shipjs prepare",
"lint": "eslint --ext .ts,.js .",
"lint:fix": "eslint --ext .ts,.js --fix ."
},
"files": [
"lib"
],
"files": ["lib"],
"typings": "./lib/index.d.ts",
"dependencies": {
"schema-dts": "^1.0.0"
Expand All @@ -48,6 +38,7 @@
"prettier": "^2.4.1",
"rimraf": "^3.0.0",
"semantic-release": "^18.0.0",
"shipjs": "0.25.1",
"ts-jest": "^27.0.7",
"typescript": "^4.4.4",
"vue": "^2.6.12",
Expand Down
7 changes: 7 additions & 0 deletions ship.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
publishCommand: ({ isYarn }) => {
return isYarn
? `npm_config_registry=https://registry.npmjs.org/ npm publish --tag v1-lts`
: `npm publish --tag v1-lts`;
},
};
Loading

0 comments on commit 72323f1

Please sign in to comment.