Skip to content

Commit 01b5e57

Browse files
committed
Adding new package building command and 1.3.2 bump to fix issues
1 parent a40eb52 commit 01b5e57

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tsconfig.json
22
src
33
.idea
4-
dist/test.*
4+
test.*

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
22
"name": "@runejs/core",
3-
"version": "1.3.1",
3+
"version": "1.3.2",
44
"description": "Core logging, networking, and buffer functionality for RuneJS applications.",
5-
"main": "dist/index.js",
6-
"types": "dist/index.d.ts",
5+
"main": "index.js",
6+
"types": "index.d.ts",
77
"scripts": {
88
"build": "tsc",
9-
"start": "ts-node src/test.ts"
9+
"start": "ts-node src/test.ts",
10+
"copy-documents": "cp package.json dist && cp README.md dist && cp .npmignore dist && cp LICENSE dist",
11+
"package": "rm -rf dist && npm run build && npm run copy-documents && cd dist && npm publish --dry-run"
1012
},
1113
"repository": {
1214
"type": "git",

0 commit comments

Comments
 (0)