com-tools
Version:
com-tools 提供了一些通用的工具函数;
70 lines • 2.22 kB
JSON
{
"name": "com-tools",
"version": "2.10.0",
"description": "com-tools 提供了一些通用的工具函数;",
"main": "./dist/com-tools.umd.cjs",
"module": "./dist/com-tools.js",
"types": "./dist/index.d.ts",
"exports": {
"require": "./dist/com-tools.umd.cjs",
"types": "./dist/index.d.ts",
"import": "./dist/com-tools.js"
},
"sideEffects": false,
"type": "module",
"homepage": "https://github.com/GuoBinyong/com-tools#readme",
"repository": {
"type": "git",
"url": "https://github.com/GuoBinyong/com-tools"
},
"keywords": [
"工具",
"JS工具",
"通用工具",
"JavaScript工具",
"浏览器工具",
"node工具",
"JavaScript tools",
"node tools",
"js tools"
],
"author": {
"name": "郭斌勇",
"email": "guobinyong@qq.com"
},
"license": "MIT",
"files": [
"dist",
"types",
"docs/[^.]*",
"doc/[^.]*"
],
"devDependencies": {
"@microsoft/api-documenter": "^7.23.17",
"@microsoft/api-extractor": "^7.39.1",
"build-tls": "^1.3.14",
"dts-bundle-generator": "^9.2.4",
"package-tls": "^1.3.2",
"rollup-plugin-preserve-shebang": "^1.0.1",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vite-node": "^1.4.0"
},
"scripts": {
"serve": "vite",
"dev": "vite-node -w src/index.ts",
"dev:bin": "vite-node src/bin.ts",
"build": "vite build",
"bunch": "vite build --mode bunch",
"debug": "debug=true vite build",
"debug:bunch": "debug=true vite build --mode bunch",
"exe": "bun build --compile --minify ./src/bin.ts --outfile ./exe/library-vite-template",
"exe:win": "bun build --compile --minify --target=bun-windows-x64 ./src/bin.ts --outfile ./exe/library-vite-template_win",
"exe:linux": "bun build --compile --minify --target=bun-linux-x64 ./src/bin.ts --outfile ./exe/library-vite-template_linux",
"exe:mac": "bun build --compile --minify --target=bun-darwin-arm64 ./src/bin.ts --outfile ./exe/library-vite-template_mac",
"preview": "vite preview",
"api": "api-extractor run -c api-extractor.jsonc -l -v",
"doc": "api-documenter markdown -i ./temp -o doc/api",
"apidoc": "npm run api ; npm run doc"
}
}