• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "napi_generator",
3  "version": "1.0.0",
4  "description": "This paper mainly introduces the NAPI framework code generation tool, which can generate NAPI framework code, business code framework and designed.The GN file according to the TS interface file in the path specified by the user. So developers need to focus on Nodejs related grammar framework layer, interface between c + + with JS type conversion, data type conversion, etc.. This tool is mainly used in the scenario of JS application calling  interface, can focus on business logic implementation, Thus, the development efficiency can be greatly improved. Currently, the tool supports command line and VSCode plug-in.",
5  "main": "index.js",
6  "directories": {
7    "doc": "docs"
8  },
9  "dependencies": {
10    "mocha": "^9.2.1",
11    "node-gyp": "^8.4.1",
12    "stdio": "^2.1.1",
13    "typescript": "^4.5.5"
14  },
15  "devDependencies": {
16    "@types/node": "14.x"
17  },
18  "scripts": {
19    "test": "echo \"Error: no test specified\" && exit 1"
20  },
21  "repository": {
22    "type": "git",
23    "url": "git@gitee.com:joeysun001/napi_generator.git"
24  },
25  "author": "",
26  "license": "ISC",
27  "bin": "./src/gen/cmd_gen.js",
28  "pkg": {
29    "assets": [
30      "src/node_modules/typescript/**/*",
31      "clang-format.exe",
32      "clang-format",
33      ".clang-format"
34    ]
35  }
36}
37