@nebula.js/sn-org-chart 1.1.0 → 1.1.1

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,17 +1,12 @@
1
1
  {
2
2
  "name": "@nebula.js/sn-org-chart",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Org chart supernova",
5
- "license": "MIT",
6
- "author": "QlikTech International AB",
7
5
  "keywords": [
8
6
  "qlik",
9
7
  "nebula",
10
8
  "supernova"
11
9
  ],
12
- "publishConfig": {
13
- "access": "public"
14
- },
15
10
  "bugs": {
16
11
  "url": "https://github.com/qlik-oss/sn-org-chart/issues"
17
12
  },
@@ -19,31 +14,29 @@
19
14
  "type": "git",
20
15
  "url": "https://github.com/qlik-oss/sn-org-chart.git"
21
16
  },
17
+ "license": "MIT",
18
+ "author": "QlikTech International AB",
19
+ "main": "dist/sn-org-chart.js",
22
20
  "files": [
23
21
  "dist",
24
22
  "api-specifications",
25
23
  "core",
26
24
  "sn-org-chart-ext"
27
25
  ],
28
- "engines": {
29
- "node": ">=16"
30
- },
31
- "main": "dist/sn-org-chart.js",
32
- "systemjs": "dist/sn-org-chart.systemjs.js",
33
26
  "scripts": {
34
- "build": "node ./tools/build.js --core --ext",
35
- "build:dev": "node ./tools/build.js --core --ext --mode development",
36
- "build:watch": "node ./tools/build.js --ext --mode development -w",
27
+ "build": "yarn run locale:generate && node ./tools/build.js --core --ext",
28
+ "build:dev": "yarn run locale:generate && node ./tools/build.js --core --ext --mode development",
29
+ "build:watch": "yarn run locale:generate && node ./tools/build.js --ext --mode development -w",
30
+ "format": "prettier --write '**'",
31
+ "format:check": "prettier --check '**'",
32
+ "lint": "yarn run locale:generate && eslint src",
33
+ "locale:generate": "node src/locale/scripts/generate-all.mjs",
34
+ "locale:verify": "node src/locale/tools/verify-translations.js",
37
35
  "sense": "nebula sense --ext ./src/extension/ext-raw.js --meta ./src/extension/meta.json",
38
- "lint": "eslint src",
36
+ "spec": "sy from-jsdoc -c ./spec-configs/props.conf.js",
39
37
  "start": "nebula serve --type sn-org-chart",
40
- "spec": "scriptappy-from-jsdoc -c ./spec-configs/props.conf.js",
41
- "test:unit": "jest",
42
- "test:integration": "aw puppet --glob 'test/integration/**/*.spec.js' --chrome.headless true --chrome.slowMo 10",
43
- "test:rendering": "aw puppet --testExt '*.spec.js' --glob 'test/rendering/**/*.spec.js' --mocha.bail false --mocha.timeout 30000",
44
- "prepublishOnly": "NODE_ENV=production yarn run build && yarn spec",
45
- "preversion": "yarn build",
46
- "version": "yarn spec && git add api-specifications"
38
+ "test:e2e": "playwright test",
39
+ "test:unit": "jest"
47
40
  },
48
41
  "husky": {
49
42
  "hooks": {
@@ -52,37 +45,65 @@
52
45
  },
53
46
  "lint-staged": {
54
47
  "*.{js, jsx}": [
55
- "eslint"
48
+ "eslint",
49
+ "prettier --check src/**"
56
50
  ]
57
51
  },
58
- "peerDependencies": {
59
- "@nebula.js/stardust": ">=2.13.0"
52
+ "prettier": "@qlik/prettier-config",
53
+ "eslintConfig": {
54
+ "extends": [
55
+ "@qlik/eslint-config",
56
+ "@qlik/eslint-config/jest"
57
+ ],
58
+ "rules": {
59
+ "no-param-reassign": 0,
60
+ "no-unused-expressions": 0
61
+ }
60
62
  },
61
63
  "devDependencies": {
62
- "@after-work.js/aw": "6.0.14",
63
- "@babel/preset-env": "7.14.7",
64
- "@commitlint/cli": "17.1.1",
65
- "@commitlint/config-conventional": "17.1.0",
66
- "@nebula.js/cli": "3.0.4",
67
- "@nebula.js/cli-build": "3.0.4",
68
- "@nebula.js/cli-sense": "3.0.4",
69
- "@nebula.js/cli-serve": "3.0.4",
70
- "@nebula.js/stardust": "3.0.4",
71
- "d3": "5.16.0",
72
- "eslint": "8.23.0",
73
- "eslint-config-airbnb-base": "15.0.0",
74
- "eslint-plugin-import": "2.26.0",
75
- "eslint-plugin-mocha": "10.1.0",
76
- "fs-extra": "10.1.0",
77
- "husky": "8.0.1",
78
- "jest": "28.1.3",
79
- "jest-environment-jsdom": "28.1.3",
80
- "jest-junit": "14.0.1",
81
- "less": "4.1.3",
82
- "lint-staged": "13.0.3",
83
- "mocha-junit-reporter": "2.0.2",
84
- "scriptappy-from-jsdoc": "0.7.0",
64
+ "@babel/preset-env": "7.23.3",
65
+ "@commitlint/cli": "18.4.3",
66
+ "@commitlint/config-conventional": "18.4.3",
67
+ "@nebula.js/cli": "4.8.0",
68
+ "@nebula.js/cli-build": "4.8.0",
69
+ "@nebula.js/cli-sense": "4.8.0",
70
+ "@nebula.js/cli-serve": "4.8.0",
71
+ "@nebula.js/stardust": "4.8.0",
72
+ "@playwright/test": "1.40.0",
73
+ "@qlik/eslint-config": "0.5.3",
74
+ "@qlik/prettier-config": "0.4.3",
75
+ "@scriptappy/cli": "0.10.0",
76
+ "@scriptappy/from-jsdoc": "0.19.0",
77
+ "babel-plugin-dynamic-import-node": "2.3.3",
78
+ "d3": "7.8.5",
79
+ "eslint": "8.54.0",
80
+ "fs-extra": "11.1.1",
81
+ "globby": "14.0.0",
82
+ "husky": "8.0.3",
83
+ "jest": "29.7.0",
84
+ "jest-environment-jsdom": "29.7.0",
85
+ "jest-junit": "16.0.0",
86
+ "less": "4.2.0",
87
+ "lint-staged": "15.1.0",
88
+ "mocha-junit-reporter": "2.2.1",
89
+ "prettier": "3.1.0",
85
90
  "shx": "0.3.4",
86
- "yargs": "17.5.1"
87
- }
91
+ "typescript": "5.3.2",
92
+ "yargs": "17.7.2"
93
+ },
94
+ "peerDependencies": {
95
+ "@nebula.js/stardust": ">=4.8.0"
96
+ },
97
+ "engines": {
98
+ "node": ">=18"
99
+ },
100
+ "publishConfig": {
101
+ "access": "public"
102
+ },
103
+ "qext": {
104
+ "name": "Org chart",
105
+ "icon": "extension",
106
+ "preview": "assets/preview.png"
107
+ },
108
+ "systemjs": "dist/sn-org-chart.systemjs.js"
88
109
  }