@timoneer/core 0.0.1 → 0.0.2

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.
@@ -0,0 +1,2 @@
1
+ /** Timoneer engine. Everything the platform knows lives behind this package. */
2
+ export declare const ENGINE_NAME = "timoneer";
@@ -1,2 +1,3 @@
1
1
  /** Timoneer engine. Everything the platform knows lives behind this package. */
2
2
  export const ENGINE_NAME = "timoneer";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "@timoneer/core",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Timoneer engine: manifest, tasks, run loop, state, events, adapter contracts.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "exports": {
8
- ".": "./src/index.ts"
8
+ ".": {
9
+ "source": "./src/index.ts",
10
+ "types": "./dist/index.d.ts",
11
+ "default": "./dist/index.js"
12
+ }
9
13
  },
10
14
  "engines": {
11
15
  "node": ">=24"
@@ -17,10 +21,14 @@
17
21
  },
18
22
  "homepage": "https://timoneer.dev",
19
23
  "files": [
20
- "src",
24
+ "dist",
21
25
  "README.md"
22
26
  ],
23
27
  "publishConfig": {
24
28
  "access": "public"
29
+ },
30
+ "scripts": {
31
+ "build": "rm -rf dist && tsc -p tsconfig.build.json",
32
+ "prepack": "npm run build"
25
33
  }
26
34
  }