Skip to content

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

@hakunin

Description

@hakunin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions