Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECH] Mettre en place pnpm #649

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"name": "nuxt-app",
"private": true,
"type": "module",
"engines": {
"node": "^18.18.0"
},
"scripts": {
"build": "npm run generate",
"dev": "pix-site/node_modules/.bin/nuxt dev",
"dev:site:fr": "SITE=pix-site SITE_DOMAIN=FR PORT=6001 DOMAIN_FR=http://localhost:6001 DOMAIN_ORG=http://localhost:7000 nuxt dev",
"dev:site:org": "SITE=pix-site SITE_DOMAIN=ORG PORT=7000 DOMAIN_FR=http://localhost:6001 DOMAIN_ORG=http://localhost:7000 nuxt dev",
"dev:host:site:fr": "SITE=pix-site SITE_DOMAIN=FR PORT=6001 DOMAIN_FR=http://localhost:6001 DOMAIN_ORG=http://localhost:7000 nuxt dev --host",
"dev:host:site:org": "SITE=pix-site SITE_DOMAIN=ORG PORT=7000 DOMAIN_FR=http://localhost:6001 DOMAIN_ORG=http://localhost:7000 nuxt dev --host",
"generate-fr": "SITE_DOMAIN=FR nuxt generate && cp -R ./.output/public ./build/fr ",
"generate-org": "SITE_DOMAIN=ORG nuxt generate && cp -R ./.output/public ./build/org ",
"generate": "rm -rf ./build && mkdir build && npm run generate-fr && npm run generate-org",
"preview": "pix-site/node_modules/.bin/nuxt preview",
"slicemachine": "pix-site/node_modules/.bin/start-slicemachine",
"test": "NODE_ENV=test vitest",
"test:e2e": "npx playwright test --ui",
"test:e2e:install": "pix-site/node_modules/.bin/playwright install",
"test:e2e:ci": "pix-site/node_modules/.bin/playwright test",
"start:nginx": "PORT=80 erb pix-site/servers.conf.erb > nginx.conf && docker-compose up"
},
"devDependencies": {
"@nuxt/devtools": "^1.0.6",
"@nuxt/image": "^1.0.0-rc.2",
"@nuxt/test-utils": "^3.11.0",
"@nuxtjs/i18n": "^8.0.0",
"@nuxtjs/prismic": "^3.0.2",
"@playwright/test": "^1.38.1",
"@slicemachine/adapter-nuxt": "^0.3.16",
"@testing-library/vue": "^8.0.2",
"@types/node": "^20.8.2",
"@vue/test-utils": "^2.4.4",
"@vueuse/core": "^10.4.1",
"@vueuse/integrations": "^10.6.1",
"@vueuse/nuxt": "^10.4.1",
"chart.js": "^4.4.0",
"focus-trap": "^7.5.4",
"happy-dom": "^13.6.2",
"nuxt": "^3.7.3",
"playwright": "^1.39.0",
"prismic-dom": "^2.2.7",
"sass": "^1.67.0",
"slice-machine-ui": "^1.14.0",
"vitest": "^1.3.1",
"vue-chartjs": "^5.2.0"
},
"version": "5.4.0"
}
Loading