diff --git a/package.json b/package.json index c1c754f8..d01f3bbc 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,14 @@ "./templates": "./dist/templates/index.js", "./App": "./dist/App.js", "./lib/App": "./dist/App.js", - "./AppForServer": "./dist/AppForServer.js" + "./AppForServer": "./dist/AppForServer.js", + "./lib/components": "./dist/components.js", + "./lib/Page": "./dist/Page.js", + "./test-utils/*": "./test-utils/*.js" }, "files": [ - "dist/" + "dist/", + "test-utils/" ], "scripts": { "build": "node_modules/.bin/tsc", diff --git a/src/AppForServer.ts b/src/AppForServer.ts index 28b9cb42..17c97a22 100644 --- a/src/AppForServer.ts +++ b/src/AppForServer.ts @@ -115,7 +115,7 @@ export class AppForServer extends AppBase { if (fs.existsSync(this.serializedBase + '.json')) { this.deserialize(); this.loadViews = function(_filename, _namespace) { return this; }; - this.loadStyles = function(_filname, _options) { return this; }; + this.loadStyles = function(_filename, _options) { return this; }; return; }