-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: rename node-binding entry name
- Loading branch information
Showing
5 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ prebuilds/ | |
.rollup.cache | ||
|
||
index.js | ||
index.d.ts | ||
*.d.ts | ||
index.js.map | ||
tsconfig.tsbuildinfo | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,10 @@ | |
"native.build:debug": "node-gyp configure --debug && node-gyp build --debug", | ||
"native.prebuild": "prebuildify --napi -t 12.0.0 -t [email protected] -t [email protected] --strip", | ||
"native.prebuild-ia32": "prebuildify --napi --arch=ia32 -t 12.0.0 -t [email protected] -t [email protected] --strip", | ||
"js.clean": "shx rm -rf dist dist-test .rollup.cache .parcel-cache **/tsconfig.tsbuildinfo ./index.js ./index.js.map ./index.d.ts", | ||
"js.clean": "shx rm -rf dist dist-test .rollup.cache .parcel-cache **/tsconfig.tsbuildinfo ./index.* ./*.d.ts", | ||
"js.dev": "npm run js.types && cross-env NODE_ENV=development rollup -c -w", | ||
"js.build": "npm run js.types && cross-env NODE_ENV=production rollup -c", | ||
"js.types": "(tsc -p ./src/binding/tsconfig.json --emitDeclarationOnly) && (shx mv ./src/binding/node.d.ts index.d.ts)", | ||
"js.types": "tsc -p ./src/binding/tsconfig.json --emitDeclarationOnly && shx mv ./src/binding/*.d.ts .", | ||
"clean": "npm run native.clean && npm run js.clean", | ||
"install": "node-gyp-build", | ||
"build": "npm run native.build && npm run js.build", | ||
|
@@ -31,15 +31,14 @@ | |
"benchmark": "npm run benchmark.small && npm run benchmark.regular && npm run benchmark.large && npm run benchmark.tree", | ||
"examples.cpp": "cmake -S . -B ./build && cmake --build ./build --config Debug", | ||
"bump": "ncu -u --greatest", | ||
"prepare": "npm run build" | ||
"prepare": "npm run js.clean && npm run build" | ||
}, | ||
"prettier": "prettier-config-atomic", | ||
"files": [ | ||
"src", | ||
"prebuilds", | ||
"index.js", | ||
"index.d.ts", | ||
"index.js.map", | ||
"index.*", | ||
"*.d.ts", | ||
"binding.gyp" | ||
], | ||
"gypfile": true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.