update 1.0.7

This commit is contained in:
2026-02-22 22:11:47 +08:00
parent 6a5f4aaed0
commit 3118185b31
8 changed files with 1299 additions and 966 deletions

View File

@@ -12,8 +12,7 @@
"eslint:all": "eslint --ext .ts --fix .",
"fix": "npm run prettier:all && npm run eslint:all",
"tailwind": "tailwindcss -i ./iframe/css/input.css -o ./iframe/css/index.css",
"obf": "node -e \"const g=require('glob');const {execSync}=require('child_process');const p=require('path');g.sync('iframe/js/s_*.js').forEach(f=>{const d=p.dirname(f),b=p.basename(f,'.js').slice(2)+'.js';execSync(`javascript-obfuscator \\\"${f}\\\" --string-array-encoding rc4 --output \\\"${p.join(d,b)}\\\"`)})\"",
"build": "npm run tailwind && npm run obf && npm run compile && ts-node ./build/packaged.ts"
"build": "npm run tailwind && npm run compile && ts-node ./build/packaged.ts"
},
"devDependencies": {
"@jlceda/pro-api-types": "^0.1.175",
@@ -36,8 +35,7 @@
"rimraf": "^6.0.1",
"tailwindcss": "^3.4.17",
"ts-node": "^10.9.2",
"typescript": "^5.7.3",
"javascript-obfuscator": "^4.1.1"
"typescript": "^5.7.3"
},
"lint-staged": {
"*.ts": "eslint --cache --fix",