@pod-os/core 0.1.2-4b3c9ec.0 → 0.1.2-dc351f3.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/package.json CHANGED
@@ -1,18 +1,22 @@
1
1
  {
2
2
  "name": "@pod-os/core",
3
- "version": "0.1.2-4b3c9ec.0",
4
- "main": "lib/index.js",
3
+ "version": "0.1.2-dc351f3.0",
4
+ "main": "./lib/index.js",
5
+ "module": "./dist/index.js",
6
+ "types": "./types/index.d.ts",
5
7
  "files": [
6
- "lib/"
8
+ "lib/",
9
+ "dist/",
10
+ "types/"
7
11
  ],
8
12
  "scripts": {
9
13
  "test": "jest",
10
14
  "test:watch": "jest --watch",
11
15
  "lint": "eslint ./src",
12
- "bundle": "esbuild src/index.ts --outfile=lib/index.js --bundle --target=esnext --global-name=PodOS",
13
- "build": "rimraf lib && npm run bundle && npm run ts-types",
14
- "start": "npm run bundle -- --serve=4444",
15
- "ts-types": "tsc --emitDeclarationOnly --outDir lib"
16
+ "build:bundle": "rimraf lib && esbuild src/index.ts --outfile=lib/index.js --bundle --target=esnext --global-name=PodOS",
17
+ "build:esm": "rimraf dist && esbuild src/index.ts --outdir=dist --bundle --splitting --format=esm",
18
+ "build:types": "rimraf types && tsc --emitDeclarationOnly --outDir types",
19
+ "build": " npm run build:bundle && npm run build:types && npm run build:esm"
16
20
  },
17
21
  "keywords": [
18
22
  "Solid"
@@ -37,7 +41,6 @@
37
41
  "buffer": "^6.0.3",
38
42
  "rdflib": "^2.2.20"
39
43
  },
40
- "types": "./lib/index.d.ts",
41
44
  "directories": {
42
45
  "lib": "lib"
43
46
  },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes