Open boneskull opened 3 years ago
Copied verbatim from nodejs/package-maintenance#404 by @darcyclarke
create-pkg
$ npm init pkg $ npx create-pkg
const pkg = require('create-pkg') import pkg from 'create-pkg'
package.json
name
description
homepage
author
license
funding
version
type
main
scripts
"prepublish": "..."
"test": "..."
exports
index.js
LICENSE
CONTRIBUTING.md
CODE_OF_CONDUCT.md
README.md
FUNDING.yml
.npmrc
.gitignore
/node_modules
.github/ISSUE_TEMPLATES/*
@pkgjs/support
npm init x
$ npx create-x
More prior art:
create-pkg
Goals:
Example Usage:
Questions:
package.json
name
description
homepage
author
license
funding
version
type
main
scripts
"prepublish": "..."
* (contentious)"test": "..."
* (contentious)exports
index.js
LICENSE
CONTRIBUTING.md
CODE_OF_CONDUCT.md
README.md
FUNDING.yml
* (contentious).npmrc
* (contentious).gitignore
* (contentious)/node_modules
.github/ISSUE_TEMPLATES/*
* (contentious)Next Steps:
@pkgjs/support
to be a consumer of this tool or vice-versaReferences & Prior Art:
npm init x
(ie.$ npx create-x
)