An ebook/comic library service and web client
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.

81 lines
1.8 KiB

  1. {
  2. "name": "atheneum_administration_client",
  3. "version": "0.1.0",
  4. "private": true,
  5. "scripts": {
  6. "serve": "vue-cli-service serve",
  7. "build": "vue-cli-service build",
  8. "lint": "vue-cli-service lint",
  9. "test:unit": "vue-cli-service test:unit"
  10. },
  11. "dependencies": {
  12. "vue": "^2.5.17",
  13. "vue-class-component": "^6.0.0",
  14. "vue-property-decorator": "^7.0.0",
  15. "vue-router": "^3.0.1",
  16. "vuex": "^3.0.1"
  17. },
  18. "devDependencies": {
  19. "@types/jest": "^23.1.4",
  20. "@vue/cli-plugin-babel": "^3.0.1",
  21. "@vue/cli-plugin-typescript": "^3.0.1",
  22. "@vue/cli-plugin-unit-jest": "^3.0.1",
  23. "@vue/cli-service": "^3.0.1",
  24. "@vue/test-utils": "^1.0.0-beta.20",
  25. "babel-core": "7.0.0-bridge.0",
  26. "lint-staged": "^7.2.2",
  27. "node-sass": "^4.9.0",
  28. "sass-loader": "^7.0.1",
  29. "ts-jest": "^23.0.0",
  30. "typescript": "^3.0.0",
  31. "vue-template-compiler": "^2.5.17"
  32. },
  33. "postcss": {
  34. "plugins": {
  35. "autoprefixer": {}
  36. }
  37. },
  38. "browserslist": [
  39. "> 1%",
  40. "last 2 versions",
  41. "not ie <= 8"
  42. ],
  43. "jest": {
  44. "moduleFileExtensions": [
  45. "js",
  46. "jsx",
  47. "json",
  48. "vue",
  49. "ts",
  50. "tsx"
  51. ],
  52. "transform": {
  53. "^.+\\.vue$": "vue-jest",
  54. ".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub",
  55. "^.+\\.tsx?$": "ts-jest"
  56. },
  57. "moduleNameMapper": {
  58. "^@/(.*)$": "<rootDir>/src/$1"
  59. },
  60. "snapshotSerializers": [
  61. "jest-serializer-vue"
  62. ],
  63. "testMatch": [
  64. "**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"
  65. ],
  66. "testURL": "http://localhost/"
  67. },
  68. "gitHooks": {
  69. "pre-commit": "lint-staged"
  70. },
  71. "lint-staged": {
  72. "*.ts": [
  73. "vue-cli-service lint",
  74. "git add"
  75. ],
  76. "*.vue": [
  77. "vue-cli-service lint",
  78. "git add"
  79. ]
  80. }
  81. }