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

Custom path for certain scripts? #55

Closed
jwhitmarsh opened this issue Jul 4, 2018 · 1 comment
Closed

Custom path for certain scripts? #55

jwhitmarsh opened this issue Jul 4, 2018 · 1 comment

Comments

@jwhitmarsh
Copy link

Is it possible to have a custom path for certain scripts? I'm thinking via an environment variable or something. The use case is to have a shared scripts module, but also custom scripts for a project. An example package.json:

  "scripts": {
    "test": "scripty",
    "start": "scripty",
    "shared-script": "CUSTOM_SCRIPTY_PATH=./node_modules/shared-scripts/scripts scripty",
    "another-shared-script": "CUSTOM_SCRIPTY_PATH=./node_modules/shared-scripts/scripts scripty"
  },
@searls
Copy link
Member

searls commented Jul 4, 2018

This is not supported. I'd recommend just symlinking in the expected/conventional location to where you want them to be found

@searls searls closed this as completed Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants