js-build-tools 6.3.1 → 6.4.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 +10 -3
- package/dist/lint.js +17 -0
- package/dist/lint.min.js +1 -0
- package/dist/partials/imagesFor.js +42 -43
- package/dist/partials/jsdocDocsFor.js +128 -128
- package/dist/partials/lintSource.js +41 -0
- package/dist/partials/loadPeer.js +71 -70
- package/dist/partials/minifyFor.js +16 -16
- package/dist/partials/neostandardLint.js +130 -122
- package/dist/partials.js +176 -169
- package/dist/partials.min.js +1 -1
- package/dist/sourceLint.js +11 -27
- package/dist/sourceLint.min.js +1 -1
- package/dist/test-helpers/isolateGulpCache.js +25 -0
- package/dist/utilities/dotGet.js +46 -46
- package/dist/utilities/dotNotate.js +48 -48
- package/dist/utilities/dotSet.js +37 -37
- package/functions/build.test.mjs +17 -7
- package/functions/bundle.test.mjs +0 -1
- package/functions/images.test.mjs +4 -1
- package/functions/lint.mjs +9 -0
- package/functions/partials/addToReadme.test.mjs +2 -1
- package/functions/partials/imagesFor.mjs +0 -1
- package/functions/partials/imagesFor.test.mjs +5 -2
- package/functions/partials/lintSource.mjs +27 -0
- package/functions/partials/loadPeer.mjs +1 -0
- package/functions/partials/loadPlaywright.test.mjs +1 -2
- package/functions/partials/minifyFor.mjs +1 -1
- package/functions/partials/neostandardLint.mjs +9 -2
- package/functions/partials/neostandardLint.test.mjs +14 -0
- package/functions/partials/runOnChange.test.mjs +5 -4
- package/functions/partials/tsFor.test.mjs +1 -0
- package/functions/partials.mjs +1 -0
- package/functions/partials.test.mjs +1 -1
- package/functions/sourceLint.mjs +4 -15
- package/functions/sourceLint.test.mjs +49 -0
- package/functions/test-helpers/isolateGulpCache.mjs +16 -0
- package/functions/test-helpers/setUp.mjs +7 -7
- package/functions/testFull.test.mjs +1 -1
- package/functions/testQuick.test.mjs +1 -1
- package/functions/utilities/convertMjsFilesForDocs.test.mjs +1 -0
- package/functions/utilities/dotGet.mjs +2 -2
- package/functions/utilities/dotNotate.mjs +2 -2
- package/functions/utilities/dotNotate.test.mjs +7 -0
- package/functions/utilities/dotSet.mjs +1 -1
- package/gulpfile.base.mjs +1 -0
- package/package.json +12 -2
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.minifyFor = void 0;
|
|
7
|
-
var _gulp = require("gulp");
|
|
8
|
-
var _gulpUglifyEs = _interopRequireDefault(require("gulp-uglify-es"));
|
|
9
|
-
var _gulpRename = _interopRequireDefault(require("gulp-rename"));
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
const uglify = _gulpUglifyEs.default
|
|
12
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.minifyFor = void 0;
|
|
7
|
+
var _gulp = require("gulp");
|
|
8
|
+
var _gulpUglifyEs = _interopRequireDefault(require("gulp-uglify-es"));
|
|
9
|
+
var _gulpRename = _interopRequireDefault(require("gulp-rename"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
const uglify = Object.hasOwn(_gulpUglifyEs.default, 'default') ? _gulpUglifyEs.default.default : _gulpUglifyEs.default;
|
|
12
|
+
|
|
13
13
|
/**
|
|
14
14
|
* Minify files and rename the output with '.min' extension.
|
|
15
15
|
* @memberOf module:partials
|
|
16
16
|
* @returns {*}
|
|
17
|
-
*/
|
|
18
|
-
const minifyFor = (srcSearch, destination) => (0, _gulp.src)(srcSearch).pipe(uglify()).pipe((0, _gulpRename.default)({
|
|
19
|
-
extname: '.min.js'
|
|
20
|
-
})).pipe((0, _gulp.dest)(destination));
|
|
17
|
+
*/
|
|
18
|
+
const minifyFor = (srcSearch, destination) => (0, _gulp.src)(srcSearch).pipe(uglify()).pipe((0, _gulpRename.default)({
|
|
19
|
+
extname: '.min.js'
|
|
20
|
+
})).pipe((0, _gulp.dest)(destination));
|
|
21
21
|
exports.minifyFor = minifyFor;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.neostandardLint = void 0;
|
|
7
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
8
|
-
require("core-js/modules/esnext.iterator.for-each.js");
|
|
9
|
-
var _nodeFs = _interopRequireDefault(require("node:fs"));
|
|
10
|
-
var _nodePath = _interopRequireDefault(require("node:path"));
|
|
11
|
-
var _through = _interopRequireDefault(require("through2"));
|
|
12
|
-
var _eslint = require("eslint");
|
|
13
|
-
var _loadPeer = require("./loadPeer.js");
|
|
14
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
-
// neostandard (js-build-tools' chosen style - a maintained, TypeScript-aware successor to `standard`, see
|
|
16
|
-
// https://github.com/neostandard/neostandard) ships ESM-only, see importModule for how it is imported.
|
|
17
|
-
const importNeostandard = () => (0, _loadPeer.importModule)('neostandard');
|
|
18
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.neostandardLint = void 0;
|
|
7
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
8
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
|
9
|
+
var _nodeFs = _interopRequireDefault(require("node:fs"));
|
|
10
|
+
var _nodePath = _interopRequireDefault(require("node:path"));
|
|
11
|
+
var _through = _interopRequireDefault(require("through2"));
|
|
12
|
+
var _eslint = require("eslint");
|
|
13
|
+
var _loadPeer = require("./loadPeer.js");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
// neostandard (js-build-tools' chosen style - a maintained, TypeScript-aware successor to `standard`, see
|
|
16
|
+
// https://github.com/neostandard/neostandard) ships ESM-only, see importModule for how it is imported.
|
|
17
|
+
const importNeostandard = () => (0, _loadPeer.importModule)('neostandard');
|
|
18
|
+
|
|
19
19
|
/**
|
|
20
20
|
* Read the `env` a project already declared for Standard (the `standard` field in its package.json), so a project
|
|
21
21
|
* migrating from `standard` keeps its globals (jest, browser, ...) without touching package.json.
|
|
22
22
|
* @param {string} cwd
|
|
23
23
|
* @returns {Array<string>}
|
|
24
24
|
* @private
|
|
25
|
-
*/
|
|
26
|
-
const readEnv = cwd => {
|
|
27
|
-
try {
|
|
28
|
-
return JSON.parse(_nodeFs.default.readFileSync(_nodePath.default.join(cwd, 'package.json'), 'utf8')).standard?.env ?? [];
|
|
29
|
-
} catch {
|
|
30
|
-
return [];
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
|
|
25
|
+
*/
|
|
26
|
+
const readEnv = cwd => {
|
|
27
|
+
try {
|
|
28
|
+
return JSON.parse(_nodeFs.default.readFileSync(_nodePath.default.join(cwd, 'package.json'), 'utf8')).standard?.env ?? [];
|
|
29
|
+
} catch {
|
|
30
|
+
return [];
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
34
|
/**
|
|
35
35
|
* Build an ESLint instance configured with neostandard, honoring the project's own package.json `standard.env`,
|
|
36
36
|
* plus an optional layer of rule overrides (see gulp.config.mjs's `lint.rules`) for a rule that is wrong for this
|
|
@@ -45,59 +45,60 @@ const readEnv = cwd => {
|
|
|
45
45
|
* @param {Object<string, *>} [options.rules={}]
|
|
46
46
|
* @returns {Promise<ESLint>} eslint's ESLint instance
|
|
47
47
|
* @private
|
|
48
|
-
*/
|
|
49
|
-
const buildEslint = async ({
|
|
50
|
-
cwd,
|
|
51
|
-
ts,
|
|
52
|
-
fix,
|
|
53
|
-
rules = {}
|
|
54
|
-
}) => {
|
|
55
|
-
const {
|
|
56
|
-
neostandard,
|
|
57
|
-
defaultFilePatterns
|
|
58
|
-
} = await importNeostandard();
|
|
59
|
-
const baseConfig = neostandard({
|
|
60
|
-
ts,
|
|
61
|
-
env: readEnv(cwd)
|
|
62
|
-
});
|
|
63
|
-
if (Object.keys(rules).length) {
|
|
64
|
-
baseConfig.push({
|
|
65
|
-
files: defaultFilePatterns.all,
|
|
66
|
-
rules
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
return new _eslint.ESLint({
|
|
70
|
-
cwd,
|
|
71
|
-
fix,
|
|
72
|
-
overrideConfigFile: true,
|
|
73
|
-
baseConfig
|
|
74
|
-
});
|
|
75
|
-
};
|
|
76
|
-
|
|
48
|
+
*/
|
|
49
|
+
const buildEslint = async ({
|
|
50
|
+
cwd,
|
|
51
|
+
ts,
|
|
52
|
+
fix,
|
|
53
|
+
rules = {}
|
|
54
|
+
}) => {
|
|
55
|
+
const {
|
|
56
|
+
neostandard,
|
|
57
|
+
defaultFilePatterns
|
|
58
|
+
} = await importNeostandard();
|
|
59
|
+
const baseConfig = neostandard({
|
|
60
|
+
ts,
|
|
61
|
+
env: readEnv(cwd)
|
|
62
|
+
});
|
|
63
|
+
if (Object.keys(rules).length) {
|
|
64
|
+
baseConfig.push({
|
|
65
|
+
files: defaultFilePatterns.all,
|
|
66
|
+
rules
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
return new _eslint.ESLint({
|
|
70
|
+
cwd,
|
|
71
|
+
fix,
|
|
72
|
+
overrideConfigFile: true,
|
|
73
|
+
baseConfig
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
|
|
77
77
|
/**
|
|
78
78
|
* Print a file's lint messages, if it has any.
|
|
79
79
|
* @memberOf module:partials
|
|
80
80
|
* @param {Vinyl} file
|
|
81
81
|
* @param {{messages: Array<{line: number, column: number, message: string}>, errorCount: number, warningCount: number}} result
|
|
82
82
|
* @returns {undefined}
|
|
83
|
-
*/
|
|
84
|
-
const printFileReport = (file, result) => {
|
|
85
|
-
if (!result.messages.length) {
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
console.log(_nodePath.default.relative(file.cwd, file.path));
|
|
89
|
-
result.messages.forEach(({
|
|
90
|
-
line,
|
|
91
|
-
column,
|
|
92
|
-
message
|
|
93
|
-
}) => console.log(`line ${line}:${column}\t${message}`));
|
|
94
|
-
console.log(`✖ ${result.errorCount} error\t⚠ ${result.warningCount} warning\n`);
|
|
95
|
-
};
|
|
96
|
-
|
|
83
|
+
*/
|
|
84
|
+
const printFileReport = (file, result) => {
|
|
85
|
+
if (!result.messages.length) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
console.log(_nodePath.default.relative(file.cwd, file.path));
|
|
89
|
+
result.messages.forEach(({
|
|
90
|
+
line,
|
|
91
|
+
column,
|
|
92
|
+
message
|
|
93
|
+
}) => console.log(`line ${line}:${column}\t${message}`));
|
|
94
|
+
console.log(`✖ ${result.errorCount} error\t⚠ ${result.warningCount} warning\n`);
|
|
95
|
+
};
|
|
96
|
+
|
|
97
97
|
/**
|
|
98
98
|
* Lint every file streaming through with neostandard and, unless `fix` is false, apply the automatic fixes to the
|
|
99
99
|
* file's contents so a following `dest()` writes the fixed version. Remaining problems are printed along with a
|
|
100
|
-
* summary once the stream ends; they
|
|
100
|
+
* summary once the stream ends; they only fail the stream when `failOnError` is set (the standalone `lint` task),
|
|
101
|
+
* never during `build`.
|
|
101
102
|
*
|
|
102
103
|
* One ESLint instance is built from the first file's own cwd and reused for the rest of the stream, since every
|
|
103
104
|
* file in a given lint pass shares the same project (and so the same config).
|
|
@@ -107,59 +108,66 @@ const printFileReport = (file, result) => {
|
|
|
107
108
|
* @param {boolean} [options.ts=false] - Lint `.ts` files too, with type-aware rules (see neostandard's `ts` option).
|
|
108
109
|
* @param {Object<string, *>} [options.rules={}] - ESLint rule overrides layered on top of neostandard's own rules
|
|
109
110
|
* (see gulp.config.mjs's `lint.rules`).
|
|
111
|
+
* @param {boolean} [options.failOnError=false] - Emit an error once the stream ends if any lint errors remain after
|
|
112
|
+
* fixing, so a command-line run exits non-zero.
|
|
110
113
|
* @param {function(Object): Promise<{lintText: Function}>} [loadEslint] - Resolves an ESLint-shaped linter. Real
|
|
111
114
|
* callers should never need to pass this - it exists so tests can supply a stand-in, since this project's
|
|
112
115
|
* CommonJS-transform-based Jest setup cannot execute a real dynamic import() of neostandard (ESM-only).
|
|
113
116
|
* @returns {stream.Transform}
|
|
114
|
-
*/
|
|
115
|
-
const neostandardLint = ({
|
|
116
|
-
fix = true,
|
|
117
|
-
ts = false,
|
|
118
|
-
rules = {}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
totals.
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
console.log('
|
|
160
|
-
console.log(
|
|
161
|
-
console.log(
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
};
|
|
117
|
+
*/
|
|
118
|
+
const neostandardLint = ({
|
|
119
|
+
fix = true,
|
|
120
|
+
ts = false,
|
|
121
|
+
rules = {},
|
|
122
|
+
failOnError = false
|
|
123
|
+
} = {}, loadEslint = buildEslint) => {
|
|
124
|
+
const totals = {
|
|
125
|
+
errors: 0,
|
|
126
|
+
warnings: 0
|
|
127
|
+
};
|
|
128
|
+
let eslintPromise = null;
|
|
129
|
+
return _through.default.obj(function (file, enc, callback) {
|
|
130
|
+
if (file.isNull()) {
|
|
131
|
+
callback(null, file);
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
if (file.isStream()) {
|
|
135
|
+
callback(new Error('neostandardLint: streaming file contents are not supported.'));
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
if (!eslintPromise) {
|
|
139
|
+
eslintPromise = loadEslint({
|
|
140
|
+
cwd: file.cwd,
|
|
141
|
+
ts,
|
|
142
|
+
fix,
|
|
143
|
+
rules
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
eslintPromise.then(eslint => eslint.lintText(file.contents.toString(), {
|
|
147
|
+
filePath: file.path
|
|
148
|
+
})).then(results => {
|
|
149
|
+
// No result at all means the file is ignored by the project's ESLint configuration.
|
|
150
|
+
const [result] = results;
|
|
151
|
+
if (result) {
|
|
152
|
+
if (typeof result.output === 'string') {
|
|
153
|
+
file.contents = Buffer.from(result.output);
|
|
154
|
+
}
|
|
155
|
+
totals.errors += result.errorCount;
|
|
156
|
+
totals.warnings += result.warningCount;
|
|
157
|
+
printFileReport(file, result);
|
|
158
|
+
}
|
|
159
|
+
callback(null, file);
|
|
160
|
+
}, callback);
|
|
161
|
+
}, function (callback) {
|
|
162
|
+
console.log('neostandard linter results');
|
|
163
|
+
console.log('======================================');
|
|
164
|
+
console.log(`✖ Errors total: ${totals.errors}`);
|
|
165
|
+
console.log(`⚠ Warnings total: ${totals.warnings}\n`);
|
|
166
|
+
if (failOnError && totals.errors) {
|
|
167
|
+
callback(new Error(`neostandard found ${totals.errors} lint error(s) that could not be fixed automatically.`));
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
callback();
|
|
171
|
+
});
|
|
172
|
+
};
|
|
165
173
|
exports.neostandardLint = neostandardLint;
|
package/dist/partials.js
CHANGED
|
@@ -1,170 +1,177 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "addToReadme", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _addToReadme.addToReadme;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "beginWatcher", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _beginWatcher.beginWatcher;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "clean", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _clean.clean;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "copyFor", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _copyFor.copyFor;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "distFor", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _distFor.distFor;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "distForSrc", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _distForSrc.distForSrc;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "distSeries", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return _distSeries.distSeries;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "imagesFor", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _imagesFor.imagesFor;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "importModule", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _loadPeer.importModule;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "importPeer", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () {
|
|
63
|
-
return _loadPeer.importPeer;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "jsdocDocsFor", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () {
|
|
69
|
-
return _jsdocDocsFor.jsdocDocsFor;
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(exports, "launchBrowser", {
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () {
|
|
75
|
-
return _loadPlaywright.launchBrowser;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
Object.defineProperty(exports, "
|
|
79
|
-
enumerable: true,
|
|
80
|
-
get: function () {
|
|
81
|
-
return
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
Object.defineProperty(exports, "
|
|
85
|
-
enumerable: true,
|
|
86
|
-
get: function () {
|
|
87
|
-
return
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
Object.defineProperty(exports, "
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function () {
|
|
93
|
-
return
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, "
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () {
|
|
99
|
-
return
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
Object.defineProperty(exports, "
|
|
103
|
-
enumerable: true,
|
|
104
|
-
get: function () {
|
|
105
|
-
return
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
Object.defineProperty(exports, "
|
|
109
|
-
enumerable: true,
|
|
110
|
-
get: function () {
|
|
111
|
-
return
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
Object.defineProperty(exports, "
|
|
115
|
-
enumerable: true,
|
|
116
|
-
get: function () {
|
|
117
|
-
return
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
Object.defineProperty(exports, "
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () {
|
|
123
|
-
return
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
Object.defineProperty(exports, "
|
|
127
|
-
enumerable: true,
|
|
128
|
-
get: function () {
|
|
129
|
-
return
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
Object.defineProperty(exports, "
|
|
133
|
-
enumerable: true,
|
|
134
|
-
get: function () {
|
|
135
|
-
return
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
Object.defineProperty(exports, "
|
|
139
|
-
enumerable: true,
|
|
140
|
-
get: function () {
|
|
141
|
-
return
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
Object.defineProperty(exports, "
|
|
145
|
-
enumerable: true,
|
|
146
|
-
get: function () {
|
|
147
|
-
return
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
var
|
|
157
|
-
var
|
|
158
|
-
var
|
|
159
|
-
var
|
|
160
|
-
var
|
|
161
|
-
var
|
|
162
|
-
var
|
|
163
|
-
var
|
|
164
|
-
var
|
|
165
|
-
var
|
|
166
|
-
var
|
|
167
|
-
var
|
|
168
|
-
var
|
|
169
|
-
var
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "addToReadme", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _addToReadme.addToReadme;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "beginWatcher", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _beginWatcher.beginWatcher;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "clean", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _clean.clean;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "copyFor", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _copyFor.copyFor;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "distFor", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _distFor.distFor;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "distForSrc", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _distForSrc.distForSrc;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "distSeries", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return _distSeries.distSeries;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "imagesFor", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () {
|
|
51
|
+
return _imagesFor.imagesFor;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "importModule", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return _loadPeer.importModule;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "importPeer", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return _loadPeer.importPeer;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "jsdocDocsFor", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () {
|
|
69
|
+
return _jsdocDocsFor.jsdocDocsFor;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "launchBrowser", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () {
|
|
75
|
+
return _loadPlaywright.launchBrowser;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "lintSource", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () {
|
|
81
|
+
return _lintSource.lintSource;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "loadPlaywright", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () {
|
|
87
|
+
return _loadPlaywright.loadPlaywright;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "minifyFor", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () {
|
|
93
|
+
return _minifyFor.minifyFor;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "neostandardLint", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () {
|
|
99
|
+
return _neostandardLint.neostandardLint;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "readmeTemplate", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () {
|
|
105
|
+
return _readmeTemplate.readmeTemplate;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "removeDirectory", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () {
|
|
111
|
+
return _removeDirectory.removeDirectory;
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "requirePeer", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () {
|
|
117
|
+
return _loadPeer.requirePeer;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "resolveDocsMethod", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () {
|
|
123
|
+
return _resolveDocsMethod.resolveDocsMethod;
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "runOnChange", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () {
|
|
129
|
+
return _runOnChange.runOnChange;
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "sassFor", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () {
|
|
135
|
+
return _sassFor.sassFor;
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
Object.defineProperty(exports, "serveStatic", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function () {
|
|
141
|
+
return _serveStatic.serveStatic;
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "tsFor", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () {
|
|
147
|
+
return _tsFor.tsFor;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "typeDocsFor", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () {
|
|
153
|
+
return _typeDocsFor.typeDocsFor;
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
var _addToReadme = require("./partials/addToReadme.js");
|
|
157
|
+
var _beginWatcher = require("./partials/beginWatcher.js");
|
|
158
|
+
var _clean = require("./partials/clean.js");
|
|
159
|
+
var _copyFor = require("./partials/copyFor.js");
|
|
160
|
+
var _distFor = require("./partials/distFor.js");
|
|
161
|
+
var _distForSrc = require("./partials/distForSrc.js");
|
|
162
|
+
var _distSeries = require("./partials/distSeries.js");
|
|
163
|
+
var _imagesFor = require("./partials/imagesFor.js");
|
|
164
|
+
var _loadPeer = require("./partials/loadPeer.js");
|
|
165
|
+
var _jsdocDocsFor = require("./partials/jsdocDocsFor.js");
|
|
166
|
+
var _loadPlaywright = require("./partials/loadPlaywright.js");
|
|
167
|
+
var _lintSource = require("./partials/lintSource.js");
|
|
168
|
+
var _minifyFor = require("./partials/minifyFor.js");
|
|
169
|
+
var _neostandardLint = require("./partials/neostandardLint.js");
|
|
170
|
+
var _readmeTemplate = require("./partials/readmeTemplate.js");
|
|
171
|
+
var _removeDirectory = require("./partials/removeDirectory.js");
|
|
172
|
+
var _resolveDocsMethod = require("./partials/resolveDocsMethod.js");
|
|
173
|
+
var _runOnChange = require("./partials/runOnChange.js");
|
|
174
|
+
var _sassFor = require("./partials/sassFor.js");
|
|
175
|
+
var _serveStatic = require("./partials/serveStatic.js");
|
|
176
|
+
var _tsFor = require("./partials/tsFor.js");
|
|
170
177
|
var _typeDocsFor = require("./partials/typeDocsFor.js");
|