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

0.1.6 • Public • Published

@block-dev/create-block

🔨 Scaffolding a well linted project

Usage

npm init @block-dev/block@latest
# OR
yarn create @block-dev/block
# OR
pnpx @block-dev/create-block

Relation

Config in this package is created by following code:

import { genConfigFiles } from '@block-dev/create-config';

genConfigFiles({
  name: '@block-dev/create-block',
  description: '🔨 Scaffolding a well linted project',
  license: 'MIT',
  author: 'OrekiSH <orekish@163.com> (https://github.com/OrekiSH)',
  repository: 'https://github.com/OrekiSH/block-dev',
  ts: true,
  ts_esm: true,
  editorconfig: false,
  gitignore: false,
  custom_dev_dependencies: {
    'npm-run-all': '^4.1.5',
    '@types/prompts': '^2.0.14',
  },
  custom_dependencies: {
    kolorist: '^1.5.0',
    minimist: '^1.2.5',
    prompts: '^2.4.1',
    '@block-dev/create-config': '^0.1.2'
  },
  custom_scripts: {
    build: 'npm-run-all --parallel build:*',
    'build:es': 'tsc --p ./tsconfig.es.json',
    'build:cjs': 'tsc',
    'lint:js': 'eslint . --ignore-path .eslintignore',
  },
  custom_package_json_fields: {
    bin: {
      'create-block': 'lib/index.js'
    }
  }
});

Readme

Keywords

none

Package Sidebar

Install

npm i @block-dev/create-block

Weekly Downloads

2

Version

0.1.6

License

MIT

Unpacked Size

42.1 kB

Total Files

31

Last publish

Collaborators

  • orekish