update
This commit is contained in:
parent
417ffc49de
commit
b7ae7cc27b
1
.gitignore
vendored
1
.gitignore
vendored
@ -132,3 +132,4 @@ dist
|
||||
.pnp.*
|
||||
|
||||
package-lock.json
|
||||
pnpm-lock.yaml
|
||||
|
10
README.md
10
README.md
@ -1,3 +1,13 @@
|
||||
# nmake
|
||||
|
||||
一个用Nodejs作为框架编译C/C++的代码库,未来可能会支持更多语言
|
||||
|
||||
## 运行源码
|
||||
```bash
|
||||
npm i pnpm -g
|
||||
pnpm install
|
||||
pnpm run dev
|
||||
# or
|
||||
tsc -w
|
||||
node ./build/index.js
|
||||
```
|
@ -18,6 +18,8 @@
|
||||
"author": "Zengtudor",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@types/minimist": "^1.2.5",
|
||||
"@types/node": "^22.2.0",
|
||||
"typescript": "^5.5.4"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -1 +1,2 @@
|
||||
console.log("hello world")
|
||||
const argv = require('minimist')(process.argv.slice(2));
|
||||
|
||||
|
@ -76,7 +76,7 @@
|
||||
/* Interop Constraints */
|
||||
// "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
||||
// "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
|
||||
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
||||
"allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
||||
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
||||
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
||||
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
||||
|
Loading…
Reference in New Issue
Block a user