data-navigator 1.1.0 → 1.2.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.
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "data-navigator",
|
|
3
3
|
"author": "Frank Elavsky",
|
|
4
|
-
"version": "1.
|
|
5
|
-
"main": "dist/index.jsm",
|
|
6
|
-
"module": "dist/index",
|
|
7
|
-
"types": "data-navigator.d.ts",
|
|
4
|
+
"version": "1.2.0",
|
|
5
|
+
"main": "./dist/index.jsm",
|
|
6
|
+
"module": "./dist/index",
|
|
7
|
+
"types": "./dist/data-navigator.d.ts",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist/**/*"
|
|
10
10
|
],
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
13
|
"import": {
|
|
14
|
-
"types": "./data-navigator.d.ts",
|
|
14
|
+
"types": "./dist/data-navigator.d.ts",
|
|
15
15
|
"default": "./dist/index.js"
|
|
16
16
|
},
|
|
17
17
|
"require": {
|
|
18
|
-
"types": "./data-navigator.d.ts",
|
|
18
|
+
"types": "./dist/data-navigator.d.ts",
|
|
19
19
|
"default": "./dist/index.mjs"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -29,9 +29,10 @@
|
|
|
29
29
|
"description": "Data-navigator is a JavaScript library that allows for serial navigation of data structures using a variety of input modalities and assistive technologies.",
|
|
30
30
|
"scripts": {
|
|
31
31
|
"clean": "rm -rf ./dist && rm -rf ./app",
|
|
32
|
-
"build": "yarn build:app && yarn build:index && yarn build:modules",
|
|
32
|
+
"build": "yarn build:app && yarn build:index && yarn build:types && yarn build:modules",
|
|
33
33
|
"build:app": "webpack",
|
|
34
34
|
"build:index": "tsup src/index.ts --format cjs,esm",
|
|
35
|
+
"build:types": "tsup data-navigator.d.ts --format cjs,esm",
|
|
35
36
|
"build:modules": "tsup src/structure.ts src/input.ts src/rendering.ts src/utilities.ts src/consts.ts --format cjs,esm --minify",
|
|
36
37
|
"server": "python -m http.server",
|
|
37
38
|
"prettier-all-check": "prettier --config ./.prettierrc --ignore ./.prettierignore --debug-check \"**/*.{js,jsx,ts,tsx,html,jsx,json,css,scss,md}\"",
|