编译npm run build
发布需要注册npm用户https://www.npmjs.com/
执行npm version patch 自动更新版本,然后执行npm publish会上传到npm仓库
安装npm install qsspcipher --save
卸载npm uninstall qsspcipher --save
================= 某次publish成功记录 ====================
D:\workspace\QuantumMail\QuantumMail\qssp-cipher>npm ping
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm notice PING https://registry.npmjs.org/
npm notice PONG 1440ms
D:\workspace\QuantumMail\QuantumMail\qssp-cipher>npm owner ls
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
终止批处理操作吗(Y/N)? y
D:\workspace\QuantumMail\QuantumMail\qssp-cipher>npm whoami
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code E401
npm ERR! 401 Unauthorized - GET https://registry.npmjs.org/-/whoami
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\LiuChunHua\AppData\Local\npm-cache\_logs\2022-09-23T05_59_46_135Z-debug-0.log
D:\workspace\QuantumMail\QuantumMail\qssp-cipher>npm login
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN adduser `adduser` will be split into `login` and `register` in a future version. `adduser` will become an alias of `register`. `login` (currently an alias) will become its own command.
npm notice Log in on https://registry.npmjs.org/
Username: mecup
Password:
Email: (this IS public) cnbest@qq.com
npm notice Please check your email for a one-time password (OTP)
Enter one-time password: 25650329
Logged in as mecup on https://registry.npmjs.org/.
D:\workspace\QuantumMail\QuantumMail\qssp-cipher>npm whoami
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
mecup
D:\workspace\QuantumMail\QuantumMail\qssp-cipher>npm publish . --access=public
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm notice
npm notice package: qsspcipher@0.1.81
npm notice === Tarball Contents ===
npm notice 2.3kB ReaMe.txt
npm notice 106B binding.gyp
npm notice 881B build/binding.sln
npm notice 12.0kB build/qsspcipher.vcxproj
npm notice 2.8kB build/qsspcipher.vcxproj.filters
npm notice 321B build/Release/obj/qsspcipher/qsspcipher.node.recipe
npm notice 5.8kB build/Release/obj/qsspcipher/qsspcipher.tlog/CL.command.1.tlog
npm notice 59.9kB build/Release/obj/qsspcipher/qsspcipher.tlog/CL.read.1.tlog
npm notice 762B build/Release/obj/qsspcipher/qsspcipher.tlog/CL.write.1.tlog
npm notice 1.9kB build/Release/obj/qsspcipher/qsspcipher.tlog/link.command.1.tlog
npm notice 5.3kB build/Release/obj/qsspcipher/qsspcipher.tlog/link.read.1.tlog
npm notice 724B build/Release/obj/qsspcipher/qsspcipher.tlog/link.write.1.tlog
npm notice 188B build/Release/obj/qsspcipher/qsspcipher.tlog/qsspcipher.lastbuildstate
npm notice 790B build/Release/obj/qsspcipher/qsspcipher.tlog/qsspcipher.write.1u.tlog
npm notice 1.8MB build/Release/obj/qsspcipher/src/qssp-cipher.obj
npm notice 80.3kB build/Release/obj/qsspcipher/win_delay_load_hook.obj
npm notice 966B build/Release/qsspcipher.exp
npm notice 697.3kB build/Release/qsspcipher.iobj
npm notice 186.3kB build/Release/qsspcipher.ipdb
npm notice 2.0kB build/Release/qsspcipher.lib
npm notice 241.7kB build/Release/qsspcipher.node
npm notice 5.8MB build/Release/qsspcipher.pdb
npm notice 106B index.js
npm notice 416B package.json
npm notice 47.0kB src/libqcf_new.h
npm notice 44.9kB src/libqcf.h
npm notice 63.8kB src/qssp-cipher-v8.5.5.cc
npm notice 69.3kB src/qssp-cipher.cc
npm notice 1.8kB test.js
npm notice === Tarball Details ===
npm notice name: qsspcipher
npm notice version: 0.1.81
npm notice filename: qsspcipher-0.1.81.tgz
npm notice package size: 2.0 MB
npm notice unpacked size: 9.1 MB
npm notice shasum: e532e623e0520885dc78d61e7a8c80449805bbc5
npm notice integrity: sha512-BlglRiwn/2lrG[...]+/b2QCa4t6Gew==
npm notice total files: 29
npm notice
npm notice Publishing to https://registry.npmjs.org/
+ qsspcipher@0.1.81
D:\workspace\QuantumMail\QuantumMail\qssp-cipher>
qsspcipher
0.1.86 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i qsspcipher
Weekly Downloads
10
Version
0.1.86
License
none
Unpacked Size
322 kB
Total Files
12