{"id":19267215,"url":"https://github.com/scriptscat/scriptcat-webpack-plugin","last_synced_at":"2025-02-23T19:30:09.538Z","repository":{"id":108096167,"uuid":"422234679","full_name":"scriptscat/scriptcat-webpack-plugin","owner":"scriptscat","description":"scriptcat,tampermonkey,userscript 油猴脚本开发webpack打包工具","archived":false,"fork":false,"pushed_at":"2023-07-03T07:22:21.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-05T12:12:42.174Z","etag":null,"topics":["webpack-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scriptscat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-28T14:23:53.000Z","updated_at":"2021-10-31T05:56:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e546f22-1982-4fed-b5c8-a3852ef272c5","html_url":"https://github.com/scriptscat/scriptcat-webpack-plugin","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"be6700ec44a792cda9e3d4e902c81aeffa9c7201"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptscat%2Fscriptcat-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptscat%2Fscriptcat-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptscat%2Fscriptcat-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptscat%2Fscriptcat-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptscat","download_url":"https://codeload.github.com/scriptscat/scriptcat-webpack-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240367771,"owners_count":19790313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["webpack-plugin"],"created_at":"2024-11-09T20:11:09.040Z","updated_at":"2025-02-23T19:30:09.473Z","avatar_url":"https://github.com/scriptscat.png","language":"JavaScript","readme":"# scriptcat-webpack-plugin\n\ndemo:\n\n```js\nconst ScriptCatWebpackPlugin = require(\"./lib/plugin\");\n\nmodule.exports = {\n\tentry: {\n\t\tapp: './src/index.js',\n\t},\n\toutput: {\n\t\tfilename: '[name].js',\n\t\tpath: __dirname + '/dist'\n\t},\n\tplugins: [\n\t\tnew ScriptCatWebpackPlugin({\n\t\t\tfile: \"app.js\",\n\t\t\tname: \"New Userscript\",\n\t\t\tnamespace: \"https://bbs.tampermonkey.net.cn/\",\n\t\t\tversion: \"0.1.0\",\n\t\t\tdescription: \"try to take over the world!\",\n\t\t\tauthor: \"You\",\n\t\t\tmetadata: {\n\t\t\t\tgrant: [\n\t\t\t\t\t\"GM_xmlhttpRequest\",\n\t\t\t\t\t\"GM_notification\"\n\t\t\t\t],\n\t\t\t\tmatch: \"https://bbs.tampermonkey.net.cn/\",\n\t\t\t\tbackground: \"\"\n\t\t\t},\n\t\t}, {\n\t\t\tgroup1: {\n\t\t\t\tconfigA: { // 键值为group.config,例如本键为:group1.configA\n\t\t\t\t\ttitle: \"配置A\", // 配置的标题\n\t\t\t\t\tdescription: \"这是一个文本类型的配置\", // 配置的描述内容\n\t\t\t\t\ttype: \"text\", // 选项类型,如果不填写会根据数据自动识别\n\t\t\t\t\tdefault: \"默认值\", // 配置的默认值\n\t\t\t\t\tmin: 2, // 文本最短2个字符\n\t\t\t\t\tmax: 18, // 文本最长18个字符\n\t\t\t\t\tpassword: true // 设置为密码\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t],\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptscat%2Fscriptcat-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptscat%2Fscriptcat-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptscat%2Fscriptcat-webpack-plugin/lists"}