diff --git a/.gitignore b/.gitignore index 44856c2d..241daa19 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,13 @@ /node_modules npm-* +# Testing +/.nyc_output +/coverage + +# IDEA +/.idea + # Build -/render*.js -/dist.js -/playground/render.js +/dist +/playground/scratch-render.js diff --git a/package.json b/package.json index b15db152..6fa411ba 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "type": "git", "url": "git+ssh://git@github.com/LLK/scratch-render.git" }, - "main": "./dist.js", + "main": "./dist/node/scratch-render.js", "scripts": { "build": "./node_modules/.bin/webpack --progress --colors", "lint": "./node_modules/.bin/eslint .", diff --git a/playground/index.html b/playground/index.html index 19d0bac1..ad94720e 100644 --- a/playground/index.html +++ b/playground/index.html @@ -31,7 +31,7 @@ Min: Max:
- +