@package-json/create
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

@package-json/create

npm version npm downloads license

Zero-config package.json creator.

Usage

cli
# npm
npx create @package-json

# pnpm
pnpm create @package-json

# bun
bun create @package-json
programmatic
import { create } from '@package-json/create'

const json = create()

export default json
config
// pkgc.config.ts / package-json-create.config.ts
import { defineConfig } from '@package-json/create'

export default defineConfig({
  name: '@package-json/foo', // scope: @package-json
  scripts: {
    'build': 'pkgroll',
    'build:watch': 'pkgroll --watch',
    'test': 'vitest run',
    'test:watch': 'vitest watch',
  },
  type: 'module',
})

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @package-json/create

Weekly Downloads

1

Version

0.0.11

License

MIT

Unpacked Size

6.77 kB

Total Files

7

Last publish

Collaborators

  • kwaa