-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
141 lines (141 loc) · 5.9 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"version": "1.28.0",
"name": "@sisense/root",
"type": "module",
"license": "SEE LICENSE IN LICENSE.md",
"private": true,
"nx": {
"implicitDependencies": [
"@sisense/sdk-data",
"@sisense/sdk-ui",
"@sisense/sdk-ui-preact",
"@sisense/sdk-ui-angular",
"@sisense/sdk-ui-vue"
],
"targets": {
"docs:check:md": {
"cache": true,
"dependsOn": [
"^build:prod"
]
},
"docs:gen:md": {
"outputs": [
"{workspaceRoot}/docs-md"
],
"cache": true,
"dependsOn": [
"^build:prod"
]
},
"nx:test:coverage:collect:report": {
"dependsOn": [
"^build:prod"
],
"outputs": [
"{workspaceRoot}/coverage"
],
"cache": true
}
}
},
"workspaces": [
"packages/*",
"packages/internal/*",
"examples/*demo",
"e2e/",
"typedoc-plugins/typedoc-plugin-markdown/",
"typedoc-plugins/typedoc-plugin-diff-packages/"
],
"scripts": {
"dev": "yarn workspace @sisense/sdk-ui dev",
"demo": "yarn workspace @sisense/react-ts-demo dev",
"demo:vue": "yarn workspace @sisense/vue-ts-demo dev",
"demo:angular": "yarn workspace @sisense/angular-demo start",
"build": "yarn nx:build",
"storybook": "yarn workspace @sisense/sdk-ui storybook",
"storybook:dev": "nx run-many --exclude @sisense/root -t storybook:dev",
"build:prod": "yarn nx:build:prod",
"build:changed:prod": "yarn workspaces foreach --since=origin/master --verbose --verbose --topological --no-private -R run build:prod",
"clean": "yarn workspaces foreach run clean && rm -rf ./coverage && rm -rf ./.nyc_output && nx reset",
"reset": "yarn clean && rm -rf ./node_modules",
"lint": "yarn workspaces foreach -p --verbose run lint",
"lint:changed": "yarn workspaces foreach --since run lint",
"format": "yarn workspaces foreach -p run format",
"format:check": "yarn workspaces foreach -p run format:check",
"test": "yarn workspaces foreach -p --verbose run test",
"test:coverage": "yarn nx:test:coverage",
"test:coverage:collect": "mkdir -p .nyc_output && node ./ci/collect-coverage-files.cjs collectFiles --pattern='packages/**/coverage-final.json' --target='.nyc_output'",
"test:coverage:report": "nyc report --reporter lcov --reporter text-summary --reporter cobertura",
"test:coverage:combine": "yarn test:coverage && yarn test:coverage:collect && yarn test:coverage:report",
"test:collect:report": "yarn test:coverage:collect && yarn test:coverage:report",
"test:ct": "yarn workspaces foreach --verbose run test:ct",
"test:visual": "yarn workspaces foreach --verbose run test:visual",
"g:cli": "yarn workspace @sisense/sdk-cli run cli",
"version-and-publish": "./ci/version-and-publish.sh",
"version:current": "node ./scripts/current-version.cjs",
"publish": "yarn workspaces foreach --no-private npm publish --tolerate-republish",
"docs:gen": "TYPEDOC_MODE=PUBLIC typedoc --options typedoc.config.cjs",
"docs:serve": "node ./scripts/serve-static.cjs docs",
"docs:gen:internal": "TYPEDOC_MODE=INTERNAL typedoc --options typedoc.config.cjs",
"docs:serve:internal": "node ./scripts/serve-static.cjs docs-internal",
"docs:gen:md": "./scripts/gen-docs-md.sh",
"docs:check:md": "./scripts/check-docs-md.sh",
"docs:diff:ui": "./scripts/diff-docs-ui.sh",
"prepare": "husky install",
"nx:build": "nx run-many --exclude @sisense/root -t build",
"nx:build:af": "nx affected --base=origin/master --head=HEAD --exclude @sisense/root -t build",
"nx:test": "nx run-many --exclude @sisense/root -t test",
"nx:test:af": "nx affected --base=origin/master --head=HEAD --exclude @sisense/root -t test",
"nx:test:coverage": "nx run-many --exclude @sisense/root -t test:coverage",
"nx:test:coverage:af": "nx affected --base=origin/master --head=HEAD --exclude @sisense/root -t test:coverage",
"nx:lint": "nx run-many --exclude @sisense/root -t lint",
"nx:lint:af": "nx affected --base=origin/master --head=HEAD --exclude @sisense/root -t lint",
"nx:format": "nx run-many --exclude @sisense/root -t format",
"nx:format:af": "nx nx affected --base=origin/master --head=HEAD --exclude @sisense/root -t format",
"nx:format:check": "nx run-many --exclude @sisense/root -t format:check",
"nx:format:check:af": "nx affected --base=origin/master --head=HEAD --exclude @sisense/root -t format:check",
"nx:build:prod": "nx run-many --exclude @sisense/root -t build:prod",
"nx:build:prod:af": "nx affected --base=origin/master --head=HEAD --exclude @sisense/root -t build:prod",
"nx:component:tests": "nx run-many --exclude @sisense/root -t component:tests",
"nx:component:tests:af": "nx affected --exclude @sisense/root -t component:tests",
"nx:test:coverage:collect:report": "nx run @sisense/root:nx:test:coverage && nx run @sisense/root:test:coverage:collect && nx run @sisense/root:test:coverage:report"
},
"files": [
"packages/**/dist/*"
],
"packageManager": "[email protected]",
"volta": {
"node": "18.16.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@sisense/commitlint-config": "^1.9.9",
"@sisense/eslint-config": "1.9.12",
"@sisense/prettier-config": "^1.9.9",
"@sisense/typedoc-plugin-diff-packages": "0.1.0",
"@sisense/typedoc-plugin-markdown": "0.0.0",
"@vitest/coverage-istanbul": "2.1.4",
"eslint": "^8.40.0",
"eslint-plugin-i18next": "^6.1.0",
"eslint-plugin-tsdoc": "0.2.17",
"eslint-plugin-vitest": "0.2.8",
"express": "^4.18.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.1",
"nx": "20.0.0",
"nyc": "^17.1.0",
"prettier": "^2.8.8",
"typedoc": "0.26.10",
"typedoc-plugin-vue": "^1.2.0",
"vitest": "^2.1.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write"
],
"*.{json,yaml,yml,md}": [
"prettier --write"
]
}
}