Skip to content

Commit d89941e

Browse files
committed
chore: use cross-env to set loglevel for Windows compat
1 parent 822742a commit d89941e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"scripts": {
1313
"start": "node ./bin/eik-server.js | pino-pretty",
14-
"test": "LOG_LEVEL=fatal tap ./test --disable-coverage --allow-empty-coverage --serial=test",
15-
"test:snapshots": "LOG_LEVEL=fatal tap --snapshot --disable-coverage --allow-empty-coverage --serial=test",
14+
"test": "cross-env LOG_LEVEL=fatal tap ./test --disable-coverage --allow-empty-coverage --serial=test",
15+
"test:snapshots": "cross-env LOG_LEVEL=fatal tap --snapshot --disable-coverage --allow-empty-coverage --serial=test",
1616
"lint:fix": "eslint --fix .",
1717
"lint": "eslint ."
1818
},
@@ -34,11 +34,11 @@
3434
"homepage": "https://github.com/eik-lib/service#readme",
3535
"dependencies": {
3636
"@eik/core": "1.3.47",
37-
"convict": "6.2.4",
38-
"fastify": "4.28.0",
3937
"@fastify/compress": "6.5.0",
4038
"@fastify/cors": "8.5.0",
4139
"@fastify/jwt": "7.2.4",
40+
"convict": "6.2.4",
41+
"fastify": "4.28.0",
4242
"http-errors": "2.0.0",
4343
"js-yaml": "4.1.0",
4444
"pino": "8.21.0"
@@ -47,6 +47,7 @@
4747
"@babel/eslint-parser": "7.24.6",
4848
"@semantic-release/changelog": "6.0.3",
4949
"@semantic-release/git": "10.0.1",
50+
"cross-env": "^7.0.3",
5051
"eslint": "8.57.0",
5152
"eslint-config-airbnb-base": "15.0.0",
5253
"eslint-config-prettier": "9.1.0",

0 commit comments

Comments
 (0)