@misterzik/create-kiss 1.0.0 → 1.0.2
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 +21 -21
- package/README.md +53 -53
- package/bin/create-kiss.js +90 -90
- package/package.json +47 -47
- package/template/dist/assets/fonts/.gitkeep +0 -0
- package/template/dist/assets/images/iphone-screen.png +0 -0
- package/template/dist/assets/images/logo.png +0 -0
- package/template/dist/assets/images/simon-lee-earth.jpg +0 -0
- package/template/dist/assets/images/wavy.svg +7 -0
- package/template/dist/bundle.js +2 -0
- package/template/dist/bundle.js.map +1 -0
- package/template/dist/css/app.css +3 -0
- package/template/dist/css/app.css.map +1 -0
- package/template/dist/index.html +4 -0
- package/template/node_modules/.package-lock.json +6800 -6779
- package/template/node_modules/@babel/parser/bin/babel-parser.js +0 -0
- package/template/node_modules/@parcel/watcher-linux-x64-glibc/README.md +1 -0
- package/template/node_modules/@parcel/watcher-linux-x64-glibc/package.json +33 -0
- package/template/node_modules/@parcel/watcher-linux-x64-glibc/watcher.node +0 -0
- package/template/node_modules/@parcel/watcher-linux-x64-musl/LICENSE +21 -0
- package/template/node_modules/@parcel/watcher-linux-x64-musl/README.md +1 -0
- package/template/node_modules/@parcel/{watcher-win32-x64 → watcher-linux-x64-musl}/package.json +5 -2
- package/template/node_modules/@parcel/watcher-linux-x64-musl/watcher.node +0 -0
- package/template/node_modules/@types/html-minifier-terser/LICENSE +0 -0
- package/template/node_modules/@types/html-minifier-terser/README.md +0 -0
- package/template/node_modules/@types/html-minifier-terser/index.d.ts +0 -0
- package/template/node_modules/@types/html-minifier-terser/package.json +0 -0
- package/template/node_modules/@types/retry/LICENSE +0 -0
- package/template/node_modules/@types/retry/README.md +0 -0
- package/template/node_modules/@types/retry/index.d.ts +0 -0
- package/template/node_modules/@types/retry/package.json +0 -0
- package/template/node_modules/acorn/bin/acorn +0 -0
- package/template/node_modules/animate.css/animate.min.css +0 -0
- package/template/node_modules/ansi-html-community/bin/ansi-html +0 -0
- package/template/node_modules/baseline-browser-mapping/dist/cli.js +0 -0
- package/template/node_modules/browserslist/cli.js +0 -0
- package/template/node_modules/core-js-compat/data.json +0 -0
- package/template/node_modules/core-js-compat/entries.json +0 -0
- package/template/node_modules/core-js-compat/external.json +0 -0
- package/template/node_modules/core-js-compat/modules-by-versions.json +0 -0
- package/template/node_modules/core-js-compat/modules.json +0 -0
- package/template/node_modules/css-loader/node_modules/semver/bin/semver.js +0 -0
- package/template/node_modules/cssesc/bin/cssesc +0 -0
- package/template/node_modules/detect-libc/bin/detect-libc.js +0 -0
- package/template/node_modules/envinfo/dist/cli.js +0 -0
- package/template/node_modules/esrecurse/package.json +0 -0
- package/template/node_modules/flat/cli.js +0 -0
- package/template/node_modules/he/bin/he +0 -0
- package/template/node_modules/hpack.js/bin/benchmark +0 -0
- package/template/node_modules/html-minifier-terser/cli.js +0 -0
- package/template/node_modules/import-local/fixtures/cli.js +0 -0
- package/template/node_modules/is-docker/cli.js +0 -0
- package/template/node_modules/is-inside-container/cli.js +0 -0
- package/template/node_modules/jsesc/bin/jsesc +0 -0
- package/template/node_modules/json5/lib/cli.js +0 -0
- package/template/node_modules/micromatch/LICENSE +0 -0
- package/template/node_modules/mime/cli.js +0 -0
- package/template/node_modules/mime/src/build.js +0 -0
- package/template/node_modules/multicast-dns/cli.js +0 -0
- package/template/node_modules/nanoid/bin/nanoid.cjs +0 -0
- package/template/node_modules/node-addon-api/tools/conversion.js +0 -0
- package/template/node_modules/open/xdg-open +0 -0
- package/template/node_modules/regenerate-unicode-properties/index.js +0 -0
- package/template/node_modules/regjsparser/bin/parser +0 -0
- package/template/node_modules/resolve/bin/resolve +0 -0
- package/template/node_modules/sass/sass.js +0 -0
- package/template/node_modules/semver/bin/semver.js +0 -0
- package/template/node_modules/shell-quote/print.py +0 -0
- package/template/node_modules/terser/bin/terser +0 -0
- package/template/node_modules/terser/bin/uglifyjs +0 -0
- package/template/node_modules/unicode-canonical-property-names-ecmascript/index.js +0 -0
- package/template/node_modules/unicode-match-property-ecmascript/index.js +0 -0
- package/template/node_modules/unicode-match-property-value-ecmascript/index.js +0 -0
- package/template/node_modules/unicode-property-aliases-ecmascript/index.js +0 -0
- package/template/node_modules/update-browserslist-db/cli.js +0 -0
- package/template/node_modules/uuid/dist/bin/uuid +0 -0
- package/template/node_modules/webpack/bin/webpack.js +0 -0
- package/template/node_modules/webpack-cli/bin/cli.js +0 -0
- package/template/node_modules/webpack-dev-server/bin/webpack-dev-server.js +0 -0
- package/template/node_modules/which/bin/node-which +0 -0
- package/template/package-lock.json +7069 -7069
- package/template/package.json +37 -37
- package/template/src/assets/images/wavy.svg +6 -6
- package/template/src/index.html +287 -287
- package/template/src/js/app.js +62 -62
- package/template/src/scss/app.scss +583 -583
- package/template/webpack.config.js +116 -116
- package/template/node_modules/.bin/acorn +0 -16
- package/template/node_modules/.bin/acorn.cmd +0 -17
- package/template/node_modules/.bin/acorn.ps1 +0 -28
- package/template/node_modules/.bin/ansi-html +0 -16
- package/template/node_modules/.bin/ansi-html.cmd +0 -17
- package/template/node_modules/.bin/ansi-html.ps1 +0 -28
- package/template/node_modules/.bin/baseline-browser-mapping +0 -16
- package/template/node_modules/.bin/baseline-browser-mapping.cmd +0 -17
- package/template/node_modules/.bin/baseline-browser-mapping.ps1 +0 -28
- package/template/node_modules/.bin/browserslist +0 -16
- package/template/node_modules/.bin/browserslist.cmd +0 -17
- package/template/node_modules/.bin/browserslist.ps1 +0 -28
- package/template/node_modules/.bin/cssesc +0 -16
- package/template/node_modules/.bin/cssesc.cmd +0 -17
- package/template/node_modules/.bin/cssesc.ps1 +0 -28
- package/template/node_modules/.bin/detect-libc +0 -16
- package/template/node_modules/.bin/detect-libc.cmd +0 -17
- package/template/node_modules/.bin/detect-libc.ps1 +0 -28
- package/template/node_modules/.bin/envinfo +0 -16
- package/template/node_modules/.bin/envinfo.cmd +0 -17
- package/template/node_modules/.bin/envinfo.ps1 +0 -28
- package/template/node_modules/.bin/flat +0 -16
- package/template/node_modules/.bin/flat.cmd +0 -17
- package/template/node_modules/.bin/flat.ps1 +0 -28
- package/template/node_modules/.bin/he +0 -16
- package/template/node_modules/.bin/he.cmd +0 -17
- package/template/node_modules/.bin/he.ps1 +0 -28
- package/template/node_modules/.bin/html-minifier-terser +0 -16
- package/template/node_modules/.bin/html-minifier-terser.cmd +0 -17
- package/template/node_modules/.bin/html-minifier-terser.ps1 +0 -28
- package/template/node_modules/.bin/import-local-fixture +0 -16
- package/template/node_modules/.bin/import-local-fixture.cmd +0 -17
- package/template/node_modules/.bin/import-local-fixture.ps1 +0 -28
- package/template/node_modules/.bin/is-docker +0 -16
- package/template/node_modules/.bin/is-docker.cmd +0 -17
- package/template/node_modules/.bin/is-docker.ps1 +0 -28
- package/template/node_modules/.bin/is-inside-container +0 -16
- package/template/node_modules/.bin/is-inside-container.cmd +0 -17
- package/template/node_modules/.bin/is-inside-container.ps1 +0 -28
- package/template/node_modules/.bin/jsesc +0 -16
- package/template/node_modules/.bin/jsesc.cmd +0 -17
- package/template/node_modules/.bin/jsesc.ps1 +0 -28
- package/template/node_modules/.bin/json5 +0 -16
- package/template/node_modules/.bin/json5.cmd +0 -17
- package/template/node_modules/.bin/json5.ps1 +0 -28
- package/template/node_modules/.bin/mime +0 -16
- package/template/node_modules/.bin/mime.cmd +0 -17
- package/template/node_modules/.bin/mime.ps1 +0 -28
- package/template/node_modules/.bin/multicast-dns +0 -16
- package/template/node_modules/.bin/multicast-dns.cmd +0 -17
- package/template/node_modules/.bin/multicast-dns.ps1 +0 -28
- package/template/node_modules/.bin/nanoid +0 -16
- package/template/node_modules/.bin/nanoid.cmd +0 -17
- package/template/node_modules/.bin/nanoid.ps1 +0 -28
- package/template/node_modules/.bin/node-which +0 -16
- package/template/node_modules/.bin/node-which.cmd +0 -17
- package/template/node_modules/.bin/node-which.ps1 +0 -28
- package/template/node_modules/.bin/parser +0 -16
- package/template/node_modules/.bin/parser.cmd +0 -17
- package/template/node_modules/.bin/parser.ps1 +0 -28
- package/template/node_modules/.bin/regjsparser +0 -16
- package/template/node_modules/.bin/regjsparser.cmd +0 -17
- package/template/node_modules/.bin/regjsparser.ps1 +0 -28
- package/template/node_modules/.bin/resolve +0 -16
- package/template/node_modules/.bin/resolve.cmd +0 -17
- package/template/node_modules/.bin/resolve.ps1 +0 -28
- package/template/node_modules/.bin/sass +0 -16
- package/template/node_modules/.bin/sass.cmd +0 -17
- package/template/node_modules/.bin/sass.ps1 +0 -28
- package/template/node_modules/.bin/semver +0 -16
- package/template/node_modules/.bin/semver.cmd +0 -17
- package/template/node_modules/.bin/semver.ps1 +0 -28
- package/template/node_modules/.bin/terser +0 -16
- package/template/node_modules/.bin/terser.cmd +0 -17
- package/template/node_modules/.bin/terser.ps1 +0 -28
- package/template/node_modules/.bin/update-browserslist-db +0 -16
- package/template/node_modules/.bin/update-browserslist-db.cmd +0 -17
- package/template/node_modules/.bin/update-browserslist-db.ps1 +0 -28
- package/template/node_modules/.bin/uuid +0 -16
- package/template/node_modules/.bin/uuid.cmd +0 -17
- package/template/node_modules/.bin/uuid.ps1 +0 -28
- package/template/node_modules/.bin/webpack +0 -16
- package/template/node_modules/.bin/webpack-cli +0 -16
- package/template/node_modules/.bin/webpack-cli.cmd +0 -17
- package/template/node_modules/.bin/webpack-cli.ps1 +0 -28
- package/template/node_modules/.bin/webpack-dev-server +0 -16
- package/template/node_modules/.bin/webpack-dev-server.cmd +0 -17
- package/template/node_modules/.bin/webpack-dev-server.ps1 +0 -28
- package/template/node_modules/.bin/webpack.cmd +0 -17
- package/template/node_modules/.bin/webpack.ps1 +0 -28
- package/template/node_modules/@parcel/watcher-win32-x64/README.md +0 -1
- package/template/node_modules/@parcel/watcher-win32-x64/watcher.node +0 -0
- package/template/node_modules/css-loader/node_modules/.bin/semver +0 -16
- package/template/node_modules/css-loader/node_modules/.bin/semver.cmd +0 -17
- package/template/node_modules/css-loader/node_modules/.bin/semver.ps1 +0 -28
- package/template/src/assets/images/Thumbs.db +0 -0
- /package/template/node_modules/@parcel/{watcher-win32-x64 → watcher-linux-x64-glibc}/LICENSE +0 -0
|
@@ -1,116 +1,116 @@
|
|
|
1
|
-
const path = require("path");
|
|
2
|
-
const webpack = require("webpack");
|
|
3
|
-
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
|
4
|
-
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
5
|
-
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
|
6
|
-
const fs = require('fs');
|
|
7
|
-
|
|
8
|
-
// Dynamically get all HTML files in pages folder
|
|
9
|
-
const getPages = () => {
|
|
10
|
-
try {
|
|
11
|
-
const pagesDir = path.resolve(__dirname, 'src/pages');
|
|
12
|
-
if (!fs.existsSync(pagesDir)) {
|
|
13
|
-
return [];
|
|
14
|
-
}
|
|
15
|
-
return fs.readdirSync(pagesDir)
|
|
16
|
-
.filter(file => file.endsWith('.html'))
|
|
17
|
-
.map(file => file.replace('.html', ''));
|
|
18
|
-
} catch (error) {
|
|
19
|
-
console.warn('Warning: Could not read pages directory:', error.message);
|
|
20
|
-
return [];
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
module.exports = {
|
|
25
|
-
entry: "./src/js/app.js", // Entry point for your JS
|
|
26
|
-
output: {
|
|
27
|
-
filename: "bundle.js", // Output file for the bundled JS
|
|
28
|
-
path: path.resolve(__dirname, "dist"),
|
|
29
|
-
clean: true, // Clean output directory before each build
|
|
30
|
-
},
|
|
31
|
-
module: {
|
|
32
|
-
rules: [
|
|
33
|
-
// Image files handling
|
|
34
|
-
{
|
|
35
|
-
test: /\.(png|jpe?g|gif|svg)$/,
|
|
36
|
-
type: 'asset/resource',
|
|
37
|
-
generator: {
|
|
38
|
-
filename: 'assets/images/[name][ext]'
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
// Font files handling
|
|
42
|
-
{
|
|
43
|
-
test: /\.(woff|woff2|eot|ttf)$/,
|
|
44
|
-
type: 'asset/resource',
|
|
45
|
-
generator: {
|
|
46
|
-
filename: 'assets/fonts/[name][ext]'
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
// SCSS to CSS loader
|
|
50
|
-
{
|
|
51
|
-
test: /\.scss$/,
|
|
52
|
-
use: [
|
|
53
|
-
MiniCssExtractPlugin.loader,
|
|
54
|
-
"css-loader",
|
|
55
|
-
"sass-loader",
|
|
56
|
-
],
|
|
57
|
-
},
|
|
58
|
-
// JavaScript transpiling using Babel
|
|
59
|
-
{
|
|
60
|
-
test: /\.js$/,
|
|
61
|
-
exclude: /node_modules/,
|
|
62
|
-
use: {
|
|
63
|
-
loader: "babel-loader",
|
|
64
|
-
options: {
|
|
65
|
-
presets: ["@babel/preset-env"],
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
},
|
|
71
|
-
plugins: [
|
|
72
|
-
new HtmlWebpackPlugin({
|
|
73
|
-
template: path.resolve(__dirname, 'src/index.html'),
|
|
74
|
-
filename: 'index.html',
|
|
75
|
-
inject: 'body',
|
|
76
|
-
scriptLoading: 'defer'
|
|
77
|
-
}),
|
|
78
|
-
...getPages().map(page => new HtmlWebpackPlugin({
|
|
79
|
-
template: path.resolve(__dirname, `src/pages/${page}.html`),
|
|
80
|
-
filename: `${page}.html`,
|
|
81
|
-
inject: 'body',
|
|
82
|
-
scriptLoading: 'defer'
|
|
83
|
-
})),
|
|
84
|
-
new CopyWebpackPlugin({
|
|
85
|
-
patterns: [
|
|
86
|
-
{ from: 'src/assets', to: 'assets' }
|
|
87
|
-
]
|
|
88
|
-
}),
|
|
89
|
-
new webpack.ProvidePlugin({
|
|
90
|
-
$: "jquery",
|
|
91
|
-
jQuery: "jquery",
|
|
92
|
-
}),
|
|
93
|
-
new MiniCssExtractPlugin({
|
|
94
|
-
filename: "css/app.css",
|
|
95
|
-
}),
|
|
96
|
-
],
|
|
97
|
-
devServer: {
|
|
98
|
-
static: [
|
|
99
|
-
{
|
|
100
|
-
directory: path.join(__dirname, "src"),
|
|
101
|
-
publicPath: "/"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
directory: path.join(__dirname, "src/pages"),
|
|
105
|
-
publicPath: "/"
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
compress: true,
|
|
109
|
-
port: 9000,
|
|
110
|
-
open: true,
|
|
111
|
-
hot: true,
|
|
112
|
-
liveReload: true,
|
|
113
|
-
},
|
|
114
|
-
devtool: "source-map",
|
|
115
|
-
mode: "development",
|
|
116
|
-
};
|
|
1
|
+
const path = require("path");
|
|
2
|
+
const webpack = require("webpack");
|
|
3
|
+
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
|
4
|
+
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
5
|
+
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
|
6
|
+
const fs = require('fs');
|
|
7
|
+
|
|
8
|
+
// Dynamically get all HTML files in pages folder
|
|
9
|
+
const getPages = () => {
|
|
10
|
+
try {
|
|
11
|
+
const pagesDir = path.resolve(__dirname, 'src/pages');
|
|
12
|
+
if (!fs.existsSync(pagesDir)) {
|
|
13
|
+
return [];
|
|
14
|
+
}
|
|
15
|
+
return fs.readdirSync(pagesDir)
|
|
16
|
+
.filter(file => file.endsWith('.html'))
|
|
17
|
+
.map(file => file.replace('.html', ''));
|
|
18
|
+
} catch (error) {
|
|
19
|
+
console.warn('Warning: Could not read pages directory:', error.message);
|
|
20
|
+
return [];
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
module.exports = {
|
|
25
|
+
entry: "./src/js/app.js", // Entry point for your JS
|
|
26
|
+
output: {
|
|
27
|
+
filename: "bundle.js", // Output file for the bundled JS
|
|
28
|
+
path: path.resolve(__dirname, "dist"),
|
|
29
|
+
clean: true, // Clean output directory before each build
|
|
30
|
+
},
|
|
31
|
+
module: {
|
|
32
|
+
rules: [
|
|
33
|
+
// Image files handling
|
|
34
|
+
{
|
|
35
|
+
test: /\.(png|jpe?g|gif|svg)$/,
|
|
36
|
+
type: 'asset/resource',
|
|
37
|
+
generator: {
|
|
38
|
+
filename: 'assets/images/[name][ext]'
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
// Font files handling
|
|
42
|
+
{
|
|
43
|
+
test: /\.(woff|woff2|eot|ttf)$/,
|
|
44
|
+
type: 'asset/resource',
|
|
45
|
+
generator: {
|
|
46
|
+
filename: 'assets/fonts/[name][ext]'
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
// SCSS to CSS loader
|
|
50
|
+
{
|
|
51
|
+
test: /\.scss$/,
|
|
52
|
+
use: [
|
|
53
|
+
MiniCssExtractPlugin.loader,
|
|
54
|
+
"css-loader",
|
|
55
|
+
"sass-loader",
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
// JavaScript transpiling using Babel
|
|
59
|
+
{
|
|
60
|
+
test: /\.js$/,
|
|
61
|
+
exclude: /node_modules/,
|
|
62
|
+
use: {
|
|
63
|
+
loader: "babel-loader",
|
|
64
|
+
options: {
|
|
65
|
+
presets: ["@babel/preset-env"],
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
plugins: [
|
|
72
|
+
new HtmlWebpackPlugin({
|
|
73
|
+
template: path.resolve(__dirname, 'src/index.html'),
|
|
74
|
+
filename: 'index.html',
|
|
75
|
+
inject: 'body',
|
|
76
|
+
scriptLoading: 'defer'
|
|
77
|
+
}),
|
|
78
|
+
...getPages().map(page => new HtmlWebpackPlugin({
|
|
79
|
+
template: path.resolve(__dirname, `src/pages/${page}.html`),
|
|
80
|
+
filename: `${page}.html`,
|
|
81
|
+
inject: 'body',
|
|
82
|
+
scriptLoading: 'defer'
|
|
83
|
+
})),
|
|
84
|
+
new CopyWebpackPlugin({
|
|
85
|
+
patterns: [
|
|
86
|
+
{ from: 'src/assets', to: 'assets' }
|
|
87
|
+
]
|
|
88
|
+
}),
|
|
89
|
+
new webpack.ProvidePlugin({
|
|
90
|
+
$: "jquery",
|
|
91
|
+
jQuery: "jquery",
|
|
92
|
+
}),
|
|
93
|
+
new MiniCssExtractPlugin({
|
|
94
|
+
filename: "css/app.css",
|
|
95
|
+
}),
|
|
96
|
+
],
|
|
97
|
+
devServer: {
|
|
98
|
+
static: [
|
|
99
|
+
{
|
|
100
|
+
directory: path.join(__dirname, "src"),
|
|
101
|
+
publicPath: "/"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
directory: path.join(__dirname, "src/pages"),
|
|
105
|
+
publicPath: "/"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
compress: true,
|
|
109
|
+
port: 9000,
|
|
110
|
+
open: true,
|
|
111
|
+
hot: true,
|
|
112
|
+
liveReload: true,
|
|
113
|
+
},
|
|
114
|
+
devtool: "source-map",
|
|
115
|
+
mode: "development",
|
|
116
|
+
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -x "$basedir/node" ]; then
|
|
13
|
-
exec "$basedir/node" "$basedir/../acorn/bin/acorn" "$@"
|
|
14
|
-
else
|
|
15
|
-
exec node "$basedir/../acorn/bin/acorn" "$@"
|
|
16
|
-
fi
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
@ECHO off
|
|
2
|
-
GOTO start
|
|
3
|
-
:find_dp0
|
|
4
|
-
SET dp0=%~dp0
|
|
5
|
-
EXIT /b
|
|
6
|
-
:start
|
|
7
|
-
SETLOCAL
|
|
8
|
-
CALL :find_dp0
|
|
9
|
-
|
|
10
|
-
IF EXIST "%dp0%\node.exe" (
|
|
11
|
-
SET "_prog=%dp0%\node.exe"
|
|
12
|
-
) ELSE (
|
|
13
|
-
SET "_prog=node"
|
|
14
|
-
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\acorn\bin\acorn" %*
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
6
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
7
|
-
# are installed in the same directory
|
|
8
|
-
$exe=".exe"
|
|
9
|
-
}
|
|
10
|
-
$ret=0
|
|
11
|
-
if (Test-Path "$basedir/node$exe") {
|
|
12
|
-
# Support pipeline input
|
|
13
|
-
if ($MyInvocation.ExpectingInput) {
|
|
14
|
-
$input | & "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
|
|
15
|
-
} else {
|
|
16
|
-
& "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
|
|
17
|
-
}
|
|
18
|
-
$ret=$LASTEXITCODE
|
|
19
|
-
} else {
|
|
20
|
-
# Support pipeline input
|
|
21
|
-
if ($MyInvocation.ExpectingInput) {
|
|
22
|
-
$input | & "node$exe" "$basedir/../acorn/bin/acorn" $args
|
|
23
|
-
} else {
|
|
24
|
-
& "node$exe" "$basedir/../acorn/bin/acorn" $args
|
|
25
|
-
}
|
|
26
|
-
$ret=$LASTEXITCODE
|
|
27
|
-
}
|
|
28
|
-
exit $ret
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -x "$basedir/node" ]; then
|
|
13
|
-
exec "$basedir/node" "$basedir/../ansi-html-community/bin/ansi-html" "$@"
|
|
14
|
-
else
|
|
15
|
-
exec node "$basedir/../ansi-html-community/bin/ansi-html" "$@"
|
|
16
|
-
fi
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
@ECHO off
|
|
2
|
-
GOTO start
|
|
3
|
-
:find_dp0
|
|
4
|
-
SET dp0=%~dp0
|
|
5
|
-
EXIT /b
|
|
6
|
-
:start
|
|
7
|
-
SETLOCAL
|
|
8
|
-
CALL :find_dp0
|
|
9
|
-
|
|
10
|
-
IF EXIST "%dp0%\node.exe" (
|
|
11
|
-
SET "_prog=%dp0%\node.exe"
|
|
12
|
-
) ELSE (
|
|
13
|
-
SET "_prog=node"
|
|
14
|
-
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ansi-html-community\bin\ansi-html" %*
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
6
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
7
|
-
# are installed in the same directory
|
|
8
|
-
$exe=".exe"
|
|
9
|
-
}
|
|
10
|
-
$ret=0
|
|
11
|
-
if (Test-Path "$basedir/node$exe") {
|
|
12
|
-
# Support pipeline input
|
|
13
|
-
if ($MyInvocation.ExpectingInput) {
|
|
14
|
-
$input | & "$basedir/node$exe" "$basedir/../ansi-html-community/bin/ansi-html" $args
|
|
15
|
-
} else {
|
|
16
|
-
& "$basedir/node$exe" "$basedir/../ansi-html-community/bin/ansi-html" $args
|
|
17
|
-
}
|
|
18
|
-
$ret=$LASTEXITCODE
|
|
19
|
-
} else {
|
|
20
|
-
# Support pipeline input
|
|
21
|
-
if ($MyInvocation.ExpectingInput) {
|
|
22
|
-
$input | & "node$exe" "$basedir/../ansi-html-community/bin/ansi-html" $args
|
|
23
|
-
} else {
|
|
24
|
-
& "node$exe" "$basedir/../ansi-html-community/bin/ansi-html" $args
|
|
25
|
-
}
|
|
26
|
-
$ret=$LASTEXITCODE
|
|
27
|
-
}
|
|
28
|
-
exit $ret
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -x "$basedir/node" ]; then
|
|
13
|
-
exec "$basedir/node" "$basedir/../baseline-browser-mapping/dist/cli.js" "$@"
|
|
14
|
-
else
|
|
15
|
-
exec node "$basedir/../baseline-browser-mapping/dist/cli.js" "$@"
|
|
16
|
-
fi
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
@ECHO off
|
|
2
|
-
GOTO start
|
|
3
|
-
:find_dp0
|
|
4
|
-
SET dp0=%~dp0
|
|
5
|
-
EXIT /b
|
|
6
|
-
:start
|
|
7
|
-
SETLOCAL
|
|
8
|
-
CALL :find_dp0
|
|
9
|
-
|
|
10
|
-
IF EXIST "%dp0%\node.exe" (
|
|
11
|
-
SET "_prog=%dp0%\node.exe"
|
|
12
|
-
) ELSE (
|
|
13
|
-
SET "_prog=node"
|
|
14
|
-
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\baseline-browser-mapping\dist\cli.js" %*
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
6
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
7
|
-
# are installed in the same directory
|
|
8
|
-
$exe=".exe"
|
|
9
|
-
}
|
|
10
|
-
$ret=0
|
|
11
|
-
if (Test-Path "$basedir/node$exe") {
|
|
12
|
-
# Support pipeline input
|
|
13
|
-
if ($MyInvocation.ExpectingInput) {
|
|
14
|
-
$input | & "$basedir/node$exe" "$basedir/../baseline-browser-mapping/dist/cli.js" $args
|
|
15
|
-
} else {
|
|
16
|
-
& "$basedir/node$exe" "$basedir/../baseline-browser-mapping/dist/cli.js" $args
|
|
17
|
-
}
|
|
18
|
-
$ret=$LASTEXITCODE
|
|
19
|
-
} else {
|
|
20
|
-
# Support pipeline input
|
|
21
|
-
if ($MyInvocation.ExpectingInput) {
|
|
22
|
-
$input | & "node$exe" "$basedir/../baseline-browser-mapping/dist/cli.js" $args
|
|
23
|
-
} else {
|
|
24
|
-
& "node$exe" "$basedir/../baseline-browser-mapping/dist/cli.js" $args
|
|
25
|
-
}
|
|
26
|
-
$ret=$LASTEXITCODE
|
|
27
|
-
}
|
|
28
|
-
exit $ret
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -x "$basedir/node" ]; then
|
|
13
|
-
exec "$basedir/node" "$basedir/../browserslist/cli.js" "$@"
|
|
14
|
-
else
|
|
15
|
-
exec node "$basedir/../browserslist/cli.js" "$@"
|
|
16
|
-
fi
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
@ECHO off
|
|
2
|
-
GOTO start
|
|
3
|
-
:find_dp0
|
|
4
|
-
SET dp0=%~dp0
|
|
5
|
-
EXIT /b
|
|
6
|
-
:start
|
|
7
|
-
SETLOCAL
|
|
8
|
-
CALL :find_dp0
|
|
9
|
-
|
|
10
|
-
IF EXIST "%dp0%\node.exe" (
|
|
11
|
-
SET "_prog=%dp0%\node.exe"
|
|
12
|
-
) ELSE (
|
|
13
|
-
SET "_prog=node"
|
|
14
|
-
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\browserslist\cli.js" %*
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
6
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
7
|
-
# are installed in the same directory
|
|
8
|
-
$exe=".exe"
|
|
9
|
-
}
|
|
10
|
-
$ret=0
|
|
11
|
-
if (Test-Path "$basedir/node$exe") {
|
|
12
|
-
# Support pipeline input
|
|
13
|
-
if ($MyInvocation.ExpectingInput) {
|
|
14
|
-
$input | & "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args
|
|
15
|
-
} else {
|
|
16
|
-
& "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args
|
|
17
|
-
}
|
|
18
|
-
$ret=$LASTEXITCODE
|
|
19
|
-
} else {
|
|
20
|
-
# Support pipeline input
|
|
21
|
-
if ($MyInvocation.ExpectingInput) {
|
|
22
|
-
$input | & "node$exe" "$basedir/../browserslist/cli.js" $args
|
|
23
|
-
} else {
|
|
24
|
-
& "node$exe" "$basedir/../browserslist/cli.js" $args
|
|
25
|
-
}
|
|
26
|
-
$ret=$LASTEXITCODE
|
|
27
|
-
}
|
|
28
|
-
exit $ret
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -x "$basedir/node" ]; then
|
|
13
|
-
exec "$basedir/node" "$basedir/../cssesc/bin/cssesc" "$@"
|
|
14
|
-
else
|
|
15
|
-
exec node "$basedir/../cssesc/bin/cssesc" "$@"
|
|
16
|
-
fi
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
@ECHO off
|
|
2
|
-
GOTO start
|
|
3
|
-
:find_dp0
|
|
4
|
-
SET dp0=%~dp0
|
|
5
|
-
EXIT /b
|
|
6
|
-
:start
|
|
7
|
-
SETLOCAL
|
|
8
|
-
CALL :find_dp0
|
|
9
|
-
|
|
10
|
-
IF EXIST "%dp0%\node.exe" (
|
|
11
|
-
SET "_prog=%dp0%\node.exe"
|
|
12
|
-
) ELSE (
|
|
13
|
-
SET "_prog=node"
|
|
14
|
-
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\cssesc\bin\cssesc" %*
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
6
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
7
|
-
# are installed in the same directory
|
|
8
|
-
$exe=".exe"
|
|
9
|
-
}
|
|
10
|
-
$ret=0
|
|
11
|
-
if (Test-Path "$basedir/node$exe") {
|
|
12
|
-
# Support pipeline input
|
|
13
|
-
if ($MyInvocation.ExpectingInput) {
|
|
14
|
-
$input | & "$basedir/node$exe" "$basedir/../cssesc/bin/cssesc" $args
|
|
15
|
-
} else {
|
|
16
|
-
& "$basedir/node$exe" "$basedir/../cssesc/bin/cssesc" $args
|
|
17
|
-
}
|
|
18
|
-
$ret=$LASTEXITCODE
|
|
19
|
-
} else {
|
|
20
|
-
# Support pipeline input
|
|
21
|
-
if ($MyInvocation.ExpectingInput) {
|
|
22
|
-
$input | & "node$exe" "$basedir/../cssesc/bin/cssesc" $args
|
|
23
|
-
} else {
|
|
24
|
-
& "node$exe" "$basedir/../cssesc/bin/cssesc" $args
|
|
25
|
-
}
|
|
26
|
-
$ret=$LASTEXITCODE
|
|
27
|
-
}
|
|
28
|
-
exit $ret
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -x "$basedir/node" ]; then
|
|
13
|
-
exec "$basedir/node" "$basedir/../detect-libc/bin/detect-libc.js" "$@"
|
|
14
|
-
else
|
|
15
|
-
exec node "$basedir/../detect-libc/bin/detect-libc.js" "$@"
|
|
16
|
-
fi
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
@ECHO off
|
|
2
|
-
GOTO start
|
|
3
|
-
:find_dp0
|
|
4
|
-
SET dp0=%~dp0
|
|
5
|
-
EXIT /b
|
|
6
|
-
:start
|
|
7
|
-
SETLOCAL
|
|
8
|
-
CALL :find_dp0
|
|
9
|
-
|
|
10
|
-
IF EXIST "%dp0%\node.exe" (
|
|
11
|
-
SET "_prog=%dp0%\node.exe"
|
|
12
|
-
) ELSE (
|
|
13
|
-
SET "_prog=node"
|
|
14
|
-
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\detect-libc\bin\detect-libc.js" %*
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
6
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
7
|
-
# are installed in the same directory
|
|
8
|
-
$exe=".exe"
|
|
9
|
-
}
|
|
10
|
-
$ret=0
|
|
11
|
-
if (Test-Path "$basedir/node$exe") {
|
|
12
|
-
# Support pipeline input
|
|
13
|
-
if ($MyInvocation.ExpectingInput) {
|
|
14
|
-
$input | & "$basedir/node$exe" "$basedir/../detect-libc/bin/detect-libc.js" $args
|
|
15
|
-
} else {
|
|
16
|
-
& "$basedir/node$exe" "$basedir/../detect-libc/bin/detect-libc.js" $args
|
|
17
|
-
}
|
|
18
|
-
$ret=$LASTEXITCODE
|
|
19
|
-
} else {
|
|
20
|
-
# Support pipeline input
|
|
21
|
-
if ($MyInvocation.ExpectingInput) {
|
|
22
|
-
$input | & "node$exe" "$basedir/../detect-libc/bin/detect-libc.js" $args
|
|
23
|
-
} else {
|
|
24
|
-
& "node$exe" "$basedir/../detect-libc/bin/detect-libc.js" $args
|
|
25
|
-
}
|
|
26
|
-
$ret=$LASTEXITCODE
|
|
27
|
-
}
|
|
28
|
-
exit $ret
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -x "$basedir/node" ]; then
|
|
13
|
-
exec "$basedir/node" "$basedir/../envinfo/dist/cli.js" "$@"
|
|
14
|
-
else
|
|
15
|
-
exec node "$basedir/../envinfo/dist/cli.js" "$@"
|
|
16
|
-
fi
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
@ECHO off
|
|
2
|
-
GOTO start
|
|
3
|
-
:find_dp0
|
|
4
|
-
SET dp0=%~dp0
|
|
5
|
-
EXIT /b
|
|
6
|
-
:start
|
|
7
|
-
SETLOCAL
|
|
8
|
-
CALL :find_dp0
|
|
9
|
-
|
|
10
|
-
IF EXIST "%dp0%\node.exe" (
|
|
11
|
-
SET "_prog=%dp0%\node.exe"
|
|
12
|
-
) ELSE (
|
|
13
|
-
SET "_prog=node"
|
|
14
|
-
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\envinfo\dist\cli.js" %*
|