Skip to content

Commit

Permalink
add prepublish script
Browse files Browse the repository at this point in the history
  • Loading branch information
Dileep17 committed Aug 9, 2022
1 parent b11f7b4 commit 317a629
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "appium-reporter-plugin",
"version": "1.0.0-beta.3",
"version": "1.0.0-beta.4",
"description": "Appium 2.0 plugin for generating html report with screenshots server side.",
"main": "./lib/index.js",
"scripts": {
"build": "npx tsc && cp ./src/template.html ./lib/template.html",
"prepublish": "npx tsc && cp ./src/template.html ./lib/template.html",
"install-plugin": "npm run build && appium plugin install --source=local $(pwd)",
"reinstall-plugin": "(appium plugin uninstall appium-reporter-plugin || exit 0) && npm run install-plugin",
"test": "echo 'test'",
Expand Down

0 comments on commit 317a629

Please sign in to comment.