Nashville Plays Music

    hd-scripts

    1.1.2 • Public • Published

    hd-scripts NPM Version NPM License tests

    My personal config and scripts for projects

    Install

    $ npm install hd-scripts
    

    Usage

    package.json

    "main": "src/index.js",
    "types": "dist/src/index.d.ts",
    "files": [
      "dist/src",
      "src",
      "index.js",
      "cli.js"
    ],
    "scripts": {
      "lint": "eslint **/*.js && prettier --check **/*.{js,ts,yml,json} --ignore-path .gitignore && tsc"
    },
    "simple-git-hooks": {
      "pre-commit": "npx lint-staged"
    },
    "lint-staged": {
      "*.{js,ts,md,yml,json}": "prettier --write",
      "*.js": "eslint --fix"
    },
    "eslintConfig": {
      "extends": "./node_modules/hd-scripts/eslint/index.js"
    },
    "eslintIgnore": [
      "dist"
    ],
    "prettier": "hd-scripts/prettier.config.js"
    

    tsconfig.json

    {
      "extends": "hd-scripts/tsconfig.json",
      "compilerOptions": {
        "outDir": "dist",
        "composite": false,
        "incremental": false
      },
      "include": ["src", "test.js", "cli.js", "package.json"]
    }

    License

    MIT © Hugo Dias

    Keywords

    Install

    npm i hd-scripts

    DownloadsWeekly Downloads

    94

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    9.54 kB

    Total Files

    9

    Last publish

    Collaborators

    • hugomrdias