Skip to content

Commit

Permalink
Merge pull request #387 from nhsbsa/chore/add-cross-env
Browse files Browse the repository at this point in the history
chore - Add cross-env for better compatibility across devices
  • Loading branch information
jamessan85 authored Dec 4, 2024
2 parents 0f496a7 + 9109253 commit ef67ddc
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
19 changes: 19 additions & 0 deletions package-lock.json

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

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"scripts": {
"start": "npx @11ty/eleventy --serve --pathprefix 'nhsbsa-digital-playbook'",
"build": "env NODE_ENV=production npx eleventy --pathprefix 'nhsbsa-digital-playbook'",
"test": "NODE_ENV=test jest",
"test:eslint": "NODE_ENV=test npx eslint .",
"test:eslint-fix": "NODE_ENV=test npx eslint . --fix",
"test:coverage": "NODE_ENV=test jest --coverage"
"build": "cross-env NODE_ENV=production npx eleventy --pathprefix 'nhsbsa-digital-playbook'",
"test": "cross-env NODE_ENV=test jest",
"test:eslint": "cross-env NODE_ENV=test npx eslint .",
"test:eslint-fix": "cross-env NODE_ENV=test npx eslint . --fix",
"test:coverage": "cross-env NODE_ENV=test jest --coverage"
},
"repository": {
"type": "git",
Expand All @@ -31,6 +31,7 @@
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.0",
"@nhsbsa/cookie-consent-component": "0.0.6",
"cross-env": "^7.0.3",
"eleventy-auto-cache-buster": "^0.6.0",
"eleventy-plugin-dart-sass": "^1.0.3",
"eleventy-plugin-external-links": "^1.1.2",
Expand Down

0 comments on commit ef67ddc

Please sign in to comment.