Prepare for publishing to npm registry

This commit is contained in:
Juhani Krekelä 2018-05-29 20:01:34 +03:00
parent f0feaa22e5
commit ccc320522a
3 changed files with 21 additions and 2 deletions

2
.npmignore Normal file
View File

@ -0,0 +1,2 @@
*.html
.gitignore

View File

@ -29,5 +29,4 @@ TODO
* Implement a UI
### General
* Get this on NPM?
* Move into subdirectories?
* Move stuff into subdirectories?

18
package.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "bf-gir",
"version": "1.0.0",
"description": "Optimizing brainfuck interpreter",
"main": "gir.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://ahti-saarelainen.zgrep.org/git/nortti/gir.git"
},
"keywords": [
"brainfuck"
],
"author": "nortti",
"license": "Unlicense"
}