0.11.2 • Published 3 years ago

@theintern/dev v0.11.2

Weekly downloads
50
License
BSD-3-Clause
Repository
github
Last release
3 years ago

intern-dev

Support scripts for Intern and its sub-projects

                   

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.

0.11.2

3 years ago

0.11.1

4 years ago

0.11.0

4 years ago

0.10.2

6 years ago

0.10.1

6 years ago

0.10.0

6 years ago

0.9.1

6 years ago

0.9.0

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.3

7 years ago

0.7.2

7 years ago

0.7.1

7 years ago

0.7.0

7 years ago

0.6.6

7 years ago

0.6.5

7 years ago

0.6.4

7 years ago

0.6.3

7 years ago

0.6.4-pre

7 years ago

0.6.2

7 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.11

8 years ago

0.5.10

8 years ago

0.5.9

8 years ago

0.5.8

8 years ago

0.5.7

8 years ago

0.5.6

8 years ago

0.5.5

8 years ago

0.5.4

8 years ago

0.5.3

8 years ago

0.5.2

8 years ago

0.5.1-pre

8 years ago

0.5.0

8 years ago

0.4.5

8 years ago

0.4.4

8 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago