Skip to content

Commit

Permalink
feat(cross-env): cross-env implemented (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsograziano authored Feb 22, 2024
1 parent f1247fa commit 348269f
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 6 deletions.
28 changes: 28 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/a02-assertions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"scripts": {
"test": "node --test",
"verify": "NODE_NO_WARNINGS=1 node --test --loader=../../verify/loader.js ./verifiers/handler.js"
"verify": "cross-env NODE_NO_WARNINGS=1 node --test --loader=../../verify/loader.js ./verifiers/handler.js"
},
"keywords": [],
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion src/a04-context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"test": "node --test",
"solution": "node --test ./test/solution.test.js",
"verify": "NODE_NO_WARNINGS=1 node --test --loader=../../verify/loader.js ./verifiers/handler.js"
"verify": "cross-env NODE_NO_WARNINGS=1 node --test --loader=../../verify/loader.js ./verifiers/handler.js"
},
"keywords": [],
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion src/a05-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"scripts": {
"test": "node --test ./test/index.test.js",
"verify": "NODE_NO_WARNINGS=1 node --test --loader=../../verify/loader.js ./verifiers/handler.js",
"verify": "cross-env NODE_NO_WARNINGS=1 node --test --loader=../../verify/loader.js ./verifiers/handler.js",
"solution": "node --test ./test/solution.test.js"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion src/a06-keywords/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"scripts": {
"test": "node --test ./test/index.test.js",
"verify": "NODE_NO_WARNINGS=1 node --test --loader=../../verify/loader.js ./verifiers/handler.js",
"verify": "cross-env NODE_NO_WARNINGS=1 node --test --loader=../../verify/loader.js ./verifiers/handler.js",
"solution": "node --test --test-only ./test/solution.test.js"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion src/a07-mocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"scripts": {
"test": "node --test ./test/index.test.js",
"verify": "NODE_NO_WARNINGS=1 node --test --loader=../../verify/loader.js ./verifiers/handler.js",
"verify": "cross-env NODE_NO_WARNINGS=1 node --test --loader=../../verify/loader.js ./verifiers/handler.js",
"solution": "node --test --test-only ./test/solution.test.js"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion src/a08-timers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"test": "node --test",
"solution": "node --test ./test/solution.test.js",
"verify": "NODE_NO_WARNINGS=1 node --test --loader=../../verify/loader.js ./verifiers/handler.js"
"verify": "cross-env NODE_NO_WARNINGS=1 node --test --loader=../../verify/loader.js ./verifiers/handler.js"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 348269f

Please sign in to comment.