forked from shibao/cannery
add standard js for linting and tests
This commit is contained in:
parent
04d798aaa7
commit
1a526cd580
3488
assets/package-lock.json
generated
3488
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",
|
||||
@ -30,6 +32,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 Cannery.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",
|
||||
|
Loading…
Reference in New Issue
Block a user