mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-12-22 13:42:14 +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": {
|
"scripts": {
|
||||||
"clean": "rimraf **/*.pyc",
|
"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": "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",
|
"release:beta": "npm run release && npm run tag:beta",
|
||||||
"tag:beta": "with-package npm dist-tag add pkg.name@pkg.version 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",
|
"homepage": "https://github.com/ejwa/gitinspector#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"crlf": "^1.1.0",
|
||||||
"rimraf": "^2.5.4",
|
"rimraf": "^2.5.4",
|
||||||
"with-package": "^0.2.0"
|
"with-package": "^0.2.0"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue