Skip to content

[cli] Running patternlab init in a directory without a package.json should create one #891

@hdwebpros

Description

@hdwebpros

I am using pattern-lab/cli@0.0.1-alpha.23 on Windows, with Node v9.9.0`, using a Vanilla Edition.

Expected Behavior

npm install @pattern-lab/cli --save-dev creates a package.json

Actual Behavior

It does not create a package.json

Steps to Reproduce

Open cmd in windows. Navigate to a blank folder. Run
npm install @pattern-lab/cli --save-dev
You get the node_modules folder and a package-lock.json file, but no package.json file

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions