45 lines
1.4 KiB
JSON
45 lines
1.4 KiB
JSON
{
|
|
"name": "vue-project",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "run-p type-check build-only",
|
|
"preview": "vite preview",
|
|
"test:unit": "vitest --environment jsdom --root src/",
|
|
"test:e2e": "start-server-and-test preview :4173 'cypress run --e2e'",
|
|
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' :4173 'cypress open --e2e'",
|
|
"build-only": "vite build",
|
|
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
|
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
|
|
},
|
|
"dependencies": {
|
|
"pinia": "^2.0.29",
|
|
"vue": "^3.2.45",
|
|
"vue-router": "^4.1.6"
|
|
},
|
|
"devDependencies": {
|
|
"@faker-js/faker": "^7.6.0",
|
|
"@rushstack/eslint-patch": "^1.1.4",
|
|
"@types/jsdom": "^20.0.1",
|
|
"@types/node": "^18.11.12",
|
|
"@vitejs/plugin-vue": "^4.0.0",
|
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
"@vue/eslint-config-typescript": "^11.0.0",
|
|
"@vue/test-utils": "^2.2.6",
|
|
"@vue/tsconfig": "^0.1.3",
|
|
"cypress": "^12.0.2",
|
|
"eslint": "^8.22.0",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-vue": "^9.3.0",
|
|
"jsdom": "^20.0.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss-nested": "^6.0.0",
|
|
"prettier": "^2.7.1",
|
|
"start-server-and-test": "^1.15.2",
|
|
"typescript": "~4.9.3",
|
|
"vite": "^4.0.0",
|
|
"vitest": "^0.25.6",
|
|
"vue-tsc": "^1.0.12"
|
|
}
|
|
}
|