@programmeramera/npm-rce-dep 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@programmeramera/npm-rce-dep",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "build": "npx tsc"
8
+ },
9
+ "keywords": [],
10
+ "author": "Johan Lindfors // programmeramera",
11
+ "license": "ISC",
12
+ "devDependencies": {
13
+ "typescript": "^5.6.3"
14
+ }
15
+ }
package/src/index.js ADDED
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.multiply = multiply;
4
+ function multiply(a, b) {
5
+ return a * b;
6
+ }
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;AAAA,4BAEC;AAFD,SAAgB,QAAQ,CAAC,CAAQ,EAAE,CAAQ;IACvC,OAAO,CAAC,GAAG,CAAC,CAAC;AACjB,CAAC"}
package/src/index.ts ADDED
@@ -0,0 +1,3 @@
1
+ export function multiply(a:number, b:number) {
2
+ return a * b;
3
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "compilerOptions": {
3
+ "module": "CommonJS",
4
+ "sourceMap": true
5
+ },
6
+ "include": [
7
+ "src/**/*"
8
+ ]
9
+ }