New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

doogu

Package Overview
Dependencies
Maintainers
1
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doogu

A wrapper around modern JavaScript tools

  • 2.4.149
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
585
decreased by-56.08%
Maintainers
1
Weekly downloads
 
Created
Source

doogu

A wrapper around modern JavaScript tools.

Install

npm i -D doogu

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/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/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/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": "swc \"./src\" -d \"dist\" && tsc -d --emitDeclarationOnly --outDir \"dist\"",
    "test": "node --experimental-vm-modules --no-warnings ./node_modules/jest/bin/jest.js --verbose",
    "coverage": "npm 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.

Keywords

FAQs

Package last updated on 15 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc