Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion - npm scripts instead of pack.sh #77

Open
gsmedley opened this issue May 15, 2018 · 0 comments
Open

Suggestion - npm scripts instead of pack.sh #77

gsmedley opened this issue May 15, 2018 · 0 comments

Comments

@gsmedley
Copy link

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"
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants