@vanillaes/esmtk 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/bin/esmtk.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<h1 align="center">ECMAScript Module Toolkit</h1>
|
|
2
2
|
|
|
3
|
-
ESMTK, essential tools for ECMAScript module development
|
|
3
|
+
<div align="center">ESMTK, essential tools for ECMAScript module development</div>
|
|
4
4
|
|
|
5
5
|
<div align="center">
|
|
6
6
|
<a href="https://github.com/vanillaes/esmtk/releases"><img src="https://badgen.net/github/tag/vanillaes/esmtk?cache-control=no-cache" alt="GitHub Release"></a>
|
|
@@ -56,8 +56,8 @@ Run tests (using Tape-ES)
|
|
|
56
56
|
`esmtk test [...options] [glob]`
|
|
57
57
|
|
|
58
58
|
- `[glob]` - the glob used to locate test files (default: `**/*.spec.js`)
|
|
59
|
-
-
|
|
60
|
-
-
|
|
59
|
+
- `--ignore` - the ignore matcher pattern (default `**/node_modules/**`)
|
|
60
|
+
- `--root` - the root path to run the tests from (default `process.cwd()`)
|
|
61
61
|
- `--watch` - watch for changes to the tests
|
|
62
62
|
|
|
63
63
|
### Usage
|
|
@@ -254,7 +254,7 @@ Preview the package contents included during `npm publish`
|
|
|
254
254
|
|
|
255
255
|
`esmtk preview [...options]`
|
|
256
256
|
|
|
257
|
-
-
|
|
257
|
+
- `--root` - the root path to preview
|
|
258
258
|
|
|
259
259
|
### Usage
|
|
260
260
|
|
package/bin/esmtk.js
CHANGED
|
@@ -18,8 +18,8 @@ program.command('init')
|
|
|
18
18
|
program.command('test')
|
|
19
19
|
.description('Run tests using Tape-ES')
|
|
20
20
|
.argument('[glob]', 'The glob pattern used to find test files (default: `**/*.spec.js`)', '**/*.spec.js')
|
|
21
|
-
.option('
|
|
22
|
-
.option('
|
|
21
|
+
.option('--ignore <ignore>', 'the ignore matcher pattern (default `**/node_modules/**`)')
|
|
22
|
+
.option('--root <root>', 'the root path to run the tests from (default `process.cwd()`)')
|
|
23
23
|
.option('--watch', 'Watch the files for changes')
|
|
24
24
|
.action((glob, options) => {
|
|
25
25
|
test(glob, options)
|
|
@@ -94,7 +94,7 @@ program.command('clean')
|
|
|
94
94
|
|
|
95
95
|
program.command('preview')
|
|
96
96
|
.description('Preview the package contents included during \'npm publish\'')
|
|
97
|
-
.option('
|
|
97
|
+
.option('--root <root>', 'the root path to run the tests from (default `process.cwd()`)', process.cwd())
|
|
98
98
|
.action((options) => {
|
|
99
99
|
preview(options)
|
|
100
100
|
})
|