Skip to content

Commit

Permalink
Add npm packaging infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
kemitchell committed Jan 29, 2016
1 parent 84c2c69 commit 049b405
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
WTFPL.json
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Plaintext of The Do What the Fuck You Want to Public License from www.wtfpl.net

The package exports a string with Unix-style line breaks.
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "wtfpl",
"description": "Plaintext of The Do What the Fuck You Want to Public License from www.wtfpl.net",
"version": "0.0.0",
"files": [
"README.md",
"WTFPL.json",
"package.json"
],
"main": "WTFPL.json",
"repository": "jslicense/wtfpl",
"scripts": {
"prepublish": "node -e \"process.stdout.write(JSON.stringify(require('fs').readFileSync('WTFPL').toString()))\" > WTFPL.json"
}
}

0 comments on commit 049b405

Please sign in to comment.