@vidispine/vdt-js 22.4.0-pre.4 → 22.4.0-pre.5

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidispine/vdt-js",
3
- "version": "22.4.0-pre.4",
3
+ "version": "22.4.0-pre.5",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -12,14 +12,17 @@
12
12
  "url": "https://github.com/vidispine/vdt.git",
13
13
  "directory": "packages/vdt-js"
14
14
  },
15
+ "types": "dist/index.d.ts",
15
16
  "main": "dist/index.js",
16
17
  "module": "dist/index.es.js",
17
18
  "scripts": {
18
- "build": "rimraf dist && rollup -c",
19
+ "build": "rimraf dist && rimraf build/typings && rollup -c",
19
20
  "build:watch": "yarn build -w --environment DEVELOPMENT",
20
- "build:docs": "rimraf ../../docs/build/vdt-js && yarn documentation build 'src/**.js' -f html -o ../../docs/build/vdt-js",
21
- "start:docs": "yarn documentation serve 'src/**.js' --watch --port 2002",
22
- "lint": "eslint . --ext js,md,mdx"
21
+ "build:docs": "yarn typedoc --out ../../docs/build/vdt-js",
22
+ "start:docs": "rimraf build/docs && yarn concurrently \"yarn typedoc --watch --preserveWatchOutput --cleanOutputDir false\" \"yarn live-server --port=2002 --quiet --wait=2000 --no-browser ./build/docs\"",
23
+ "type-check": "tsc --noEmit --emitDeclarationOnly false",
24
+ "typedoc-check": "yarn typedoc --emit none --treatWarningsAsErrors --validation.invalidLink true --validation.notExported true --validation.notDocumented true",
25
+ "lint": "yarn type-check && eslint . --ext js,ts,md,mdx"
23
26
  },
24
27
  "dependencies": {
25
28
  "@babel/runtime": "^7.18.9",
@@ -30,17 +33,28 @@
30
33
  "@babel/plugin-external-helpers": "7.18.6",
31
34
  "@babel/plugin-transform-runtime": "7.19.1",
32
35
  "@babel/preset-env": "7.19.1",
36
+ "@babel/preset-typescript": "7.18.6",
33
37
  "@rollup/plugin-babel": "5.3.1",
34
38
  "@rollup/plugin-commonjs": "21.1.0",
35
39
  "@rollup/plugin-node-resolve": "13.3.0",
36
- "@vidispine/eslint-config-base": "22.4.0-pre.4",
37
- "@vidispine/eslint-config-mdx": "22.4.0-pre.4",
38
- "@vidispine/eslint-config-storybook": "22.4.0-pre.4",
40
+ "@types/jest": "28.1.8",
41
+ "@vidispine/eslint-config-base": "22.4.0-pre.5",
42
+ "@vidispine/eslint-config-mdx": "22.4.0-pre.5",
43
+ "@vidispine/eslint-config-storybook": "22.4.0-pre.5",
44
+ "@vidispine/eslint-config-typescript": "22.4.0-pre.5",
45
+ "@vidispine/types": "22.4.0-pre.5",
46
+ "concurrently": "7.4.0",
39
47
  "documentation": "13.2.5",
40
48
  "eslint": "8.23.1",
49
+ "live-server": "1.2.2",
41
50
  "prettier": "2.7.1",
42
51
  "rimraf": "3.0.2",
43
- "rollup": "2.79.0"
52
+ "rollup": "2.79.0",
53
+ "rollup-plugin-dts": "4.2.2",
54
+ "rollup-plugin-typescript2": "0.34.0",
55
+ "typedoc": "0.23.16",
56
+ "typedoc-plugin-missing-exports": "1.0.0",
57
+ "typescript": "4.8.4"
44
58
  },
45
59
  "files": [
46
60
  "dist"