add standard js
This commit is contained in:
		
							
								
								
									
										3485
									
								
								assets/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										3485
									
								
								assets/package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -4,7 +4,9 @@
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "deploy": "NODE_ENV=production webpack --mode production",
 | 
			
		||||
    "watch": "webpack --mode development --watch --watch-options-stdin"
 | 
			
		||||
    "watch": "webpack --mode development --watch --watch-options-stdin",
 | 
			
		||||
    "format": "standard --fix",
 | 
			
		||||
    "test": "standard"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@fortawesome/fontawesome-free": "^5.15.4",
 | 
			
		||||
@@ -32,6 +34,7 @@
 | 
			
		||||
    "postcss-loader": "^6.1.1",
 | 
			
		||||
    "postcss-preset-env": "^6.7.0",
 | 
			
		||||
    "sass-loader": "^12.1.0",
 | 
			
		||||
    "standard": "^16.0.4",
 | 
			
		||||
    "style-loader": "^3.2.1",
 | 
			
		||||
    "tailwindcss": "^2.2.7",
 | 
			
		||||
    "terser-webpack-plugin": "^5.1.3",
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								mix.exs
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								mix.exs
									
									
									
									
									
								
							@@ -69,7 +69,9 @@ defmodule Lokal.MixProject do
 | 
			
		||||
      setup: ["deps.get", "compile", "ecto.setup", "cmd npm install --prefix assets"],
 | 
			
		||||
      "ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
 | 
			
		||||
      "ecto.reset": ["ecto.drop", "ecto.setup"],
 | 
			
		||||
      format: ["cmd npm run format --prefix assets", "format"],
 | 
			
		||||
      test: [
 | 
			
		||||
        "cmd npm run test --prefix assets",
 | 
			
		||||
        "dialyzer",
 | 
			
		||||
        "credo --strict",
 | 
			
		||||
        "format --check-formatted",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user