Skip to content

Commit

Permalink
chore: avoid samples folder to be linted and tested
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyunugro committed Oct 30, 2022
1 parent 6b4d47e commit dc8e83b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 11 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
samples/*.sample.ts
26 changes: 16 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"clean": "shx rm -rf dist/ && shx rm -rf coverage/",
"ci": "ts-mocha --watch --watch-files \"src/**/*.ts,test/**/*.ts\" \"test/**/*.spec.ts\"",
"commit": "cz -S",
"compile": "npm run clean && tsc",
"compile": "npm run clean && tsc --project tsconfig.build.json",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"lint": "eslint --ext .ts ./src ./test",
"mocha": "ts-mocha \"test/**/*.spec.ts\" --recursive --retries 2",
Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "./tsconfig.json",
"include": ["src"]
}

0 comments on commit dc8e83b

Please sign in to comment.