We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
p-s
node
npm
Scripts file (or at least the relevant bits):
/p-s/dist/bin-utils/initialize/index.js
The command executed:
./node_modules/.bin/p-s- init
The output:
./node_modules/p-s/dist/bin-utils/initialize/index.js:31 test: scripts.test ? 'nps test' : undefined ^ TypeError: Cannot read property 'test' of undefined
Problem description: Init fails to work if there is no "scripts" object in package.json
Suggested solution: Inform user of problem or create "scripts" property automatically.
The text was updated successfully, but these errors were encountered:
Yeah, let's create the scripts automatically. Want to make a pull request?
Sorry, something went wrong.
fix(init): don't fail when there are no scripts
277014d
**What**: Closes #89 **Why**: Because we want to be able to init even if you have no `scripts` in your `package.json` **How**: ES6 magic
fix(init): don't fail when there are no scripts (#99)
b80aa2b
No branches or pull requests
p-s
version: 3.0.3node
version: 7.4.0npm
version: 4.0.5Scripts file (or at least the relevant bits):
The command executed:
./node_modules/.bin/p-s- init
The output:
Problem description:
Init fails to work if there is no "scripts" object in package.json
Suggested solution:
Inform user of problem or create "scripts" property automatically.
The text was updated successfully, but these errors were encountered: