Skip to content

Commit b1cb196

Browse files
committed
npm publishing
1 parent 5f0f6fc commit b1cb196

File tree

5 files changed

+1717
-5
lines changed

5 files changed

+1717
-5
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

bin/index.cjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"use strict";
2+
3+
const { resolve } = require("node:path");
4+
5+
const dynamicPath = resolve(__dirname, "..", "dist");
6+
7+
exports.dynamicPath = dynamicPath;

bin/index.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
declare const dynamicPath: string;
2+
3+
export { dynamicPath };

package.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
{
2-
"name": "dynamic",
3-
"version": "0.7.2",
4-
"description": "",
5-
"main": "index.js",
2+
"name": "@nebula-services/dynamic",
3+
"version": "0.7.2-patch.1",
4+
"description": "The new generation of interception proxies.",
5+
"main": "./bin/index.cjs",
6+
"types": "./bin/index.d.ts",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/NebulaServices/Dynamic.git"
10+
},
611
"scripts": {
712
"start": "node --max-http-header-size=50000 index",
813
"build:dev": "node esbuild.dev.js",
914
"build:prod": "node esbuild.prod.js",
1015
"build": "node esbuild.prod.js",
11-
"webpack": "echo 'Webpack building is no longer a supported build utility.'"
16+
"webpack": "echo 'Webpack building is no longer a supported build utility.'",
17+
"prepublish": "npm run build"
1218
},
1319
"keywords": [],
1420
"author": "",

0 commit comments

Comments
 (0)