Skip to content

Instantly share code, notes, and snippets.

@mattbrictson
Last active April 17, 2024 04:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattbrictson/8b69970923b31726cbecf7929137b72a to your computer and use it in GitHub Desktop.
Save mattbrictson/8b69970923b31726cbecf7929137b72a to your computer and use it in GitHub Desktop.
Ruby and JS dependencies that power mattbrictson.com
source "https://rubygems.org"
ruby file: ".ruby-version"
gem "bootsnap", require: false
gem "faraday"
gem "faulty"
gem "puma", "~> 6.0"
gem "rack-canonical-host"
gem "rails", "~> 7.1.0"
gem "redcarpet"
gem "sentry-rails"
gem "sitemap_generator"
gem "stimulus-rails"
gem "turbo-rails"
gem "typogruby"
gem "vite_rails"
group :development do
gem "better_errors"
gem "binding_of_caller"
gem "brakeman", require: false
gem "bundler-audit", require: false
gem "erb_lint", require: false
gem "localhost"
gem "rack-mini-profiler"
gem "rubocop", require: false
gem "rubocop-capybara", require: false
gem "rubocop-minitest", require: false
gem "rubocop-performance", require: false
gem "rubocop-rails", require: false
gem "stackprof"
gem "tomo", github: "mattbrictson/tomo", branch: "main", require: false
gem "xray-rails", github: "mattbrictson/xray-rails", branch: "main"
end
group :development, :test do
gem "debug"
gem "dotenv"
gem "launchy"
end
group :test do
gem "capybara", require: false
gem "capybara-lockstep", require: false
gem "mighty_test", github: "mattbrictson/mighty_test", branch: "main"
gem "minitest-snapshots", github: "mattbrictson/minitest-snapshots", branch: "main"
gem "selenium-webdriver", require: false
gem "vcr"
gem "webmock"
end
{
"private": "true",
"type": "module",
"dependencies": {
"@hotwired/stimulus": "^3.2.2",
"@hotwired/turbo-rails": "^8.0.4",
"autoprefixer": "^10.4.19",
"highlight.js": "^11.9.0",
"modern-normalize": "^2.0.0",
"postcss": "^8.4.38",
"rollup": ">=4.13.0",
"stimulus-vite-helpers": "^3.1.0",
"vite": "^5.2.8",
"vite-plugin-rails": "^0.5.0"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@types/eslint": "^8.56.9",
"@types/node": "^20.12.2",
"concurrently": "^8.2.2",
"cspell": "^8.6.1",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-formatter-compact": "^8.40.0",
"eslint-plugin-prettier": "^5.1.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"stale-dep": "^0.7.0",
"stylelint": "^16.3.1",
"stylelint-config-standard": "^36.0.0",
"stylelint-declaration-strict-value": "^1.10.4",
"stylelint-prettier": "^5.0.0"
},
"scripts": {
"fix": "npm-run-all fix:**",
"fix:js": "npm run -- lint:js --fix",
"fix:css": "npm run -- lint:css --fix",
"lint": "npm-run-all lint:**",
"lint:js": "eslint 'app/{components,frontend,javascript}/**/*.{js,jsx}'",
"lint:css": "stylelint 'app/{components,frontend,assets/stylesheets}/**/*.{css,scss}'",
"lint:cspell": "cspell --no-progress 'app/views/**' 'app/helpers/**' 'posts/**'",
"postinstall": "stale-dep -u",
"start": "stale-dep && concurrently -i -k --kill-others-on-fail -p none 'bin/rails s -b ssl://localhost:4000' 'bin/vite dev'"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment