Giter Site home page Giter Site logo

generator-web's Introduction

generator-web

Build awesome frontends.

Usage

npm install -g @metalab/generator-web
yo @metalab/web

generator-web's People

Contributors

izaakschroeder avatar

Watchers

 avatar James Cloos avatar  avatar

generator-web's Issues

Generates invalid package.json

Found 2 issues while using this generator:

  1. Wouldn't terminate process after finishing (was expecting it to quit after the Woohoo! message)
  2. The generated package.json is seriously messed up. Not only it generates an unreadable, one-line json, but it outputs the following (after going through http://pro.jsonlint.com):
{
    "0": "{",
    "1": "\n",
    "2": "\t",
    "3": "\"",
    "4": "s",
    "5": "c",
    "6": "r",
    "7": "i",
    "8": "p",
    "9": "t",
    "10": "s",
    "11": "\"",
    "12": ":",
    "13": " ",
    "14": "{",
    "15": "\n",
    "16": "\t",
    "17": "\t",
    "18": "\"",
    "19": "l",
    "20": "i",
    "21": "n",
    "22": "t",
    "23": "\"",
    "24": ":",
    "25": " ",
    "26": "\"",
    "27": ".",
    "28": "/",
    "29": "n",
    "30": "o",
    "31": "d",
    "32": "e",
    "33": "_",
    "34": "m",
    "35": "o",
    "36": "d",
    "37": "u",
    "38": "l",
    "39": "e",
    "40": "s",
    "41": "/",
    "42": ".",
    "43": "b",
    "44": "i",
    "45": "n",
    "46": "/",
    "47": "e",
    "48": "s",
    "49": "l",
    "50": "i",
    "51": "n",
    "52": "t",
    "53": " ",
    "54": "-",
    "55": "-",
    "56": "i",
    "57": "g",
    "58": "n",
    "59": "o",
    "60": "r",
    "61": "e",
    "62": "-",
    "63": "p",
    "64": "a",
    "65": "t",
    "66": "h",
    "67": " ",
    "68": ".",
    "69": "g",
    "70": "i",
    "71": "t",
    "72": "i",
    "73": "g",
    "74": "n",
    "75": "o",
    "76": "r",
    "77": "e",
    "78": " ",
    "79": ".",
    "80": "\"",
    "81": "\n",
    "82": "\t",
    "83": "}",
    "84": ",",
    "85": "\n",
    "86": "\t",
    "87": "\"",
    "88": "d",
    "89": "e",
    "90": "v",
    "91": "D",
    "92": "e",
    "93": "p",
    "94": "e",
    "95": "n",
    "96": "d",
    "97": "e",
    "98": "n",
    "99": "c",
    "100": "i",
    "101": "e",
    "102": "s",
    "103": "\"",
    "104": ":",
    "105": " ",
    "106": "{",
    "107": "\n",
    "108": "\t",
    "109": "\t",
    "110": "\"",
    "111": "e",
    "112": "s",
    "113": "l",
    "114": "i",
    "115": "n",
    "116": "t",
    "117": "\"",
    "118": ":",
    "119": " ",
    "120": "\"",
    "121": "^",
    "122": "0",
    "123": ".",
    "124": "2",
    "125": "2",
    "126": ".",
    "127": "1",
    "128": "\"",
    "129": ",",
    "130": "\n",
    "131": "\t",
    "132": "\t",
    "133": "\"",
    "134": "e",
    "135": "s",
    "136": "l",
    "137": "i",
    "138": "n",
    "139": "t",
    "140": "-",
    "141": "p",
    "142": "l",
    "143": "u",
    "144": "g",
    "145": "i",
    "146": "n",
    "147": "-",
    "148": "r",
    "149": "e",
    "150": "a",
    "151": "c",
    "152": "t",
    "153": "\"",
    "154": ":",
    "155": " ",
    "156": "\"",
    "157": "^",
    "158": "2",
    "159": ".",
    "160": "5",
    "161": ".",
    "162": "0",
    "163": "\"",
    "164": ",",
    "165": "\n",
    "166": "\t",
    "167": "\t",
    "168": "\"",
    "169": "b",
    "170": "a",
    "171": "b",
    "172": "e",
    "173": "l",
    "174": "-",
    "175": "e",
    "176": "s",
    "177": "l",
    "178": "i",
    "179": "n",
    "180": "t",
    "181": "\"",
    "182": ":",
    "183": " ",
    "184": "\"",
    "185": "^",
    "186": "3",
    "187": ".",
    "188": "1",
    "189": ".",
    "190": "1",
    "191": "1",
    "192": "\"",
    "193": "\n",
    "194": "\t",
    "195": "}",
    "196": "\n",
    "197": "}",
    "198": "\n",
    "devDependencies": {
        "gulp": "gulpjs/gulp#4.0",
        "gulp-hub": "frankwallis/gulp-hub#4.0",
        "dotenv": "^1.1.0",
        "babel-core": "^5.5.6",
        "webpack": "^1.9.10",
        "babel-loader": "^5.1.4",
        "extract-text-webpack-plugin": "^0.8.1",
        "sass-loader": "^1.0.2",
        "style-loader": "^0.12.3",
        "css-loader": "^0.14.5",
        "font-loader": "^0.1.2",
        "autoprefixer-loader": "^2.0.0",
        "node-sass": "^3.2.0"
    },
    "dependencies": {
        "node-libs-browser": "^0.5.2",
        "babel-runtime": "^5.5.6",
        "node-noop": "^0.0.1"
    }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.