Skip to content

Commit

Permalink
chore: updates watch and validate commands to match our standard
Browse files Browse the repository at this point in the history
  • Loading branch information
andr9528 committed Dec 12, 2023
1 parent 60de253 commit 804084c
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 261 deletions.
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"unit": "jest --coverage",
"test": "yarn lint && yarn unit",
"test:integration": "yarn lint && jest --config=jest-integration.config.js",
"watch": "jest --watch",
"watch": "yarn build && cross-env NODE_ENV=development node --watch ./dist ",
"cov": "jest; open-cli coverage/lcov-report/index.html",
"cov-open": "open-cli coverage/lcov-report/index.html",
"send-coverage": "jest && codecov",
Expand All @@ -47,11 +47,12 @@
"changelog": "standard-version",
"inspect": "node --inspect dist/index.js",
"release": "yarn reset && yarn test && yarn changelog",
"clean": "trash dist",
"clean": "trash dist",
"reset": "git clean -dfx && git reset --hard && yarn",
"ci": "yarn test",
"validate:dependencies": "yarn audit --groups dependencies",
"validate": "node-license-validator -p -d --allow-licenses MIT MIT/X11 BSD BSD-3-Clause BSD-2-Clause ISC Apache Apache-2.0 Unlicense --allow-packages cycle",
"validate": "license-checker --production --onlyAllow MIT;MIT/X11;BSD;BSD-3-Clause;BSD-2-Clause;ISC;Apache;Apache-2.0;Unlicense",
"validate-summary": "license-checker --summary --production --onlyAllow MIT;MIT/X11;BSD;BSD-3-Clause;BSD-2-Clause;ISC;Apache;Apache-2.0;Unlicense",
"unlinkall": "yarn unlink @sofie-automation/server-core-integration && yarn --check-files"
},
"scripts-info": {
Expand All @@ -60,7 +61,7 @@
"lint": "Lint all typescript source files",
"unit": "Build the library and run unit tests",
"test": "Lint, build, and test the library",
"watch": "Watch source files, rebuild library on changes, rerun relevant tests",
"watch": "Watch source files, rebuild library on changes",
"cov": "Run tests, generate the HTML coverage report, and open it in a browser",
"docs": "Generate HTML API documentation and open it in a browser",
"docs:publish": "Generate HTML API documentation and push it to GitHub Pages",
Expand Down Expand Up @@ -98,7 +99,7 @@
"minimist": "^1.2.3",
"set-value": "^4.0.1",
"ansi-regex": "^5.0.1",
"http-cache-semantics": ">=4.1.1"
"http-cache-semantics": ">=4.1.1"
},
"devDependencies": {
"@types/jest": "^24.0.11",
Expand All @@ -112,7 +113,7 @@
"jest": "^24.5.0",
"jest-haste-map": "^24.5.0",
"jest-resolve": "^24.5.0",
"node-license-validator": "^1.3.0",
"license-checker": "^25.0.1",
"npm-scripts-info": "^0.3.9",
"open-cli": "^6.0.1",
"prettier": "2.1.2",
Expand Down
Loading

0 comments on commit 804084c

Please sign in to comment.