Skip to content

Commit

Permalink
Remove Un-Used Command
Browse files Browse the repository at this point in the history
Remove the cross-env command since it was un-used.
The cross-env package is also depricated.
The Node_environment should be set externally, not inline with the test script.
Additionally, it wasn't even used in this project...
  • Loading branch information
elliot-huffman committed Jun 5, 2024
1 parent c208734 commit 43dfc78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 32 deletions.
29 changes: 0 additions & 29 deletions package-lock.json

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

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": "github:rhys-vdw/ts-auto-guard",
"main": "lib/index.js",
"scripts": {
"test": "cross-env NODE_ENV=test && npm run lint && npm run format:check && tape -r ts-node/register tests/**/*.test.ts | tap-diff",
"test": "npm run lint && npm run format:check && tape -r ts-node/register tests/**/*.test.ts | tap-diff",
"build": "tsc",
"prepare": "npm run build",
"lint": "eslint .",
Expand All @@ -31,7 +31,6 @@
"@types/node": "^20.14.1",
"@types/tape": "^5.6.4",
"@types/uglify-js": "^3.17.5",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"prettier": "^3.3.0",
"tape": "^5.7.5",
Expand All @@ -40,4 +39,4 @@
"typescript-eslint": "^7.12.0",
"uglify-js": "^3.17.4"
}
}
}

0 comments on commit 43dfc78

Please sign in to comment.