Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
Add release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Nov 7, 2019
1 parent 2885232 commit ecc99b2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion @antv/gatsby-theme-antv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,16 @@
"release": "release-it",
"copy:components": "mkdir -p lib && cp -R .tmp/@antv/gatsby-theme-antv/site/components lib && cp site/components/*.less ./lib/components && cp site/common.json ./lib",
"compile:components": "rm -rf .tmp lib && ../../node_modules/.bin/tsc --outDir .tmp --noEmit false -d && npm run copy:components",
"prepublishOnly": "npm run compile:components && np --yolo --no-publish",
"test": "jest"
},
"hooks": {
"before:init": ["npm test", "npm run compile:components"]
},
"release-it": {
"github": {
"release": true
}
},
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit ecc99b2

Please sign in to comment.