diff --git a/.gitignore b/.gitignore index 7f7160e..726c3c1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,97 @@ -/node_modules/ -/lib/ -/test/ -custom-elements.json -# top level source -my-element.js -my-element.js.map -my-element.d.ts -my-element.d.ts.map -# only generated for size check -my-element.bundled.js \ No newline at end of file +### Node template +# Logs +/logs +*.log* +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Nitro and output files +.nitro + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# Nuxt generate +dist + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless + +# IDE / Editor +.idea + +# macOS +.DS_Store + +# Vim swap files +*.swp + +# temp files +/tmp + +# Elastic Beanstalk Files +.elasticbeanstalk/* +!.elasticbeanstalk/*.cfg.yml +!.elasticbeanstalk/*.global.yml + +# Don't commit build files +.awspublish + +# ignore test folder +/test + +# ignore test-results +/test-results diff --git a/tsconfig.json b/tsconfig.json index 9a47b63..f3f99a7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "declarationMap": true, "sourceMap": true, "inlineSources": true, - "outDir": "./", + "outDir": "./dist/", "rootDir": "./src", "strict": true, "noUnusedLocals": true,