package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "tsrpc-miniapp",
  3. "version": "3.4.16",
  4. "description": "TSRPC MiniApp Client (Wechat App, QQ App...)",
  5. "main": "index.js",
  6. "exports": {
  7. "require": "./index.js",
  8. "import": "./index.mjs"
  9. },
  10. "scripts": {
  11. "test:install": "cd test/server && npm i & cd ../miniapp && npm i & cd ../../",
  12. "test": "npm run test:install && cd test/server && START npm run dev && cd ../miniapp && npm run dev && echo \"请使用开发者工具打开test/miniapp目录完成测试\" && cd ../../",
  13. "build": "npm run build:js && npm run build:dts && shx cp package.json LICENSE README.md dist/",
  14. "build:js": "shx rm -rf dist && npx rollup -c",
  15. "build:dts": "shx rm -rf lib && npx tsc && npx api-extractor run --local --verbose && node scripts/postDts.js && shx rm -rf lib",
  16. "build:doc": "shx rm -rf docs/api && npx api-documenter markdown --input temp --output docs/api"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "git+https://github.com/k8w/tsrpc-miniapp.git"
  21. },
  22. "author": "",
  23. "license": "MIT",
  24. "bugs": {
  25. "url": "https://github.com/k8w/tsrpc-miniapp/issues"
  26. },
  27. "homepage": "https://github.com/k8w/tsrpc-miniapp#readme",
  28. "types": "index.d.ts",
  29. "devDependencies": {
  30. "@microsoft/api-documenter": "^7.24.2",
  31. "@microsoft/api-extractor": "^7.43.1",
  32. "@rollup/plugin-commonjs": "^19.0.2",
  33. "@rollup/plugin-node-resolve": "^13.3.0",
  34. "chai": "^4.4.1",
  35. "kunit": "^1.3.0",
  36. "rollup": "^2.79.1",
  37. "rollup-plugin-typescript2": "^0.36.0",
  38. "shx": "^0.3.4",
  39. "typescript": "^4.9.5",
  40. "webpack-cli": "^4.10.0"
  41. },
  42. "dependencies": {
  43. "tsrpc-base-client": "^2.1.15"
  44. }
  45. }