diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..57de941 --- /dev/null +++ b/.npmignore @@ -0,0 +1,10 @@ +.DS_Store +.idea/ + +irrelevant/ +wtfpython-pypi/** + +# Python-specific byte-compiled files should be ignored +__pycache__/ +*.py[cod] +*$py.class diff --git a/package.json b/package.json new file mode 100644 index 0000000..eae9e95 --- /dev/null +++ b/package.json @@ -0,0 +1,41 @@ +{ + "name": "wtfpython", + "version": "2.2.2", + "description": "A collection of surprising Python snippets and lesser known features. [ARCHIVED]", + "bin": "wtfpython", + "scripts": { + "postpublish": "git push origin master", + "toc": "doctoc --github --title '# Table of Contents' --maxlevel 3 README.md" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/satwikkansal/wtfPython.git" + }, + "keywords": [ + "python", + "specification", + "notes", + "wtf", + "learning", + "guide", + "handbook" + ], + "author": "Satwik Kansal (https://satwikkansal.xyz)", + "license": "WTFPL 2.0", + "bugs": { + "url": "https://github.com/satwikkansal/wtfPython/issues" + }, + "homepage": "https://github.com/satwikkansal/wtfPython#readme", + "devDependencies": { + "doctoc": "^1.3.0" + }, + "dependencies": { + "boxen": "^1.1.0", + "chalk": "^1.1.1", + "default-pager": "^1.1.0", + "meow": "^3.7.0", + "msee": "^0.3.3", + "through2": "^2.0.2", + "update-notifier": "^2.0.0" + } +}