Test using vue-cli configured to hold multiple distinct websites with their own public folder and entry points.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

43 lines
987 B

  1. {
  2. "name": "hello-world",
  3. "version": "0.1.0",
  4. "private": true,
  5. "scripts": {
  6. "serve": "vue-cli-service serve",
  7. "build-admin": "SITE_NAME=admin vue-cli-service build --dest admin-dist ./src/admin/index.js",
  8. "build": "SITE_NAME=main vue-cli-service build --dest dist ./src/main/index.js",
  9. "lint": "vue-cli-service lint"
  10. },
  11. "dependencies": {
  12. "core-js": "^3.4.4",
  13. "vue": "^2.6.10"
  14. },
  15. "devDependencies": {
  16. "@vue/cli-plugin-babel": "^4.1.0",
  17. "@vue/cli-plugin-eslint": "^4.1.0",
  18. "@vue/cli-service": "^4.1.0",
  19. "babel-eslint": "^10.0.3",
  20. "eslint": "^5.16.0",
  21. "eslint-plugin-vue": "^5.0.0",
  22. "vue-template-compiler": "^2.6.10"
  23. },
  24. "eslintConfig": {
  25. "root": true,
  26. "env": {
  27. "node": true
  28. },
  29. "extends": [
  30. "plugin:vue/essential",
  31. "eslint:recommended"
  32. ],
  33. "rules": {},
  34. "parserOptions": {
  35. "parser": "babel-eslint"
  36. }
  37. },
  38. "browserslist": [
  39. "> 1%",
  40. "last 2 versions"
  41. ]
  42. }