Socket
Book a DemoInstallSign in
Socket

@theintern/dev

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theintern/dev

Development support scripts for Intern projects.

latest
Source
npmnpm
Version
0.11.2
Version published
Maintainers
4
Created
Source

intern-dev

Support scripts for Intern and its sub-projects


Leadfoot logo           Intern logo           Dig Dug logo


Usage

Include this project in devDependencies in your Intern component's package.json, then add the desired scripts to scripts in package.json. For example:

"scripts": {
  "build": "intern-dev-build",
  "clean": "intern-dev-clean",
  "lint": "intern-dev-lint",
  "release": "intern-dev-release",
  "test": "intenr-dev-clean && intern-dev-build && intern-dev-test",
  "watch": "intern-dev-watch"
}

Configuration

Components should generally try to follow the conventions used by this package (standard tslint, sources in src, test config in tests/intern.js, etc.), in which case no configuration is required. However, limited configuration is supported through the internDev property in your project's package.json.

"internDev": {
  // Patterns to ignore
  "ignore": [ "ignore", "glob", "patterns" ],
  "resources": {
    // Arrays of patterns to copy for a build, keyed by destination path
    "_build": [
      "patterns",
      { base: "src/stuff", pattern: "to" },
      "copy"
    ]
  },
  // Path to custom test config
  "testConfig": "tests/custom.config.js"
}

Note that all paths and path patterns are relative to the project root.

Keywords

intern

FAQs

Package last updated on 31 Mar 2022

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.