@baadal-sdk/dapi 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fs/index.js +1 -3
- package/dist/fs/index.js.map +1 -1
- package/dist/index.js +2 -7
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/fs/index.js
CHANGED
package/dist/fs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/fs/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/fs/index.ts"],"names":[],"mappings":"AAeA,IAAM,GAAG,GAAG;IACV,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACzB,CAAC,CAAC;AAEF,eAAe;IACb,GAAG,KAAA;CAEJ,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var fs_1 = __importDefault(require("./fs"));
|
|
1
|
+
import fs from './fs';
|
|
7
2
|
var foo = function () {
|
|
8
3
|
return 'bar';
|
|
9
4
|
};
|
|
10
|
-
|
|
5
|
+
export default { fs: fs, foo: foo };
|
|
11
6
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,MAAM,CAAC;AAEtB,IAAM,GAAG,GAAG;IACV,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,eAAe,EAAE,EAAE,IAAA,EAAE,GAAG,KAAA,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baadal-sdk/dapi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Dead-simple API wrappers",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
11
11
|
"build": "esbuild src/index.ts --bundle --outfile=dist/index.js",
|
|
12
12
|
"build:prod": "esbuild src/index.ts --bundle --minify --outfile=dist/index.js",
|
|
13
|
-
"build:cjs": "tsc",
|
|
14
|
-
"build:esm": "tsc --module es6
|
|
13
|
+
"build:cjs": "tsc --outDir esm",
|
|
14
|
+
"build:esm": "tsc --module es6",
|
|
15
15
|
"build:web": "webpack",
|
|
16
|
-
"prepublishOnly": "run-s build:
|
|
17
|
-
"
|
|
18
|
-
"
|
|
16
|
+
"prepublishOnly": "run-s build:esm",
|
|
17
|
+
"pub": "npm publish",
|
|
18
|
+
"pub:test": "npm publish --dry-run"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@babel/core": "7.15.5",
|