Skip to content

Suggestion - npm scripts instead of pack.sh #77

Open
@gsmedley

Description

@gsmedley

Just wondering why you have a bash script, pack.sh, that contains things that can easily be done with npm scripts? Would make it easier on those who develop on Windows.

  "scripts": {
    "build.install": "npm i && cd ../src && npm i",
    "build": "npm run build.install && npm run build.clean && npm run build.prep && npm run build.compile && npm run build.package && npm run build.post",
    "build.prep": "ncp ../src ./src && mkdir package",
    "build.compile": "cd ./src && tsc",
    "build.package": "cd ./package && npm pack ../src",
    "build.post": "rimraf ./src",
    "build.clean": "rimraf ./src && rimraf ./package"
  }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions