Skip to content

Commit

Permalink
Fixed the package.json version, license and package description
Browse files Browse the repository at this point in the history
  • Loading branch information
Caner Dagli committed Apr 30, 2018
1 parent b8789ac commit 86252ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
7 changes: 1 addition & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,4 @@ program
.option('--firefox-driver-target-path [firefoxDriverTargetPath]', 'Path to install Firefox driver(geckoDriver) executable')
.parse(process.argv);

driverInstaller(program.chromeVersion, program.chromeDriverTargetPath, program.firefoxVersion, program.firefoxDriverTargetPath);

/*
node index.js --chrome-version 67 --chrome-driver-target-path output/chromeDriver
node index.js --firefox-version 55 --firefox-driver-target-path output/geckoDriver
*/
driverInstaller(program.chromeVersion, program.chromeDriverTargetPath, program.firefoxVersion, program.firefoxDriverTargetPath);
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
"bin": {
"browserDriverInstaller": "./index.js"
},
"name": "unscrambl-browser-driver-installer",
"version": "0.0.5",
"description": "Installs the browser drivers for the matching browser versions",
"name": "browser-driver-installer",
"version": "0.0.1",
"description": "Installs Chrome and Gecko drivers that matches with the specified browser versions",
"main": "index.js",
"dependencies": {
"commander": "2.15.1",
"shelljs": "0.8.1"
},
"scripts": {
"postinstall": "node ./index.js --chrome-version $UNSCRAMBL_CHROME_VERSION --chrome-driver-target-path $UNSCRAMBL_CHROMEDRIVER_PATH --firefox-version $UNSCRAMBL_FIREFOX_VERSION --firefox-driver-target-path $UNSCRAMBL_GECKODRIVER_PATH"
"postinstall": "node ./index.js --chrome-version $CHROME_VERSION --chrome-driver-target-path $CHROMEDRIVER_PATH --firefox-version $FIREFOX_VERSION --firefox-driver-target-path $GECKODRIVER_PATH"
},
"author": "Unscrambl",
"license": "ISC"
"license": "Apache-2.0"
}

0 comments on commit 86252ee

Please sign in to comment.