opcjs-base 0.1.13 → 0.1.16-alpha

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,12 +1,13 @@
1
1
  {
2
2
  "name": "opcjs-base",
3
- "version": "0.1.13",
3
+ "version": "0.1.16-alpha",
4
4
  "description": "Base functionalities for OPC UA.",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "https://github.com/iarbre/opcjs.git"
7
+ "url": "git+https://github.com/iarbre/opcjs.git"
8
8
  },
9
9
  "type": "module",
10
+ "sideEffects": false,
10
11
  "main": "./dist/index.js",
11
12
  "module": "./dist/index.js",
12
13
  "types": "./dist/index.d.ts",
@@ -22,11 +23,13 @@
22
23
  "README.md"
23
24
  ],
24
25
  "scripts": {
25
- "lint": "npx eslint ./src",
26
+ "lint": "eslint ./src",
26
27
  "verify": "npx tsc --noEmit",
27
28
  "build": "tsup",
29
+ "prepublish": "npm run lint && npm run verify && npm run build",
28
30
  "dev": "tsup --watch",
29
- "test": "vitest"
31
+ "test": "vitest",
32
+ "generate": "node ../generator/dist/cli.js ../../../ext/UA-NodeSet/Schema/Opc.Ua.NodeSet2.Services.xml -o src/schema"
30
33
  },
31
34
  "keywords": [
32
35
  "opcua",
@@ -35,9 +38,12 @@
35
38
  "author": "slompf18",
36
39
  "license": "MIT",
37
40
  "devDependencies": {
41
+ "@eslint/js": "^10.0.1",
38
42
  "@types/node": "^22.0.0",
43
+ "eslint": "^10.0.2",
39
44
  "tsup": "^8.3.5",
40
45
  "typescript": "^5.7.3",
46
+ "typescript-eslint": "^8.56.1",
41
47
  "vitest": "^4.0.18"
42
48
  },
43
49
  "dependencies": {