diff --git a/package-lock.json b/package-lock.json index 2ddb33b..eabb6a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@runejs/filestore", - "version": "0.12.4", + "version": "0.13.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -526,6 +526,16 @@ "rimraf": "^2.6.1", "semver": "^5.3.0", "tar": "^4" + }, + "dependencies": { + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "requires": { + "glob": "^7.1.3" + } + } } }, "node-properties-parser": { @@ -721,9 +731,10 @@ } }, "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, "requires": { "glob": "^7.1.3" } diff --git a/package.json b/package.json index 701afc0..d8b397b 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,13 @@ { "name": "@runejs/filestore", - "version": "0.12.4", + "version": "0.13.0", "description": "Tools for managing the RuneJS filestore.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", - "start": "ts-node src/run.ts" + "start": "ts-node src/run.ts", + "package": "rimraf dist && npm i && npm run build && npm publish --dry-run" }, "repository": { "type": "git", @@ -29,6 +30,7 @@ "devDependencies": { "@types/node": "^14.14.37", "@types/pngjs": "^3.4.2", + "rimraf": "^3.0.2", "ts-node": "^9.1.1", "tslib": "^2.1.0" }