Code Monkey home page Code Monkey logo

petal-service-test's Introduction

petal-service 的demo项目

本地测试流程

  1. npm install
  2. VSCode 安装 Code Runner 插件
  3. 全局安装 npm install ts-node typescript -g
  4. 进入指定文件, 右键 Run Code

或者

  1. npm install
  2. test/index.ts 引入需要测试的示例
  3. npm run test

本地调试

  1. petal-service 设置版本 x.x.x-tx 先执行 npm run bp
  2. 替换 petal-service 包的路径
  "dependencies": {
    "axios": "^1.5.1",
    "petal-service": "file:D:/projects/github-my/petal-service/petal-service-0.0.42.tgz",
    "ts-node": "^10.9.1",
    "typescript": "^5.2.2"
  },
  1. npm install

示例清单

petal-service-test's People

Contributors

xiangwenhu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.