Skip to content

Commit

Permalink
Merge pull request #3 from michielbdejong/add-build-script
Browse files Browse the repository at this point in the history
Add build script
  • Loading branch information
jeff-zucker authored Oct 30, 2020
2 parents 78bfea8 + 742c3e8 commit f1aa284
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "a client for nodejs access to Solid",
"main": "./src/index.js",
"scripts": {
"test": "node tests/all"
"test": "node tests/all",
"build": "tsc --esModuleInterop src/index"
},
"keywords": [],
"author": "Jeff Zucker",
Expand All @@ -13,5 +14,7 @@
"solid-auth-fetcher": "^1.2.1",
"solid-rest": "^1.2.3"
},
"devDependencies": {}
"devDependencies": {
"typescript": "^4.0.5"
}
}
19 changes: 19 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
Expand Down

0 comments on commit f1aa284

Please sign in to comment.