mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-15 10:26:52 -04:00
🔒 ADD VITE SSR PROD ENV AND SUPPORT DEPLOY PM2
This commit is contained in:
commit
4593414fba
52 changed files with 293 additions and 257 deletions
27
package.json
27
package.json
|
@ -2,39 +2,32 @@
|
|||
"name": "it-tools",
|
||||
"version": "2023.12.21-5ed3693",
|
||||
"type": "module",
|
||||
"description": "Collection of handy online tools for developers, with great UX. ",
|
||||
"description": "Collection of handy online tools for developers, with great UX and SSR",
|
||||
"keywords": [
|
||||
"productivity",
|
||||
"converter",
|
||||
"website",
|
||||
"vuejs",
|
||||
"tools",
|
||||
"frontend",
|
||||
"online tools",
|
||||
"tool",
|
||||
"developer-tools",
|
||||
"developer-productivity"
|
||||
],
|
||||
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://github.com/CorentinTh)",
|
||||
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://github.com/zeeklog)",
|
||||
"license": "GNU GPLv3",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/CorentinTh/it-tools"
|
||||
"url": "https://github.com/zeeklog/it-tools"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vue-tsc --noEmit && NODE_OPTIONS=--max_old_space_size=4096 vite build",
|
||||
"build:ssr": "node server.js",
|
||||
"preview": "vite preview --port 5050",
|
||||
"test": "npm run test:unit",
|
||||
"test:unit": "vitest --environment jsdom",
|
||||
"test:e2e": "playwright test",
|
||||
"test:e2e:dev": "BASE_URL=http://localhost:5173 NO_WEB_SERVER=true playwright test",
|
||||
"coverage": "vitest run --coverage",
|
||||
"typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
|
||||
"lint": "eslint src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",
|
||||
"script:create:tool": "node scripts/create-tool.mjs",
|
||||
"script:create:ui": "hygen generator ui-component",
|
||||
"release": "node ./scripts/release.mjs"
|
||||
"build": "npm run build:client && npm run build:server",
|
||||
"build:client": "vue-tsc --noEmit && vite build",
|
||||
"build:server": "vue-tsc --noEmit && vite build --ssr src/entry-server.ts",
|
||||
"build:ssr": "vue-tsc --noEmit && vite build --outDir dist",
|
||||
"serve": "cross-env NODE_ENV=production node server.js",
|
||||
"preview": "vite preview --port 5050"
|
||||
},
|
||||
"dependencies": {
|
||||
"@css-render/vue3-ssr": "^0.15.12",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue