ST
project.clj
(defproject truepilots-com-website "1.0.0"
:dependencies [[org.clojure/clojure "1.10.0"]
[hiccup "1.0.5"]
[clojurewerkz/propertied "1.3.0"]
[me.raynes/fs "1.4.6"]
[nrepl "0.6.0"]
[org.asciidoctor/asciidoctorj "2.0.0"]
[ring "1.7.1"]
[stasis "2.4.0"]]
:plugins [[lein-ring "0.12.5"]
[lein-shell "0.5.0"]]
:clean-targets ^{:protect false} ["release"]
:shell {:commands {"node_modules/.bin/postcss"
{:windows "node_modules/.bin/postcss.cmd"}}}
:aliases {"update-i18n"
["run" "-m" "dev.update-i18n"]
"css-dev" ["shell" "node_modules/.bin/postcss"
"tailwind/app/main.css" "-o" "resources/public/app/main.css"]
"css-dev-auto" ["shell" "node_modules/.bin/postcss"
"tailwind/app/main.css" "-o" "resources/public/app/main.css"
"--watch" "--poll" "300"]
"css-release" ["shell" "node_modules/.bin/postcss"
"tailwind/app/main.css" "-o" "release/app/main.css"
"--config" "tailwind/release/"]
"build-site" ["run" "-m" "dev.builder/build-site"]
"release" ["do" "clean," "build-site," "css-release"]}
:ring {:host "truepilots-com-website.localtest.me"}
:profiles {:dev {:ring {:handler dev.server/ring-handler
:auto-refresh? true
:nrepl {:start? true}}}
:test-release {:resource-paths ["release"]
:ring {:handler dev.server/test-release-handler}}
:css {:source-paths ["tailwind"]}})
package.json
{
"devDependencies": {
"@fullhuman/postcss-purgecss": "1.2.0",
"autoprefixer": "9.5.1",
"cssnano": "4.1.10",
"foreman": "3.0.1",
"postcss-cli": "6.1.2",
"postcss-combine-duplicated-selectors": "7.0.0",
"postcss-import": "12.0.1",
"postcss-nested": "4.1.2",
"postcss-reporter": "6.0.1",
"tailwindcss": "1.0.2"
}
}