Zero-config package.json
creator.
# npm
npx create @package-json
# pnpm
pnpm create @package-json
# bun
bun create @package-json
import { create } from '@package-json/create'
const json = create()
export default json
// 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',
})