Skip to content

Commit

Permalink
chore: Improve library publication
Browse files Browse the repository at this point in the history
Release-As: 0.0.11
  • Loading branch information
bn3t committed Oct 25, 2024
1 parent 57b0abd commit 5430092
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,26 @@
},
"homepage": "https://github.com/bn3t/ssin-lib",
"type": "module",
"main": "dist/lib/index.cjs",
"module": "dist/lib/index.js",
"main": "./dist/lib/index.js",
"module": "./dist/lib/index.js",
"types": "./dist/lib/index.d.ts",
"exports": {
".": {
"types": "./dist/lib/index.d.ts",
"import": "./dist/lib/index.js",
"require": "./dist/lib/index.cjs"
}
},
"bin": {
"ssin": "dist/ssin-cli.js"
},
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run lint && npm run build:check && npm run build:js",
"build:check": "tsc --noEmit",
"build:js": "tsup-node --entry src/ssin-cli.ts --entry src/lib/index.ts --format cjs,esm --dts --sourcemap",
"build:js": "tsup-node --entry src/lib/index.ts --entry src/ssin-cli.ts --format cjs,esm --dts --sourcemap",
"build:native": "npm run build:native-linux-x64 && npm run build:native-darwin-x64 && npm run build:native-darwin-arm64 && npm run build:native-windows-x64",
"build:compress": "npm run build:compress-linux-x64 && npm run build:compress-darwin-x64 && npm run build:compress-darwin-arm64 && npm run build:compress-windows-x64",
"build:compress-darwin-arm64": "cd dist-native && tar cfz ssin-darwin-arm64.tar.gz ssin-darwin-arm64",
Expand Down

0 comments on commit 5430092

Please sign in to comment.