{
  "_id": "frontend",
  "maintainers": [
    {
      "name": "premo",
      "email": "me@danny-jackson.com"
    }
  ],
  "keywords": [
    "UI",
    "UX"
  ],
  "dist-tags": {
    "latest": "2.0.0-alpha.4"
  },
  "author": {
    "name": "premo"
  },
  "_rev": "20-4b771a3011e7ce491e1a91585459befb",
  "description": "A management system for UI/UX Developers.",
  "readme": "# frontend \n![](https://img.shields.io/npm/v/frontend.svg?style=flat-square) ![](https://img.shields.io/npm/dw/frontend.svg?style=flat-square) ![](https://img.shields.io/github/repo-size/danieljackson1983/frontend.svg?style=flat-square) ![](https://img.shields.io/github/issues/danieljackson1983/frontend.svg?style=flat-square) ![](https://img.shields.io/npm/l/frontend.svg?style=flat-square)\n\nA boilerplate for UI/UX Developers.\n\n![](https://nodei.co/npm/frontend.png?downloads=true&downloadRank=true)\n\n### Getting Started\nThere are several ways to use Frontend. Examples can be found at [Github](https://github.com/danieljackson1983/frontend/tree/master/examples). \n\n##### Step One\nA JSON configuration file is used to define the paths for files in order to compile them. The JSON schema should be similar to the example below.\n\nCreate a JSON configuration file in the root directory of your project. \n```sh\n$ touch config.json\n```\n`config.json`:\n```json\n{\n  \"ts\":   { \"dest\": \"dist/dev/js\", \"src\": \"src/ts/*.ts\" },\n  \"sass\": { \"dest\": \"dist/dev/css\", \"src\": \"src/sass/*.scss\" },\n  \"less\": { \"dest\": \"dist/dev/css\", \"src\": \"src/less/*.less\" },\n  \"html\": { \"dest\": \"dist/dev\", \"templates\": \"src/html\", \"mustache\": { \"base\":\"src/html/_tmpl/base.mustache\" } }\n}\n```\n> NOTE: It is important to use the keys as described since Frontend does not validate against a JSON schema.\n\n##### Step Two\nCreate a base Mustache file in the directory defined in the `config.json`\n```sh\n$ mkdir -p ./src/html/_tmpl && touch ./src/html/_tmpl/base.mustache\n```\n`base.mustache`:\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <title>{{ pageTitle }}</title>\n</head>\n<body>\n    {{> component }}\n</body>\n</html>\n```\n\n##### Step Three\nCreate your first HTML page and corresponding JSON file for data. \n```sh\n$ touch ./src/html/index.html ./src/html/index.json\n```\n\n> Every **.html** file in the _templates_ directory will be parsed as an individual page. The contents of this will be sent through the base template and any partials created. The data comes from a corresponding **.json** file having the same base name. \n\n`index.html`:\n```html\n<h1>{{ heading }}</h1>\n```\n### How To Build Using Gulp\nUse this package to run your Gulp tasks for compiling Sass, Less, Typescript and Mustache files. \n\nCreate a new Gulp file in the root directory of your project.\n```sh\n$ touch gulpfile.js\n```\n`gulpfile.js`:\n```javascript\nconst gulp = require('gulp');\nconst { build, html, sass, less, ts } = require('frontend');\n\nexports.default = build;\nexports[\"HTML\"] = html;\nexports[\"Sass\"] = sass;\nexports[\"Less\"] = less;\nexports[\"Typescript\"] = ts;\n```\nList the Gulp tasks that are exported from gulpfile.js\n```sh\n$ gulp --list-tasks\n```\nRun a task:\n```sh\n$ gulp default\n```\n___\n> Go to the  [Github repo for Mustache](https://github.com/janl/mustache.js) to read further information on its usage.\n",
  "repository": {
    "url": "git+https://github.com/danieljackson1983/frontend.git",
    "type": "git"
  },
  "users": {
    "jguarin": true,
    "mojoaxel": true,
    "jmolina1221": true,
    "sanikamulay": true,
    "damiansegovia02": true
  },
  "bugs": {
    "url": "https://github.com/danieljackson1983/frontend/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.3": {
      "name": "frontend",
      "version": "1.0.3",
      "keywords": [
        "scaffold",
        "frontend",
        "app"
      ],
      "author": {
        "name": "Peter Fert"
      },
      "license": "MIT",
      "_id": "frontend@1.0.3",
      "maintainers": [
        {
          "name": "fercik",
          "email": "peter.fert@outlook.com"
        }
      ],
      "homepage": "https://github.com/fercik/frontend",
      "bugs": {
        "url": "https://github.com/fercik/frontend/issues"
      },
      "dist": {
        "shasum": "57c682373242da3c46e70ff9220f0919945dc9bf",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/frontend/-/frontend-1.0.3.tgz",
        "integrity": "sha512-bAriBBqePjQ4imYQ9BtNvBzcOp56doLyJ5n7Zu+ckfM7WlKzuDgZTWz8Vqr1297hMTBcdZT4ZPC3aQB0sCkTLw==",
        "signatures": [
          {
            "sig": "MEYCIQDf7ExKCtsdKZjdiJ3jNKGgmB6CeyWu7Es8tcwynxAv3AIhAPAVV755veOONZEbM8nUla+8OsedaxJlDTqLtiqg5B0o",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "_from": ".",
      "readme": "FRONTEND SCAFFOLD APP\n",
      "scripts": {
        "install": "node index.js"
      },
      "_npmUser": {
        "name": "fercik",
        "email": "peter.fert@outlook.com"
      },
      "deprecated": "This package is incompatible with future versions. Use at your own risk.",
      "repository": {
        "url": "https://github.com/fercik/frontend.git",
        "type": "git"
      },
      "_npmVersion": "1.3.21",
      "description": "Scaffold for frontend app",
      "directories": {},
      "readmeFilename": "README.md"
    },
    "2.0.0-alpha.1": {
      "name": "frontend",
      "version": "2.0.0-alpha.1",
      "keywords": [
        "UI",
        "UX"
      ],
      "author": {
        "name": "premo"
      },
      "license": "MIT",
      "_id": "frontend@2.0.0-alpha.1",
      "maintainers": [
        {
          "name": "premo",
          "email": "me@danny-jackson.com"
        }
      ],
      "homepage": "https://github.com/danieljackson1983/frontend#readme",
      "bugs": {
        "url": "https://github.com/danieljackson1983/frontend/issues"
      },
      "dist": {
        "shasum": "245d94fe64866bd5995d0b5345409f7791c3c1c3",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/frontend/-/frontend-2.0.0-alpha.1.tgz",
        "fileCount": 9,
        "integrity": "sha512-zRga88/N/Uz6S6E44yPvfzDlLYR6S4q6iKDZJDLk4zC9TOv1O5IKvOSb4J6dTwLC4Swg05vUA49Jg8OhPkge4w==",
        "signatures": [
          {
            "sig": "MEQCIA9Ir9nJphYu0pWQPkCEsDfmoBYG3OR5m2xvXj6Zg65QAiADToM7p3s5LmIIY7ytu/4XAnsy/M9ltuvN4s1sNrazow==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 6126,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXO3XCRA9TVsSAnZWagAA+PcQAKOm5PdTEFxNw+w9YigQ\nGjo/6m3ZUXReuEcDB3VXdZjeSn72N5Bnt7+n4Ggue8dTWGS9sWEAM83gYMJU\nexclIprbwGiMpG76+0vHK2dWbPOUDrGam2Hq+/iCxmRa/gaBoqAHSExiKvU8\n0uZzQ9PHiaSoVNk8lYiHUda+fCR4YwIXPtEeXcmsKQb6AcD5aoQAsA4HFFb/\n5uNzgO7+xs6uYJZCtjhJ1sxiwxSMrhQaTYhzMJLn5bQ8AiOyhxYH9NpZupKU\nNjWIa9q3FYKwyDV/LlrDGjGtZUQzuABLq+09wyRQd3ICWTxkjduVaQsR6Jz7\neiWNJ9xaYog23Mtd4qRelQyAdTGW/1pjxxp0inJ/dgQe8bMPRQT9Vbqgef/U\nZvMlVjCQKRFY2c8pEoid42J6hdRjgky1YRaSWfPVpxmVxDFT8ItcyuTw28fM\nYnh7xaTIGgn/Kl+ooipAYu0Nc9YZPzAmcVOUZU/xEkplzUj5GbcgtnWBqah9\nOFTUEuSem1da1REOLPVFca9JxToiSH1NMeTd3nG19YlgPy3kd+qy91TBSVkr\nGyXMhpUZ8mD++Vdlp+z71sIYwAs2d9ZGerR3Lag2Qh+q3IKhvexeQEXxLv9J\n1IwSL7VZQefT7D5vgF8n4YrUKQNAK1Oy1qO16fca4PUW5djbBO2qv64KLbxB\nfYCu\r\n=tRrL\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "index.js",
      "gitHead": "e4529109fb4d2b13e806a96eca59f3da54f92ff7",
      "scripts": {},
      "_npmUser": {
        "name": "premo",
        "email": "me@danny-jackson.com"
      },
      "repository": {
        "url": "git+https://github.com/danieljackson1983/frontend.git",
        "type": "git"
      },
      "_npmVersion": "6.4.1",
      "description": "A management system for UI/UX Developers.",
      "directories": {},
      "_nodeVersion": "10.15.0",
      "dependencies": {
        "gulp": "^4.0.0",
        "less": "^3.9.0",
        "gulp-less": "^4.0.1",
        "gulp-sass": "^4.0.2",
        "node-sass": "^4.11.0",
        "typescript": "^3.3.1",
        "gulp-rename": "^1.4.0",
        "gulp-mustache": "^4.1.0",
        "gulp-typescript": "^5.0.0"
      },
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/frontend_2.0.0-alpha.1_1549594070942_0.7026626264186875",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.0.0-alpha.3": {
      "name": "frontend",
      "version": "2.0.0-alpha.3",
      "keywords": [
        "UI",
        "UX"
      ],
      "author": {
        "name": "premo"
      },
      "license": "MIT",
      "_id": "frontend@2.0.0-alpha.3",
      "maintainers": [
        {
          "name": "premo",
          "email": "me@danny-jackson.com"
        }
      ],
      "homepage": "https://github.com/danieljackson1983/frontend#readme",
      "bugs": {
        "url": "https://github.com/danieljackson1983/frontend/issues"
      },
      "dist": {
        "shasum": "32d328278b1086ccccec503a0cf9be2ec4d93def",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/frontend/-/frontend-2.0.0-alpha.3.tgz",
        "fileCount": 9,
        "integrity": "sha512-aknBm8mHE6NB4qkO16tuOAkU6W4T5VB/jmolR4ofXZvlccr+Ou/vWlUSnQOubQF46Rzn/0KXxggXNqrLQzFrHw==",
        "signatures": [
          {
            "sig": "MEUCIBObpj3xQxnWJSHqBG5cAeNn4AepyRSBBokmCarlxStZAiEApYb8STiswClDNp9eOqcf3W//D404SnBX5GSt9Gftv7U=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 6101,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXPJICRA9TVsSAnZWagAA9gAP/R71oAAhaeUtB9xLmoyv\nD/eaxZw/z9lJaKhBsOM6X5l3RAOzgwjXram3UnmdIHqEh32cKIcZKxNdBm5z\nrwWoJUhppZgiIBrGMc+V584Gk4Zfwq97vIhHpm3279CMZgSEpS5xGXukhYl7\nchiBK1wgOKxaCpm1Th7/dDOF76VAVfHG1HMUDvLMWbnzAs+4oEu5ZX2SsD7L\nK+cHokAudRjEJzEHWNX1S5+JiT5pcXRNn2iWIAYYQPkqc9WtDIzdZMySSuJ9\nMuENujjZZohDcEdJKh4m5kpogRARyh9w8Xadzody3FX97Hs02oGjNGn16Tbl\nHKRELok6i7Qkywje9bn8GG2ADaGP+XiIahowl/2DygEqwADY2DmnJ1okQ+yM\nT+roWmAARmsvrePg196wquJpFzP1pwqZKzn/PK6Pw1ZKJu5H3cH0+Xp/dCju\nalEyd46qbC1bDA41MpAqoRWC38E6PiBodqbHjVqZ/eD4XrIt0UI55y6KsVnu\nu9fOXoHPkIJVCEHBtWM2CSOk3rKjLVGsS05VNrX7r+ouI2bCbh5fWiyQFpDp\nmaEszr6AH2Fj14NyA1n5W0zfV2vyViaalORFO8FbyFGjBRokekM2CBKCKKNI\nDVXEQgK5ZUCgODENvmo59m2MPLZNDnRmkQWMcBDKc5QBIwsny0lxaE6k0wkp\n5BgA\r\n=4gyX\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "index.js",
      "gitHead": "4dccc103f659bc1ebc5c65bf17facadb7aa00cff",
      "scripts": {},
      "_npmUser": {
        "name": "premo",
        "email": "me@danny-jackson.com"
      },
      "repository": {
        "url": "git+https://github.com/danieljackson1983/frontend.git",
        "type": "git"
      },
      "_npmVersion": "6.4.1",
      "description": "A management system for UI/UX Developers.",
      "directories": {},
      "_nodeVersion": "10.15.0",
      "dependencies": {
        "gulp": "^4.0.0",
        "less": "^3.9.0",
        "gulp-less": "^4.0.1",
        "gulp-sass": "^4.0.2",
        "node-sass": "^4.11.0",
        "typescript": "^3.3.1",
        "gulp-rename": "^1.4.0",
        "gulp-mustache": "^4.1.0",
        "gulp-typescript": "^5.0.0"
      },
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/frontend_2.0.0-alpha.3_1549595207874_0.7780855532182271",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.0.0-alpha.4": {
      "name": "frontend",
      "version": "2.0.0-alpha.4",
      "keywords": [
        "UI",
        "UX"
      ],
      "author": {
        "name": "premo"
      },
      "license": "MIT",
      "_id": "frontend@2.0.0-alpha.4",
      "maintainers": [
        {
          "name": "premo",
          "email": "me@danny-jackson.com"
        }
      ],
      "homepage": "https://github.com/danieljackson1983/frontend#readme",
      "bugs": {
        "url": "https://github.com/danieljackson1983/frontend/issues"
      },
      "dist": {
        "shasum": "97dab78b8f5ec829bcf675ee6fb1e28c4c84bc02",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/frontend/-/frontend-2.0.0-alpha.4.tgz",
        "fileCount": 21,
        "integrity": "sha512-CnOVz50AiEytisWWZqMDxsDbfabHDAD0ZyRY6snf8oi2Tc4ZK/6Li/gL2iG+ndu2QEC3pRf1/ELzg66TPqrGpg==",
        "signatures": [
          {
            "sig": "MEUCIA7jAXNUcmymAEKi37WsRbdI6zdDUXsN97LmpHGqiMgZAiEAxkOG9b39f9HTBCxHcFX4os0iGCtHVMQB8rBCFHe61Oc=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 10144,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXmkZCRA9TVsSAnZWagAAELMP/RSejpafFhBVztbrNr9P\nCwFUEtvGsTtHpg8DPs5reStdeYgfHzpzCzLVkK5N0oqZzyycnBkwvQP11tGO\nFQOa7GfNsHL229zpxV7II/Fi4J5w2BHZM1RCviAjhAk+7INVyd1/y2nwfA0A\nHvX1ABwp+44TDlsxmnkEV182cpWYS3Tp5jeWDvE1gyIOHLWIGsiFSKJqyqup\nKJRwHi4BrocC7d82fyipxjEujqNZ410GIScdqSvc5DP3IKaZ2OhWZnTEkjgC\nYss0bv536TFFwGxIJBZ4XF+F1kbQPWGHkiHE90NUq/olU+xLhjeUkdWE1fLx\nrqklmxtuDBYn2u0WhPx0UVYVzdECdjb/ZXP0ENmKPJ3+qcu8wywdQNQ9fNaG\ncoHhxT4Xx2R57mk4SMUs5Xs5VktJoP6d5eV/qY8RuRJVW+fqMIvP1Q8SqBdz\nWLYhtwee9nDOtyssaDijSftMRtPGoStzoAVLcZmBv2nwYPD1JB01fQu2R/W2\nhhn7/UFfKvQhK83+XIxW6Z5Nk/OO4q9qeGZ4oreRSfols19bfI/kr3R85VTc\nJ39So+8zhmE0HPhJKuXbxYycO4nFMmr1YMPr15SDZfTIj+H4Y9rIfZqhQc8U\n0PwTcq7YR2Hx99Am9qjELQ3cGEBTsLNpEe0QRToZJ13WJmQKDo85OE/XDYtI\nxrnw\r\n=L4xY\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "index.js",
      "gitHead": "fb9ba479f0f62f4289e2bc28b41f67bf5a0e28e3",
      "scripts": {},
      "_npmUser": {
        "name": "premo",
        "email": "me@danny-jackson.com"
      },
      "repository": {
        "url": "git+https://github.com/danieljackson1983/frontend.git",
        "type": "git"
      },
      "_npmVersion": "6.4.1",
      "description": "A management system for UI/UX Developers.",
      "directories": {},
      "_nodeVersion": "10.15.0",
      "dependencies": {
        "gulp": "^4.0.0",
        "less": "^3.9.0",
        "gulp-less": "^4.0.1",
        "gulp-sass": "^4.0.2",
        "node-sass": "^4.11.0",
        "typescript": "^3.3.1",
        "gulp-rename": "^1.4.0",
        "gulp-mustache": "^4.1.0",
        "gulp-typescript": "^5.0.0"
      },
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/frontend_2.0.0-alpha.4_1549691160235_0.16670712103110086",
        "host": "s3://npm-registry-packages"
      }
    }
  },
  "name": "frontend",
  "time": {
    "created": "2013-12-19T16:03:45.189Z",
    "modified": "2026-05-20T15:56:14.619Z",
    "1.0.3": "2013-12-19T16:20:38.662Z",
    "2.0.0-alpha.1": "2019-02-08T02:47:51.038Z",
    "2.0.0-alpha.3": "2019-02-08T03:06:47.977Z",
    "2.0.0-alpha.4": "2019-02-09T05:46:00.413Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/danieljackson1983/frontend#readme"
}