-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
package deets...json...editor...license #5
Conversation
const fs = require("fs") | ||
let pkg = fs.readFileSync("./package.json", "utf8") | ||
pkg = JSON.parse(pkg) | ||
console.log(pkg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JSON.parse
will throw
error if invalid
"name": "@s9a/tape", | ||
"version": "0.0.0", | ||
"lockfileVersion": 1 | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm init
as 0.0.0
so that first bump via npm version minor
will be isolated bump to 0.1.0
for first release on npm
@@ -0,0 +1,7 @@ | |||
ISC License | |||
|
|||
Copyright (c) s9a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Omitting year because git history exists
I like
CC0-1.0
but after some research and comparing to projects npx, H5BP, Solarized, palx, the ISC License seems safer for widest reach. Changeable in a future version. Compare licenses.