Giter Club home page Giter Club logo

luctst-cli's Introduction

luctst-cli's People

Contributors

kvin3324 avatar luctst avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

kvin3324

luctst-cli's Issues

Build script

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
Create a build script who take an input the main lib file lib/index.js and minize, compile it in a build folder for better performance.

Running npm install doesn't display package version

Describe the bug
When running npm install to install dependencies the paclages versions are not displays in the package.json file

To Reproduce
Steps to reproduce the behavior:

  1. Running npx luctst-cli start command.
  2. Running npm install command.
  3. In package.json file the versions are not displays.

l

m

Add .prettierignore

Add a .prettierignore file to exlude some files due to the docs i think this is the best way to exclude files, folders.

build time, name property is not correct

Describe the bug
When the start command is launched the name property in the package.json file is not correct

To Reproduce
Steps to reproduce the behavior:

  1. Run npx luctst-cli start.
  2. The process is running.
  3. When done, check the name property from package.json file, it's not good.

Expected behavior
I expect to have my name

Add .eslintrc.json file

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
An .eslintrc.json file should be in the template, it allow us to easily handle eslint.

The template should be like this.

{
    "extends": [
        "airbnb-base",
        "prettier"
    ],
    "env": {
        "node": true,
        "es6": true
    },
    "plugins": [
        "prettier"
    ],
    "rules": {
        "prettier/prettier": 1,
        "no-unused-expressions": [
            "error",
            {
                "allowShortCircuit": true,
                "allowTernary": true
            }
        ],
        "max-lines": [
            "warn",
            {
                "max": 200,
                "skipBlankLines": true,
                "skipComments": true
            }
        ],
        "no-else-return": [
            "error",
            {
                "allowElseIf": true
            }
        ],
        "max-lines-per-function": [
            "warn",
            20
        ],
        "complexity": [
            "warn",
            5
        ],
        "max-nested-callbacks": [
            "warn",
            2
        ],
        "max-depth": [
            "warn",
            3
        ],
        "no-underscore-dangle": 0
    }
}

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.