Packages

Provides `mix needle.new.*` tasks to bootstrap new Phoenix projects.

Current section

Files

Jump to
needle_new templates needle_web assets package.json
Raw

templates/needle_web/assets/package.json

{
"private": true,
"type": "module",
"scripts": {
"build": "vite build --mode production",
"watch": "vite build --mode development --watch"
},
"engines": {
"node": ">= 18.0.0"
},
"dependencies": {
"@fontsource-variable/inter": "^5.0.15",
"@fontsource-variable/jetbrains-mono": "^5.0.18",
"phoenix": "file:<%= Path.join(["..", @web_mix_deps_relative_path, "phoenix"]) %>",
"phoenix_html": "file:<%= Path.join(["..", @web_mix_deps_relative_path, "phoenix_html"]) %>",<%= if @live? do %>
"phoenix_live_view": "file:<%= Path.join(["..", @web_mix_deps_relative_path, "phoenix_live_view"]) %>",<% end %>
"topbar": "^2.0.1"
},
"devDependencies": {
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"autoprefixer": "^10.4.16",
"heroicons": "^2.0.18",
"merge-options": "^3.0.4",
"npm-check-updates": "^16.14.11",
"postcss": "^8.4.32",
"postcss-import": "^15.1.0",
"tailwindcss": "^3.3.6",
"vite": "^5.0.5"
}
}