diff --git a/package.json b/package.json index aa5fbd6..a9c4df2 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { - "preinstall": "npm start", + "postinstall": "npm start", "start": "rm -rf dist && tsc", "test": "echo \"Error: no test specified\" && exit 1" }, diff --git a/src/index.ts b/src/index.ts index 24a7ef7..973ac14 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,8 +7,8 @@ import { ISsnFileEntry } from './interfaces/ISsnFileEntry'; import findReleasePath from './ssn/findReleasePath'; import getManifest from './ssn/getManifest'; import getPatch from './ssn/getPatch'; +import getReleaseZip from './ssn/getReleaseZip'; import getSolidpkg from './ssn/getSolidpkg'; -import getSolidpkgZip from './ssn/getSolidpkgZip'; import verifyProductName from './ssn/verify/verifyProductName'; -export { IManifest, ISolidSimple, ISsnFileEntry, Product, findReleasePath, getManifest, getPatch, getSolidpkg, getSolidpkgZip, verifyProductName }; +export { IManifest, ISolidSimple, ISsnFileEntry, Product, findReleasePath, getManifest, getPatch, getSolidpkg, getReleaseZip, verifyProductName }; diff --git a/src/ssn/getSolidpkgZip.ts b/src/ssn/getReleaseZip.ts similarity index 100% rename from src/ssn/getSolidpkgZip.ts rename to src/ssn/getReleaseZip.ts