Convert line endings of Python files to Unix-style before publishing

This commit is contained in:
Bart van Andel 2017-01-15 15:21:21 +01:00 committed by Adam Waldenberg
parent a8e0de7910
commit 1e5f5959db

View file

@ -10,7 +10,8 @@
},
"scripts": {
"clean": "rimraf **/*.pyc",
"prepublish": "npm run clean",
"crlf": "crlf --set=LF **/*.py",
"prepublish": "npm run clean && npm run crlf",
"release": "with-package git commit -am pkg.version && with-package git tag pkg.version && git push && npm publish && git push --tags",
"release:beta": "npm run release && npm run tag:beta",
"tag:beta": "with-package npm dist-tag add pkg.name@pkg.version beta",
@ -53,6 +54,7 @@
},
"homepage": "https://github.com/ejwa/gitinspector#readme",
"devDependencies": {
"crlf": "^1.1.0",
"rimraf": "^2.5.4",
"with-package": "^0.2.0"
},