diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f06235c --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules +dist diff --git a/README.md b/README.md index 82f92b9..8390ce0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,17 @@ +== To build == + + npm install + npm run build + + +== How these files were created (tutorial) == + +To go through the full process, rm the package.json and regenerate it with: + npm init -y -Makes an empty [package.json](package.json) in this directory. When you install with npm install --save, the names of packages get added to "dependencies" in this file, so that later you can just "npm install" to reinstall all the dependencies (it's like pip + requirements.txt if that sounds familiar). +This makes an empty [package.json](package.json) in this directory. When you install with npm install --save, the names of packages get added to "dependencies" in this file, so that later you can just "npm install" to reinstall all the dependencies (it's like pip + requirements.txt if that sounds familiar). First install three js with npm, following