-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
190 lines (190 loc) · 9.31 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "@visa/charts",
"description": "Visa Chart Components (VCC) is an accessibility focused, framework agnostic set of data experience design systems components for the web. VCC attempts to provide a toolset to enable developers to build equal data experiences for everyone, everywhere.",
"author": "Visa Data Experience Team",
"license": "SEE LICENCE IN LICENSE",
"scripts": {
"dev": "node ./scripts/bootstrap.js",
"audit": "lerna run --stream --concurrency 1 --no-bail audit && yarn audit --json --level low > yarn-audit.json",
"bootstrap": "npm-run-all -s generate-lerna-json bootup build",
"serve": "npm-run-all -p watch:charts start",
"start": "npm-run-all -p generate-api-docs-json start:demo",
"start:demo": "npm -C ./packages/visa-charts-demo run start",
"start:angular-demo": "npm -C ./packages/charts-angular-demo run start",
"bootup": "lerna bootstrap --concurrency 2",
"bootup-deploy": "lerna bootstrap --concurrency 1 --ignore \"{@visa/charts-angular,charts-react-demo}*\"",
"build": "lerna run --stream --concurrency 4 build",
"build-deploy": "lerna run --stream --concurrency 4 --ignore \"{@visa/charts-angular,charts-react-demo}*\" build",
"build-R": "lerna run --stream --concurrency 4 build && npm run update-R",
"update-R": "node ./scripts/update-charts-R.js",
"start-dev": "lerna run --stream start-dev",
"test": "lerna run --stream --concurrency 1 --no-bail --no-private test && npm run combine-test-results",
"combine-test-results": "node scripts/monorepo-test-coverage.js",
"compare-test-results": "stencil test --spec --no-cache --color --max-workers=1 unknownarg 'scripts/test-results.spec.tsx'",
"update-test-results": "jest --updateSnapshot --color scripts/test-results.spec.tsx",
"combine-audit-results": "node scripts/monorepo-audit-results.js",
"compare-audit-results": "stencil test --spec --no-cache --color --max-workers=1 unknownarg 'scripts/audit-results.spec.tsx'",
"update-audit-results": "jest --updateSnapshot --color scripts/audit-results.spec.tsx",
"watch:charts": "lerna run watch --stream --no-sort --concurrency 10 --scope=@visa/charts",
"watch": "lerna run watch --stream --no-sort --concurrency 999 --include-filtered-dependencies",
"start:react-demo": "npm -C ./packages/charts-react-demo run start",
"start:react-hooks-demo": "npm -C ./packages/charts-react-hooks-demo run start",
"install:react-demo": "npm install @visa/visa-charts-utils && npm -C ./packages/charts-react-demo run install:prod",
"build-demo:react-prod": "npm run install:react-demo && npm -C ./packages/charts-react-demo run build:prod",
"install:react-hooks-demo": "npm install @visa/visa-charts-utils && npm -C ./packages/charts-react-hooks-demo run install:prod",
"build-demo:react-hooks-prod": "npm run install:react-hooks-demo && npm -C ./packages/charts-react-hooks-demo run build:prod",
"clean": "lerna clean",
"clean-yes": "lerna clean --yes",
"generate-api-docs-json": "npm -C ./packages/visa-charts-demo run generate-api-docs-json",
"generate-lerna-json": "lerna ls -l --json > ./packages/visa-charts-demo/public/mono-packages.json && lerna ls -l --json > ./packages/charts-react/src/mono-packages.json",
"license-update": "node scripts/license-update.js",
"lint": "npm -C ./packages/visa-charts-demo run eslint",
"lint:fix": "npm -C ./packages/visa-charts-demo run eslint:fix",
"lint-lib": "npm -C ./packages/visa-charts-lib run tslint-check",
"prettier-all-check": "prettier --config ./.prettierrc --ignore ./.prettierignore --debug-check \"**/*.{js,jsx,ts,tsx,html,jsx,json,css,scss,md}\"",
"prettier-all": "prettier --config ./.prettierrc --ignore ./.prettierignore --write \"**/*.{js,jsx,ts,tsx,html,jsx,json,css,scss,md}\"",
"release": "node scripts/alter-change-log.js && lerna version --no-push --conventional-commits --no-commit-hooks",
"release:grad": "node scripts/alter-change-log.js && lerna version --no-push --conventional-commits --conventional-graduate --no-commit-hooks",
"release:no-git-tag": "node scripts/alter-change-log.js && lerna version --no-push --no-git-tag-version --conventional-commits --conventional-graduate --no-commit-hooks",
"install:demo": "npm i @visa/visa-charts-utils && npm -C ./packages/visa-charts-demo run install:demo",
"install:angular-demo": "npm -C ./packages/charts-angular-demo run install:demo",
"build-demo:prod": "npm run install:demo && npm run generate-api-docs-json && npm -C ./packages/visa-charts-demo run build:prod",
"stats": "npm -C ./packages/visa-charts-demo run stats && npm run browse-stats",
"browse-stats": "npm -C ./packages/visa-charts-demo run browse-stats",
"test:es5-check": "lerna run test:es5-check --stream --no-sort --concurrency 1",
"publish": "npm login & lerna publish from-package",
"pre-release": "lerna version --no-push --conventional-commits --conventional-prerelease --no-commit-hooks",
"pre-release:no-git-tag": "lerna version --no-push --no-git-tag-version --conventional-commits --conventional-prerelease --no-commit-hooks",
"ls-scripts": "./node_modules/.bin/ls-scripts",
"ls-commit-types": "./node_modules/.bin/conventional-commit-types",
"oss-delete-changelog": "node ./scripts/delete-changelogs-for-oss.js",
"storybook": "NODE_OPTIONS=--openssl-legacy-provider RENDER_PATH=local start-storybook --port 6006",
"build-storybook-gh": "NODE_OPTIONS=--openssl-legacy-provider RENDER_PATH=local build-storybook -o storybook",
"build-storybook": "NODE_OPTIONS=--openssl-legacy-provider RENDER_PATH=/storybook/ build-storybook -o storybook --preview-url=/storybook/iframe.html --force-build-preview",
"build-storybook-simple": "NODE_OPTIONS=--openssl-legacy-provider build-storybook",
"deploy-storybook-gh": "gh-pages -d storybook",
"oss-file-copy": "node scripts/oss-move-files.js"
},
"dependencies": {
"d3-interpolate": "1.4.0"
},
"devDependencies": {
"@babel/core": "^7.16.12",
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@stencil/angular-output-target": "0.9.0",
"@stencil/core": "4.21.0",
"@stencil/react-output-target": "0.5.3",
"@stencil/sass": "3.0.12",
"@stencil/vue-output-target": "0.8.9",
"@storybook/addon-actions": "~6.5.14",
"@storybook/addon-essentials": "~6.5.14",
"@storybook/addon-notes": "5.3.21",
"@storybook/react": "~6.5.14",
"@types/jest": "^27.4.0",
"@types/puppeteer": "5.4.4",
"babel-loader": "^8.2.3",
"babel-plugin-react-docgen": "4.2.1",
"chalk": "3.0.0",
"chokidar-cli": "2.1.0",
"commander": "4.0.1",
"conventional-commit-types-cli": "1.0.3",
"es-check": "5.2.0",
"husky": "1.3.1",
"inquirer": "7.0.1",
"istanbul-lib-coverage": "3.2.0",
"istanbul-lib-report": "3.0.0",
"istanbul-reports": "3.1.3",
"jest": "^27.4.5",
"jest-cli": "^27.4.5",
"jest-html-reporter": "3.4.2",
"lerna": "^6.1.0",
"lint-staged": "13.1.0",
"npm-ls-scripts": "0.1.2",
"npm-run-all": "4.1.5",
"npmlog": "^7.0.1",
"path": "0.12.7",
"prettier": "1.16.4",
"simple-git": "^3.16.0",
"source-map-support": "0.5.21",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.14.0",
"typescript": "^3.9.10",
"workbox-build": "4.3.1",
"ws": "8.4.2"
},
"resolutions": {
"@types/babel__traverse": "7.18.2",
"@types/lodash": "4.14.191",
"@types/node": "18.11.19",
"@types/react": "^17.0.43",
"ansi-regex": "^5.0.1",
"browserslist": "^4.16.5",
"decode-uri-component": "^0.2.1",
"deep-object-diff": "^1.1.9",
"glob-parent": "^5.1.2",
"highlight.js": "^10.4.1",
"hosted-git-info": "^2.8.9",
"loader-utils": "^2.0.4",
"node-notifier": "^8.0.1",
"path-parse": "^1.0.7",
"parse-path": "^5.0.0",
"parse-url": "^8.1.0",
"prismjs": "^1.27.0",
"property-expr": "^2.0.3",
"raw-loader": "^3.1.0",
"react-router": "^6.2.1",
"ssri": "^6.0.2",
"tar": "^4.4.18",
"terser": "^5.14.2",
"tmpl": "^1.0.5",
"trim": "^0.0.3",
"trim-newlines": "^3.0.1",
"trim-off-newlines": "^1.0.3",
"ws": "8.4.2",
"d3-color": "^3.1.0",
"webpack": "^4.46.0"
},
"config": {
"scripts": {
"bootstrap": "Install and builds all packages",
"serve": "Start demo application",
"build": "Builds all packages",
"watch": "Watch for changes in provided package",
"ls-commit-types": "List conventional commit types",
"ls-scripts": "List npm scripts",
"license-update": "Update license statement across all code files",
"generate-api-docs-json": "Generate api docs json for all components",
"clean": "Remove package's node_modules"
}
},
"repository": {
"type": "git",
"url": "https://github.com/visa/visa-chart-components.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "./node_modules/.bin/commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*": [
"prettier --config ./.prettierrc --write"
]
},
"jest": {
"preset": "@stencil/core/testing",
"testRunner": "jest-jasmine2",
"collectCoverageFrom": [
"**/*.{tsx}",
"!**/node_modules/**",
"!**/*.d.ts",
"!**/*.{e2e.ts,spec.ts}",
"!**/(app-**).{tsx}",
"!**/**-values.{ts}",
"!**/**-projections.{ts}",
"!**/topodata**.{ts}"
]
}
}