This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

doogu-slim

1.0.109 • Public • Published

doogu-slim

Slim package of doogu.

Install

npm i -D doogu-slim

What includes?

This package contains the following dependencies, for development purposes:

  • Prettier – An opinionated code formatter
  • ESLint – Pluggable JavaScript linter
  • SWC – An extensible Rust-based platform for the next generation of fast developer tools
  • Typescript – A language for application-scale JavaScript
  • Jest – A delightful JavaScript Testing Framework
  • chokidar-cli – Fast cross-platform command line utility to watch file system changes

Shareable configs

The configuration file that can be use with other projects.

tsconfig

Extending the shareable config for TypeScript in tsconfig.json file:

{
  "extends": "doogu-slim/config/tsconfig.json"
}

eslint

Extending the shareable config for ESLint in package.json file:

{
  "name": "mypackage",
  "version": "1.0.0",
  "eslintConfig": {
    "extends": "./node_modules/doogu-slim/config/eslint.json"
  },
  "eslintIgnore": ["hello.ts", "world.ts"]
}

prettier

Extending the shareable config for Prettier in package.json file:

{
  "name": "mypackage",
  "version": "1.0.0",
  "prettier": "doogu-slim/config/prettier.json"
}

Scripts

The commands that can be use in package.json file:

{
  "name": "mypackage",
  "version": "1.0.0",
  "scripts": {
    "start": "npm run build && npm run watch",
    "watch": "chokidar \"src/*.ts\" -c \"npm run build\"",
    "lint": "tsc --noEmit && eslint \"./src\" --ext \".ts\" --cache --cache-location \"node_modules/.cache/.eslintcache\"",
    "build": "",
    "test": "",
    "coverage": ""
  }
}

Contributing

We 💛  issues.

When committing, please conform to the semantic-release commit standards. Please install commitizen and the adapter globally, if you have not already.

npm i -g commitizen cz-conventional-changelog

Now you can use git cz or just cz instead of git commit when committing. You can also use git-cz, which is an alias for cz.

git add . && git cz

Thank you

A project by Stilearning © 2022.

Package Sidebar

Install

npm i doogu-slim

Weekly Downloads

82

Version

1.0.109

License

MIT

Unpacked Size

7.48 kB

Total Files

10

Last publish

Collaborators

  • bent10