summaryrefslogtreecommitdiff
path: root/package.json
blob: eb3da8d4501afcdb6b18eb1ed259d8cb68d99e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  "name": "taler-ops-www",
  "description": "Taler Operations WWW",
  "scripts": {
    "optimize-css": "for file in dist/immutable/css/*.css; do purifycss $file 'dist/**/*.html' -m -o $file.pure.css; mv $file.pure.css $file;done;",
    "build-parcel": "parcel build 'rendered/*.html' 'rendered/**/*.html' --public-url BASE_URL_RELATIVE_TO_FILE",
    "build-parcel-no-optimize": "parcel build 'rendered/*.html' 'rendered/**/*.html' --public-url BASE_URL_RELATIVE_TO_FILE --no-optimize",
    "fix-parcel-paths": "node build-system/fix-paths.mjs",
    "watch": "nodemon --exec \"make build-site\" -e ts,css,ico,rst,am,scss,json,jsonc,json5,sass,png,txt,j2,html,js,ts,png,svg,inc --watch static --watch template --watch contrib --watch common --watch build-system",
    "parcel-dev": "parcel serve 'rendered/*.html' 'rendered/**/*.html'",
    "dev": "make build-unoptimized && concurrently \"npm:watch\" \"sleep 3s && npm run parcel-dev\""
  },
  "private": true,
  "devDependencies": {
    "@parcel/config-default": "^2.12.0",
    "@parcel/plugin": "^2.12.0",
    "@parcel/transformer-html": "^2.12.0",
    "@parcel/transformer-sass": "2.12.0",
    "concurrently": "^8.2.2",
    "nodemon": "^3.1.0",
    "parcel": "^2.12.0",
    "postcss": "^8.4.38",
    "purify-css": "^1.2.5",
    "sass": "^1.72.0",
    "tailwindcss": "^3.4.3"
  },
  "browserslist": "> 0.5%, last 4 versions, not dead"
}