ultimatedarktower 2.1.1 → 2.1.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.
- package/CHANGELOG.md +25 -0
- package/README.md +20 -0
- package/dist/esm/index.mjs +3558 -0
- package/package.json +6 -4
package/package.json
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultimatedarktower",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "This library provides functions to communicate with the bluetooth le enabled Tower that comes with Restoration Games Return To Dark Tower board game.",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
7
|
-
"module": "dist/
|
|
7
|
+
"module": "dist/esm/index.mjs",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/src/index.d.ts",
|
|
11
|
-
"import": "./dist/
|
|
11
|
+
"import": "./dist/esm/index.mjs",
|
|
12
12
|
"require": "./dist/src/index.js"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"sideEffects": false,
|
|
16
16
|
"files": [
|
|
17
17
|
"dist/src/**/*",
|
|
18
|
+
"dist/esm/**/*",
|
|
18
19
|
"README.md",
|
|
19
20
|
"LICENSE",
|
|
20
21
|
"CHANGELOG.md"
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
"type-check": "tsc --noEmit",
|
|
32
33
|
"clean": "rm -rf dist coverage",
|
|
33
34
|
"watch": "tsc -watch",
|
|
34
|
-
"build": "npm run clean && npm run type-check && tsc && npm run build:examples",
|
|
35
|
+
"build": "npm run clean && npm run type-check && tsc && esbuild src/index.ts --bundle --format=esm --outfile=dist/esm/index.mjs --packages=external && npm run build:examples",
|
|
35
36
|
"build:examples": "node build-examples.js",
|
|
36
37
|
"dev": "npm run watch",
|
|
37
38
|
"ci": "npm run lint && npm run type-check && npm run test:ci && npm run build",
|
|
@@ -39,6 +40,7 @@
|
|
|
39
40
|
"prepublishOnly": "npm run prepack",
|
|
40
41
|
"publish:check": "npm run ci",
|
|
41
42
|
"size": "npm run build && du -sh dist/",
|
|
43
|
+
"test:integration": "npx ts-node tests/integration/calibration.integration.ts",
|
|
42
44
|
"example:node": "npx ts-node examples/node/NodeExample.ts"
|
|
43
45
|
},
|
|
44
46
|
"keywords": [
|