We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0437fd8 commit c5e7fd9Copy full SHA for c5e7fd9
header-gen/jest.config.js
header-gen/jest.config.json
@@ -0,0 +1,5 @@
1
+{
2
+ "preset": "ts-jest",
3
+ "testEnvironment": "node",
4
+ "testMatch": ["**/?(*.)+(spec|test).[tj]s?(x)"]
5
+}
header-gen/package.json
@@ -4,12 +4,18 @@
"description": "A simple TS script to generate a header blob for the ML runner",
"author": "Micro:bit Educational Foundation <[email protected]>",
6
"license": "MIT",
7
+ "type": "module",
8
"module": "./built/main.js",
9
"typings": "./built/main.d.ts",
10
"files": [
11
"./built/*.js",
12
"./built/*.d.ts"
13
],
14
+ "exports": {
15
+ ".": {
16
+ "import": "./built/main.js"
17
+ }
18
+ },
19
"scripts": {
20
"start": "ts-node --project tsconfig.cli.json src/cli.ts",
21
"test": "jest",
0 commit comments