pankod / superplate

A well-structured production-ready frontend boilerplate with Typescript, React Testing Library, styled-component, React Query, .env, Axios, Bundle Analyzer, Prettier and 30+ plugins. superplate creates projects for React.js, Next.js, and refine. https://pankod.github.io/superplate/

Home Page:https://pankod.github.io/superplate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad format of package.json commands

tomaszs opened this issue · comments

Package.json of the generated project contains such commands:

    "lint": "eslint '**/*.{js,jsx,ts,tsx}'",
    "prettier": "prettier --write '**/*.{js,jsx,ts,tsx}'",

These won't work at least on Windows / Bash.

To fix it you'd have to remove single quotes:

    "lint": "eslint **/*.{js,jsx,ts,tsx}",
    "prettier": "prettier --write **/*.{js,jsx,ts,tsx}",

In both commands

Hello @tomaszs Feel free to create a PR.