Skip to content

Commit

Permalink
feat. Sjekk at npm blir brukt og ikke yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikv committed Feb 15, 2024
1 parent af06796 commit 682200c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions package-lock.json

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

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@
"type": "module",
"scripts": {
"build": "vite build",
"checknpm": "echo \"$npm_execpath\" | grep -q \"npm-cli\\.js$\" || (echo '⚠️ Bruk npm ellers får du sparken! ⚠️' && echo && exit 1)",
"preinstall": "$npm_execpath --silent run checknpm",
"prepare": "husky install",
"prettier": "prettier -c .",
"prettier:fix": "prettier -w .",
"release": "node sentry.js",
"start": "vite",
"svgo": "sh ./svgo.sh",
"test": "vitest --environment=jsdom --run",
"ts": "tsc -b",
"up": "docker-compose up -d --remove-orphans --build",
"prepare": "husky install"
"up": "docker-compose up -d --remove-orphans --build"
},
"dependencies": {
"@navikt/arbeidsgiver-notifikasjon-widget": "^6.4.2",
Expand Down

0 comments on commit 682200c

Please sign in to comment.