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

(solved) How to get npm-lockdown running on CircleCI #53

Open
hakunin opened this issue Jul 21, 2016 · 0 comments
Open

(solved) How to get npm-lockdown running on CircleCI #53

hakunin opened this issue Jul 21, 2016 · 0 comments

Comments

@hakunin
Copy link

hakunin commented Jul 21, 2016

I had to do a couple of thing to make this run, first I had to apply the workaround for line endings:

// package.json
  "scripts": {
    "preinstall": "node ./node_modules/.bin/lockdown",
    //...

Then I had to install lockdown priori to npm install running on the code integration tool:

# circle.yaml
machine:
  #...
  post:
    - "cd <project directory> && npm i lockdown"

I haven't found any info on this elsewhere, hope this helps someone.

Leaving this open if the authors of this package want to get back to it and maybe include it in the docs, otherwise feel free to close.

@hakunin hakunin changed the title (solved) How to get this running on CircleCI (solved) How to get npm-lockdown running on CircleCI Jul 21, 2016
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

1 participant