New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@code4rena/skeleton

Package Overview
Dependencies
Maintainers
13
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code4rena/skeleton - npm Package Compare versions

Comparing version

to
1.1.0

lib/content/update-shebang.ts

13

lib/index.js

@@ -17,2 +17,3 @@ "use strict";

}
const hasBin = !!(actualPkg.bin || actualPkg.directories?.bin);
const csBin = variables.dogfood ? "./bin/code-skeleton.ts" : "code-skeleton";

@@ -38,5 +39,12 @@ const skeleton = {

posttest: "npm run lint",
prepack: "tsc --project tsconfig.build.json",
"skeleton:apply": `${csBin} apply`,
"skeleton:verify": `${csBin} verify`,
...(hasBin
? {
"update-shebang": "./scripts/update-shebang.ts",
prepack: "tsc --project tsconfig.build.json && npm run update-shebang",
}
: {
prepack: "tsc --project tsconfig.build.json",
}),
},

@@ -102,4 +110,7 @@ tap: {

}
if (hasBin) {
skeleton["scripts/update-shebang.ts"] = (0, code_skeleton_1.copy)((0, node_path_1.join)(__dirname, "content", "update-shebang.ts"));
}
return skeleton;
}
exports.default = default_1;

2

package.json
{
"name": "@code4rena/skeleton",
"version": "1.0.11",
"version": "1.1.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",