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

@dash4/config

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dash4/config

dash4 config

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
increased by266.67%
Maintainers
1
Weekly downloads
 
Created
Source

Dash4 config

Set of configurations and scripts for creating a `Dash4 Plugin`.

NPM version License Commitizen friendly Prettier


The following documentation is just relevant for dash4 plugin development. For informations on how to use Dash4 please read this: Dash4 documentation

Table of Contents

Installation

npm i -D @dash4/config @types/jest jest ts-jest react-testing-library

Usage

package.json

{
  "scripts": {
    "analyze-bundle-size": "dash4-analyze-bundle-size",
    "prebuild": "dash4-prebuild",
    "build": "dash4-npm-run-all build:*",
    "build:client": "dash4-build-client",
    "build:server": "dash4-build-server",
    "prepublishOnly": "dash4-npm-run-all build",
    "start": "dash4-start",
    "static": "dash4-static",
    "test": "dash4-npm-run-all test:*",
    "test:client": "dash4-test-client",
    "test:server": "dash4-test-server",
    "watch-build": "dash4-watch-build",
    "watch-dist": "dash4-watch-dist",
    "watch-test-client": "dash4-watch-test-client",
    "watch-test-server": "dash4-watch-test-server"
  }
}

tsconfig.json

{
  "extends": "@dash4/config/tsconfig.json",
  "exclude": ["dist", "build", "node_modules", "__tests__", "src/server"]
}

tsconfig.test.json

{
  "extends": "@dash4/config/tsconfig.test.json",
  "exclude": ["dist", "build", "node_modules", "__tests__", "src/server"]
}

tsconfig.server.json

{
  "extends": "@dash4/config/tsconfig.server.json",
  "exclude": ["dist", "build", "node_modules", "__tests__", "src/client"]
}

jest.config.js

module.exports = require('@dash4/config/jest.config');

jest.server.config.js

module.exports = require('@dash4/config/jest.server.config');

webpack.config.js

module.exports = require('@dash4/config/webpack.config.js')('###PLUGIN_NAME###');

License

The @dash4/config is MIT licensed

FAQs

Package last updated on 07 Apr 2019

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