Gathering detailed insights and metrics for @gct256/sitetool
Gathering detailed insights and metrics for @gct256/sitetool
npm install @gct256/sitetool
Typescript
Module System
Min. Node Version
Node Version
NPM Version
40.3
Supply Chain
81.7
Quality
64.1
Maintenance
25
Vulnerability
90.8
License
TypeScript (85.2%)
JavaScript (10.58%)
HTML (3.71%)
SCSS (0.51%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
5,768
Last Day
1
Last Week
3
Last Month
13
Last Year
468
114 Commits
2 Watchers
6 Branches
1 Contributors
Updated on Sep 07, 2021
Latest Version
3.1.0
Package Id
@gct256/sitetool@3.1.0
Unpacked Size
123.95 kB
Size
22.35 kB
File Count
53
NPM Version
6.4.1
Node Version
10.15.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
50%
3
Compared to previous week
Last Month
-78.3%
13
Compared to previous month
Last Year
-48.3%
468
Compared to previous year
26
27
TODO: english translation
1module.exports = { 2 // ディレクトリ設定 3 directory: { 4 src: 'src', // ソースファイルディレクトリの相対パス 5 work: 'work', // 作業中の生成ファイルを格納+ローカルサーバで扱うディレクトリの相対パス 6 dist: 'dist' // 最終出力ディレクトリの相対パス 7 }, 8 // ルール 9 // 上から順にファイル名を正規表現で判定 10 // パターンにマッチしたらそのルールを使用 11 // 無視パターンにマッチしたら何もしない 12 // どちらにもマッチしなければ次のルール 13 rule: [ 14 { 15 name: 'my rule', // ルール名 16 pattern: [/\.html$/], // マッチするパターン 17 ignore: [/^_/], // 無視するパターン 18 extname: '.html', // 出力時の拡張子(変更なければ省略可) 19 func: { 20 // 使用する変換関数 21 work: ['file-preprocess'], // 作業中の変換関数 22 dist: ['file-preprocess', 'html-format'] // 最終出力の変換関数 23 } 24 }, 25 { 26 pattern: /\.foo$/, // パターンが一つしかなければ配列でなくてもよい 27 func: ['file-gzip'] // 作業中と最終出力で変わりなければこれでも可 28 }, 29 { 30 pattern: /\.bar$/, // パターンが一つしかなければ配列でなくてもよい 31 func: 'file-gzip' // 文字列のみでも可 32 } 33 ], 34 // オプション 35 { 36 'css-postcss': { 37 autoprefixer: {}, // autoprefixerのオプション(browsesなどを想定) 38 development: { // 作業中のみ使用するオプション 39 autoprefixer: {}, 40 }, 41 production: { // 最終出力のみ使用するオプション 42 autoprefixer: {}, 43 } 44 }, 45 'file-preprocess': { 46 foo: 'FOO', // {{NAME}} で表示する値 47 }, 48 server: { 49 port: 3000, // ローカルサーバのTCPポート番号 50 // その他 BrowserSyncのオプションを使用可能 51 } 52 } 53};
1module.exports = { 2 directory: { 3 src: '<ROOT>/src', 4 work: '<ROOT>/work', 5 dist: '<ROOT>/dist' 6 }, 7 rule: [], 8 option: { 9 'css-postcss': { 10 autoprefixer: { 11 browsers: ['> 5%', 'not dead'] 12 } 13 }, 14 server: { 15 port: 3000 16 } 17 } 18};
以下を決め打ちで実行
beautify と minifiy が同時指定された場合は beautify を有線
ファイルを GZip 圧縮
プリプロセス処理を実行
構文 | 役割 |
---|---|
{{NAME}} | 変数 NAME 内容を展開 |
{{:: "NAME" "VALUE"}} | 変数 NAME に VALUE を設定 |
{{-- "PATH"}} | PATH のファイルを挿入 |
以下の変数が定義済み
prettier による整形
画像の最適化
node-sass によるコンパイル
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
79 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-24
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More