forked from shibao/cannery
add standard js
This commit is contained in:
parent
728728a5a4
commit
67c30d7f88
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",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"deploy": "NODE_ENV=production webpack --mode production",
|
"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": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^5.15.4",
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
||||||
@ -32,6 +34,7 @@
|
|||||||
"postcss-loader": "^6.1.1",
|
"postcss-loader": "^6.1.1",
|
||||||
"postcss-preset-env": "^6.7.0",
|
"postcss-preset-env": "^6.7.0",
|
||||||
"sass-loader": "^12.1.0",
|
"sass-loader": "^12.1.0",
|
||||||
|
"standard": "^16.0.4",
|
||||||
"style-loader": "^3.2.1",
|
"style-loader": "^3.2.1",
|
||||||
"tailwindcss": "^2.2.7",
|
"tailwindcss": "^2.2.7",
|
||||||
"terser-webpack-plugin": "^5.1.3",
|
"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"],
|
setup: ["deps.get", "compile", "ecto.setup", "cmd npm install --prefix assets"],
|
||||||
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
|
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
|
||||||
"ecto.reset": ["ecto.drop", "ecto.setup"],
|
"ecto.reset": ["ecto.drop", "ecto.setup"],
|
||||||
|
format: ["cmd npm run format --prefix assets", "format"],
|
||||||
test: [
|
test: [
|
||||||
|
"cmd npm run test --prefix assets",
|
||||||
"dialyzer",
|
"dialyzer",
|
||||||
"credo --strict",
|
"credo --strict",
|
||||||
"format --check-formatted",
|
"format --check-formatted",
|
||||||
|
Loading…
Reference in New Issue
Block a user