This repository was archived by the owner on Oct 10, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 7474 "eslint-plugin-node" : " ^8.0.1" ,
7575 "eslint-plugin-prettier" : " ^3.0.1" ,
7676 "from2-string" : " ^1.1.0" ,
77+ "gh-release" : " ^3.5.0" ,
7778 "npm-run-all" : " ^4.1.3" ,
7879 "nyc" : " ^13.3.0" ,
7980 "prettier" : " ^1.16.4" ,
102103 "build:webpack" : " webpack" ,
103104 "ci" : " run-s test build" ,
104105 "deptree" : " depcruise --exclude '^node_modules' --output-type dot src | dot -T svg > site/dist/dependencygraph.svg" ,
105- "prepublishOnly" : " npm run build:webpack" ,
106+ "prepublishOnly" : " npm run build:webpack && git push && git push --tags && gh-release " ,
106107 "report" : " nyc report --reporter=text-lcov | coveralls" ,
107108 "test" : " run-s test:*" ,
108109 "test:ava" : " nyc --reporter=lcov ava --verbose && nyc report" ,
109110 "test:deps" : " dependency-check ./package.json --entry \" src/**/!(*.test).js\" --unused --missing --no-dev --no-peer" ,
110111 "test:lint" : " eslint src" ,
111112 "watch" : " nyc --reporter=lcov ava --watch" ,
112- "clean" : " rimraf dist coverage"
113+ "clean" : " rimraf dist coverage" ,
114+ "version" : " auto-changelog -p --template keepachangelog --breaking-pattern breaking --starting-commit v2.4.1 && git add CHANGELOG.md"
113115 }
114116}
You can’t perform that action at this time.
0 commit comments