Skip to content

Commit

Permalink
set script env using cross-env
Browse files Browse the repository at this point in the history
  • Loading branch information
uidp committed Aug 14, 2024
1 parent ef910c5 commit 5174ba8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
24 changes: 18 additions & 6 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"author": "Dataport Bildungscloud",
"private": true,
"scripts": {
"serve": "webpack serve --config config/webpack/webpack.dev.js",
"build": "webpack --config config/webpack/webpack.prod.js",
"test": "npm run test:unit",
"serve": "cross-env NODE_ENV=development webpack serve --config config/webpack/webpack.dev.js",
"build": "cross-env NODE_ENV=production webpack --config config/webpack/webpack.prod.js",
"test": "cross-env NODE_ENV=test npm run test:unit",
"test:unit": "npx jest",
"test:unit:ci": "npm run test:unit -- --coverage --ci --maxWorkers=4",
"lint": "npx eslint 'src/**/*.{ts,js,vue}'",
Expand All @@ -24,6 +24,7 @@
"@vueuse/components": "^10.11.0",
"@vueuse/core": "^10.11.0",
"axios": "^1.7.4",
"cross-env": "^7.0.3",
"dayjs": "^1.11.10",
"kjua": "^0.9.0",
"maska": "^2.1.10",
Expand Down

0 comments on commit 5174ba8

Please sign in to comment.