mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 00:28:25 +01:00
Convert line endings of Python files to Unix-style before publishing
This commit is contained in:
parent
a8e0de7910
commit
1e5f5959db
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue