@mirascript/napi 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.node +0 -0
- package/package.json +3 -2
package/dist/index.node
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirascript/napi",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"description": "MiraScript compiler for Node.JS",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -10,13 +10,14 @@
|
|
|
10
10
|
"#lib": "./dist/index.node"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
+
"@types/node": "^24.9.2",
|
|
13
14
|
"cargo-cp-artifact": "^0.1.9",
|
|
14
15
|
"nodemon": "^3.1.10"
|
|
15
16
|
},
|
|
16
17
|
"scripts": {
|
|
17
18
|
"napi": "cargo-cp-artifact -ac napi dist/index.node -- cargo build -p napi --message-format=json-render-diagnostics",
|
|
18
19
|
"watch": "nodemon -e rs,js,ts --watch ../../crates/napi --watch ../../crates/core --watch ./src --exec 'pnpm build:dev'",
|
|
19
|
-
"build:dev": "pnpm napi
|
|
20
|
+
"build:dev": "pnpm napi && tsc",
|
|
20
21
|
"build": "pnpm napi --release && tsc",
|
|
21
22
|
"clean": "rimraf dist lib"
|
|
22
23
|
}
|