releaset-it-demo 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/.release-it.json +17 -0
  2. package/package.json +18 -0
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "https://unpkg.com/release-it@19/schema/release-it.json",
3
+ "git": {
4
+ "requireBranch": "main",
5
+ "commitMessage": "chore: release v${version}"
6
+ },
7
+ "hooks": {
8
+ "before:init": ["git pull", "npm run lint", "npm run test"],
9
+ "after:bump": "npm run build"
10
+ },
11
+ "github": {
12
+ "release": true
13
+ },
14
+ "npm": {
15
+ "release": true
16
+ }
17
+ }
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "releaset-it-demo",
3
+ "version": "1.0.1",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "test": "echo \"test success\"",
7
+ "lint": "echo \"lint success\"",
8
+ "build": "echo \"build success\"",
9
+ "release": "release-it"
10
+ },
11
+ "keywords": [],
12
+ "author": "",
13
+ "license": "ISC",
14
+ "description": "",
15
+ "devDependencies": {
16
+ "release-it": "^19.2.2"
17
+ }
18
+ }