Skip to content

Commit c2665b6

Browse files
authored
Merge pull request #127 from mieweb/fixes/npm-start
Remove build step for local development
2 parents 403b135 + a6e0148 commit c2665b6

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -575,10 +575,11 @@ LDAPServer/
575575
# Install dependencies
576576
npm install
577577

578-
# Build core package
579-
npm run build:core
578+
# Start the server (no build required for local development)
579+
npm start
580580

581-
# Build server package
581+
# Build for releases (only needed for npm publishing and distribution packages)
582+
npm run build:core
582583
npm run build:server
583584

584585
# Create binary

npm/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@
22
"name": "@ldap-gateway/core",
33
"version": "0.1.0",
44
"description": "Reusable LDAP gateway core with pluggable authentication and directory backends",
5-
"main": "dist/index.js",
6-
"types": "dist/index.d.ts",
5+
"main": "src/index.js",
76
"files": [
8-
"dist/",
7+
"src/",
98
"README.md"
109
],
1110
"scripts": {
1211
"build": "node build.js",
1312
"test": "jest",
1413
"test:watch": "jest --watch",
15-
"test:coverage": "jest --coverage",
16-
"prepublishOnly": "npm run build"
14+
"test:coverage": "jest --coverage"
1715
},
1816
"keywords": [
1917
"ldap",

0 commit comments

Comments
 (0)