viberun 0.0.1 → 0.3.6
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/LICENSE +29 -0
- package/README.md +379 -2
- package/bin/viberun.js +176 -0
- package/package.json +15 -88
- package/vendor/aarch64-apple-darwin/viberun/viberun +0 -0
- package/vendor/aarch64-pc-windows-msvc/viberun/viberun.exe +0 -0
- package/vendor/aarch64-unknown-linux-musl/viberun/viberun +0 -0
- package/vendor/x86_64-apple-darwin/viberun/viberun +0 -0
- package/vendor/x86_64-pc-windows-msvc/viberun/viberun.exe +0 -0
- package/vendor/x86_64-unknown-linux-musl/viberun/viberun +0 -0
- package/CHANGELOG.md +0 -5
- package/LICENSE.md +0 -21
- package/dist/cli/bin.d.ts +0 -0
- package/dist/cli/bin.js +0 -9
- package/dist/cli/bin.js.map +0 -1
- package/dist/cli/builder.d.ts +0 -18
- package/dist/cli/builder.js +0 -44
- package/dist/cli/builder.js.map +0 -1
- package/dist/cli/commands.d.ts +0 -10
- package/dist/cli/commands.js +0 -35
- package/dist/cli/commands.js.map +0 -1
- package/dist/cli/run.d.ts +0 -4
- package/dist/cli/run.js +0 -37
- package/dist/cli/run.js.map +0 -1
- package/dist/config/babelrc.d.ts +0 -27
- package/dist/config/babelrc.js +0 -47
- package/dist/config/babelrc.js.map +0 -1
- package/dist/config/webpack.common.d.ts +0 -13
- package/dist/config/webpack.common.js +0 -137
- package/dist/config/webpack.common.js.map +0 -1
- package/dist/config/webpack.dev.d.ts +0 -9
- package/dist/config/webpack.dev.js +0 -39
- package/dist/config/webpack.dev.js.map +0 -1
- package/dist/config/webpack.prod.d.ts +0 -5
- package/dist/config/webpack.prod.js +0 -63
- package/dist/config/webpack.prod.js.map +0 -1
- package/dist/config/webpack.profile.d.ts +0 -5
- package/dist/config/webpack.profile.js +0 -29
- package/dist/config/webpack.profile.js.map +0 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -11
- package/dist/index.js.map +0 -1
- package/dist/utils.d.ts +0 -3
- package/dist/utils.js +0 -27
- package/dist/utils.js.map +0 -1
- package/typings/global.d.ts +0 -2
- package/typings/script-ext-html-webpack-plugin.d.ts +0 -17
- package/typings/webpack-bundle-analyzer.d.ts +0 -45
- package/yarn.lock +0 -4937
package/dist/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var webpack_common_1 = require("./config/webpack.common");
|
|
4
|
-
exports.common = webpack_common_1.default;
|
|
5
|
-
var webpack_dev_1 = require("./config/webpack.dev");
|
|
6
|
-
exports.development = webpack_dev_1.default;
|
|
7
|
-
var webpack_prod_1 = require("./config/webpack.prod");
|
|
8
|
-
exports.production = webpack_prod_1.default;
|
|
9
|
-
var webpack_profile_1 = require("./config/webpack.profile");
|
|
10
|
-
exports.profile = webpack_profile_1.default;
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,0DAA4D;AAAnD,kCAAA,OAAO,CAAU;AAC1B,oDAA8D;AAArD,oCAAA,OAAO,CAAe;AAC/B,sDAA8D;AAArD,oCAAA,OAAO,CAAc;AAC9B,4DAA8D;AAArD,oCAAA,OAAO,CAAW"}
|
package/dist/utils.d.ts
DELETED
package/dist/utils.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
const path = require("path");
|
|
12
|
-
const nicer_fs_1 = require("nicer-fs");
|
|
13
|
-
function optional(value, fallback) {
|
|
14
|
-
return value !== undefined ? value : fallback;
|
|
15
|
-
}
|
|
16
|
-
exports.optional = optional;
|
|
17
|
-
function src(dir, cwd = process.cwd()) {
|
|
18
|
-
return path.resolve(cwd, "src");
|
|
19
|
-
}
|
|
20
|
-
exports.src = src;
|
|
21
|
-
function optionalConfig(file, fallback) {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
return (yield nicer_fs_1.exists(file)) ? file : fallback;
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
exports.optionalConfig = optionalConfig;
|
|
27
|
-
//# sourceMappingURL=utils.js.map
|
package/dist/utils.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,6BAA6B;AAE7B,uCAAkC;AAElC,kBAAyC,KAAoB,EAAE,QAAW;IACxE,MAAM,CAAC,KAAK,KAAK,SAAS,GAAG,KAAK,GAAG,QAAQ,CAAC;AAChD,CAAC;AAFD,4BAEC;AAED,aAAoB,GAAW,EAAE,MAAc,OAAO,CAAC,GAAG,EAAE;IAC1D,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;AAClC,CAAC;AAFD,kBAEC;AAED,wBAAqC,IAAY,EAAE,QAAgB;;QACjE,MAAM,CAAC,CAAA,MAAM,iBAAM,CAAC,IAAI,CAAC,IAAG,IAAI,GAAG,QAAQ,CAAC;IAC9C,CAAC;CAAA;AAFD,wCAEC"}
|
package/typings/global.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare module "script-ext-html-webpack-plugin" {
|
|
2
|
-
export type MatchPattern = string | string[] | RegExp | RegExp[];
|
|
3
|
-
|
|
4
|
-
export interface ScriptExtOptions {
|
|
5
|
-
defaultAttribute?: "sync" | "async" | "defer";
|
|
6
|
-
inline: MatchPattern;
|
|
7
|
-
sync: MatchPattern;
|
|
8
|
-
async: MatchPattern;
|
|
9
|
-
defer: MatchPattern;
|
|
10
|
-
module: MatchPattern;
|
|
11
|
-
prefetch: MatchPattern;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export default class ScriptExtHtmlWebpackPlugin {
|
|
15
|
-
constructor(options?: ScriptExtOptions);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
declare module "webpack-bundle-analyzer" {
|
|
2
|
-
import { Plugin, Options } from "webpack";
|
|
3
|
-
|
|
4
|
-
export type AnalyzerMode = "server" | "static" | "disabled";
|
|
5
|
-
export type ModuleSize = "stat" | "parsed" | "gzip";
|
|
6
|
-
export type LogLevel = "info" | "warn" | "error" | "silent";
|
|
7
|
-
|
|
8
|
-
export interface Options {
|
|
9
|
-
analyzerMode: AnalyzerMode;
|
|
10
|
-
/** Host that will be used in `server` mode to start HTTP server. */
|
|
11
|
-
analyzerHost?: string;
|
|
12
|
-
/** Port that will be used in `server` mode to start HTTP server. */
|
|
13
|
-
analyzerPort?: number;
|
|
14
|
-
/**
|
|
15
|
-
* Path to bundle report file that will be generated in `static`
|
|
16
|
-
* mode. Relative to bundles output directory.
|
|
17
|
-
*/
|
|
18
|
-
reportFilename?: string;
|
|
19
|
-
/** Module sizes to show in report by default. */
|
|
20
|
-
defaultSizes?: string;
|
|
21
|
-
/** Automatically open report in default browser */
|
|
22
|
-
openAnalyzer?: boolean;
|
|
23
|
-
/** If `true`, Webpack Stats JSON file will be generated in bundles output directory */
|
|
24
|
-
generateStatsFile?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Name of Webpack Stats JSON file that will be generated if
|
|
27
|
-
* `generateStatsFile` is `true`. Relative to bundles output directory.
|
|
28
|
-
*/
|
|
29
|
-
statsFilename?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Options for `stats.toJson()` method.
|
|
32
|
-
* For example you can exclude sources of your modules from stats
|
|
33
|
-
* file with `source: false` option.
|
|
34
|
-
* See more options here:
|
|
35
|
-
* https://github.com/webpack/webpack/blob/webpack-1/lib/Stats.js#L21
|
|
36
|
-
*/
|
|
37
|
-
statsOptions?: null | Options.Stats;
|
|
38
|
-
/** Log level. Can be 'info', 'warn', 'error' or 'silent'. */
|
|
39
|
-
logLevel?: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export default class BundleAnalyzerPlugin extends Plugin {
|
|
43
|
-
constructor(options?: Options);
|
|
44
|
-
}
|
|
45
|
-
}
|