diff --git a/package.json b/package.json index 761534ff6..8b0e5242b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "scripts": { "prepare": "husky install", "test:restapi": "cd packages/restapi && TS_NODE_PROJECT='./tsconfig.mocha.json' NODE_OPTIONS='--loader ts-node/esm' mocha -r ts-node/register 'tests/**/*.test.ts' --timeout 1200000 --require tests/root.ts --serial", - "test:d-node-notif": "cd packages/d-node-notif && TS_NODE_PROJECT='./tsconfig.mocha.json' NODE_OPTIONS='--loader ts-node/esm' mocha -r ts-node/register 'tests/**/*.test.ts' --timeout 1200000 --require tests/root.ts --serial", "cleanbuild": "rimraf ./dist && rimraf ./tmp" }, "config": { diff --git a/packages/d-node-notif/.eslintrc.json b/packages/d-node-notif/.eslintrc.json index 9d9c0db55..b5a180969 100644 --- a/packages/d-node-notif/.eslintrc.json +++ b/packages/d-node-notif/.eslintrc.json @@ -1,6 +1,6 @@ { "extends": ["../../.eslintrc.json"], - "ignorePatterns": ["!**/*"], + "ignorePatterns": ["!**/*", "node_modules"], "overrides": [ { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], diff --git a/packages/d-node-notif/project.json b/packages/d-node-notif/project.json index ce5577eb5..df0d02019 100644 --- a/packages/d-node-notif/project.json +++ b/packages/d-node-notif/project.json @@ -19,13 +19,12 @@ "options": { "lintFilePatterns": ["packages/d-node-notif/**/*.ts"] } - } - }, + }, "test": { "executor": "@nrwl/workspace:run-commands", "outputs": ["coverage/packages/d-node-notif"], "options": { - "commands": ["yarn run test:d-node-notif"], + "commands": ["cd packages/d-node-notif && yarn run test"], "passWithNoTests": true } }, @@ -52,6 +51,7 @@ "options": { "command": "node tools/scripts/publish.mjs d-node_notif" } - }, + } +}, "tags": [] }