diff --git a/examples/vanilla-nyc/.gitignore b/examples/vanilla-nyc/.gitignore new file mode 100644 index 00000000..3334e44b --- /dev/null +++ b/examples/vanilla-nyc/.gitignore @@ -0,0 +1,2 @@ +.nyc_output +package-lock.json diff --git a/examples/vanilla-nyc/main.js b/examples/vanilla-nyc/main.js new file mode 100644 index 00000000..7b9cf900 --- /dev/null +++ b/examples/vanilla-nyc/main.js @@ -0,0 +1,10 @@ +function test(num) { + if (num > 0){ + return 1 + } else { + return 2 + } +} + +console.log(test(1)) + diff --git a/examples/vanilla-nyc/package.json b/examples/vanilla-nyc/package.json new file mode 100644 index 00000000..4db25342 --- /dev/null +++ b/examples/vanilla-nyc/package.json @@ -0,0 +1,15 @@ +{ + "name": "vanilla-nyc", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "nyc node main.js && nyc report --reporter=html" + }, + "keywords": [], + "author": "", + "license": "ISC", + "devDependencies": { + "nyc": "^17.1.0" + } +} diff --git a/tools/canyon-playground/.gitignore b/tools/canyon-playground/.gitignore new file mode 100755 index 00000000..e0461513 --- /dev/null +++ b/tools/canyon-playground/.gitignore @@ -0,0 +1,45 @@ +# Logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + +# IDE / Editor +.idea/* +!.idea/rcb-settings.xml + +# PNPM +.pnpm-store + + +pnpm-lock.yaml + +.env + +db/sql + + +coverage + +schema.gql + +target/ +Cargo.lock diff --git a/tools/canyon-playground/cov.json b/tools/canyon-playground/cov.json new file mode 100644 index 00000000..e69de29b diff --git a/tools/canyon-playground/gen-report.js b/tools/canyon-playground/gen-report.js new file mode 100644 index 00000000..e69de29b