File size: 1,020 Bytes
97e3689
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
    "name": "exercise-correction",
    "version": "0.0.0",
    "scripts": {
        "dev": "vite",
        "build": "vite build",
        "build:deploy": "npm run set-base-url && npm run build && npm run move-build-to-server",
        "preview": "vite preview --port 4173",
        "test:unit": "vitest --environment jsdom",
        "move:assets": "rsync -a --delete ./dist/static/* ../server/static/",
        "move:index": "cp -fr ./dist/index.html ../server/templates/",
        "move-build-to-server": "npm run move:assets && npm run move:index",
        "set-base-url": "rm -f .env.local && echo \"VITE_BASE_URL=http://127.0.0.1\" >| .env.local"
    },
    "dependencies": {
        "axios": "^1.1.2",
        "pinia": "^2.0.21",
        "sass": "^1.55.0",
        "vue": "^3.2.38",
        "vue-router": "^4.1.5"
    },
    "devDependencies": {
        "@vitejs/plugin-vue": "^3.0.3",
        "@vue/test-utils": "^2.0.2",
        "jsdom": "^20.0.0",
        "vite": "^3.0.9",
        "vitest": "^0.23.0"
    }
}