File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99
99
"debug" : " ts-node src/cli.ts" ,
100
100
"lint" : " eslint . bin/rdme bin/set-version-output --ext .js,.ts" ,
101
101
"lint-docs" : " npx alex@10 . && npm run prettier" ,
102
- "postversion" : " git tag $(npm pkg get version | tr -d ' \" ') " ,
102
+ "postversion" : " git tag $npm_package_version " ,
103
103
"prebuild" : " rm -rf dist/" ,
104
104
"prepack" : " npm run build" ,
105
105
"pretest" : " npm run lint && npm run lint-docs" ,
106
106
"prettier" : " prettier --list-different \" ./**/**.{md,js,ts}\" " ,
107
107
"prettier:write" : " prettier --list-different --write \" ./**/**.{md,js,ts}\" " ,
108
108
"release" : " npx conventional-changelog-cli -i CHANGELOG.md -s" ,
109
109
"test" : " jest --coverage" ,
110
- "version" : " npm run release && git add . "
110
+ "version" : " npm run release && git add CHANGELOG.md "
111
111
},
112
112
"prettier" : " @readme/eslint-config/prettier"
113
113
}
You can’t perform that action at this time.
0 commit comments