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.

75 lines
2.1 KiB

2 years ago
2 years ago
2 years ago
  1. {
  2. "name": "graphicvizion",
  3. "version": "1.0.0",
  4. "description": "GraphicViZion",
  5. "scripts": {
  6. "build-dev:webpack": "webpack",
  7. "watch:webpack": "webpack --watch",
  8. "watch:eleventy": "cross-env ELEVENTY_ENV=development eleventy --serve",
  9. "dev": "npm-run-all clean build-dev:webpack --parallel watch:*",
  10. "build:webpack": "cross-env NODE_ENV=production webpack --mode production",
  11. "build:eleventy": "cross-env ELEVENTY_ENV=production eleventy",
  12. "build": "run-s clean build:*",
  13. "serve:local": "serve _site",
  14. "serve": "run-s build serve:local",
  15. "clean": "rimraf _site",
  16. "format:js": "prettier '**/*.js' --write && eslint '**/*.js' --fix",
  17. "format:json": "prettier '**/*.json' --write",
  18. "format": "run-s format:*",
  19. "lint": "eslint --ext .js ."
  20. },
  21. "license": "ISC",
  22. "devDependencies": {
  23. "@11ty/eleventy": "^0.12.1",
  24. "@11ty/eleventy-plugin-syntaxhighlight": "^3.1.1",
  25. "autoprefixer": "^10.2.6",
  26. "copy-webpack-plugin": "^9.0.0",
  27. "cross-env": "^7.0.3",
  28. "css-loader": "^5.2.6",
  29. "cssnano": "^5.0.4",
  30. "date-fns": "^2.21.3",
  31. "eleventy-plugin-lazyimages": "^2.1.0",
  32. "eslint": "^7.27.0",
  33. "eslint-config-airbnb-base": "^14.2.1",
  34. "eslint-plugin-import": "^2.23.3",
  35. "file-loader": "^6.2.0",
  36. "glob": "^7.1.7",
  37. "html-minifier": "^4.0.0",
  38. "html-webpack-plugin": "^5.3.1",
  39. "husky": "^4.3.8",
  40. "image-webpack-loader": "^7.0.1",
  41. "lint-staged": "^11.0.0",
  42. "mini-css-extract-plugin": "^1.6.0",
  43. "npm-run-all": "^4.1.5",
  44. "postcss-loader": "^5.3.0",
  45. "prettier": "^2.3.0",
  46. "rimraf": "^3.0.2",
  47. "serve": "^11.3.2",
  48. "svg-url-loader": "^7.1.1",
  49. "tailwindcss": "^2.1.2",
  50. "url-loader": "^4.1.1",
  51. "webpack": "^5.37.1",
  52. "webpack-cli": "^4.7.0"
  53. },
  54. "husky": {
  55. "hooks": {
  56. "pre-commit": "lint-staged"
  57. }
  58. },
  59. "lint-staged": {
  60. "*.js": [
  61. "prettier --write",
  62. "eslint --fix",
  63. "eslint"
  64. ],
  65. "*.json": [
  66. "prettier --write"
  67. ]
  68. },
  69. "dependencies": {
  70. "@glidejs/glide": "^3.4.1",
  71. "blueimp-md5": "^2.19.0",
  72. "eleventy-plugin-i18n": "^0.1.3",
  73. "fast-glob": "^3.2.7"
  74. }
  75. }