Skip to content

Commit 82ef4c2

Browse files
author
Cleverson Sampaio
committed
chore(package): changing script commands
changing commands to facilitate commands through npm for cleanup and build
1 parent 7a5795f commit 82ef4c2

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

package.json

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,21 @@
55
"main": "index.js",
66
"scripts": {
77
"commit": "cz",
8-
"install": "python setup.py install",
9-
"uninstall": "pip uninstall robotframework-seleniumlibraryextends -y",
10-
"build": "npm run uninstall && npm run install"
8+
"install_library": "python setup.py install",
9+
"package_library": "python setup.py sdist bdist_wheel",
10+
"uninstall_library": "pip uninstall robotframework-seleniumlibraryextends -y",
11+
"clean": "rimraf build dist results src/robotframework_seleniumlibraryextends.egg-info",
12+
"build_prod": "npm run clean && npm run uninstall_library && npm run package_library",
13+
"build_dev": "npm run clean && npm run uninstall_library && npm run install_library"
1114
},
1215
"repository": {
1316
"type": "git",
1417
"url": "git+https://github.com/dbspt/SeleniumLibraryExtends.git"
1518
},
16-
"keywords": ["robotframework", "seleniumlibrary"],
19+
"keywords": [
20+
"robotframework",
21+
"seleniumlibrary"
22+
],
1723
"author": {
1824
"name": "Cléverson Sampaio",
1925
"email": "[email protected]"
@@ -25,11 +31,12 @@
2531
"homepage": "https://github.com/dbspt/SeleniumLibraryExtends#readme",
2632
"devDependencies": {
2733
"commitizen": "^4.2.4",
28-
"cz-conventional-changelog": "^3.3.0"
34+
"cz-conventional-changelog": "^3.3.0",
35+
"rimraf": "^3.0.2"
2936
},
3037
"config": {
3138
"commitizen": {
3239
"path": "./node_modules/cz-conventional-changelog"
3340
}
3441
}
35-
}
42+
}

0 commit comments

Comments
 (0)