-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
130 lines (130 loc) · 4.89 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
{
"name": "@cloudscape-design/chat-components",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/cloudscape-design/chat-components.git"
},
"homepage": "https://cloudscape.design",
"scripts": {
"prebuild": "rm -rf lib dist .cache",
"build": "npm-run-all build:pkg --parallel build:src:* --parallel build:pages:* build:themeable",
"lint": "npm-run-all --parallel lint:*",
"lint:eslint": "eslint --ignore-path .gitignore --ext ts,tsx,js .",
"lint:stylelint": "stylelint --ignore-path .gitignore '{src,pages}/**/*.{css,scss}'",
"prepare": "husky install",
"test:unit": "vitest run --config vite.config.unit.mjs",
"test:functional": "run-p -r preview test:functional:vitest",
"test:functional:vitest": "delay 1 && vitest run --config vite.config.e2e-functional.mjs",
"test:visual": "run-p -r preview test:visual:vitest",
"test:visual:vitest": "delay 1 && vitest run --config vite.config.e2e-visual.mjs",
"test:visual:update": "UPDATE_SCREENSHOTS=true npm run test:visual",
"pretest": "tsc -p tsconfig.unit.json && tsc -p tsconfig.e2e.json",
"test": "run-s lint test:unit test:functional",
"preview": "vite preview",
"start": "run-p start:server start:watch:ts start:watch:css",
"start:server": "vite",
"start:watch:ts": "npm run build:src:js -- --watch",
"start:watch:css": "chokidar \"./src/**/*.scss\" -c \"npm run build:src:css\"",
"build:pkg": "node scripts/package-json.js",
"build:src:js": "tsc -p tsconfig.json --inlineSources --sourceMap",
"build:src:css": "node scripts/compile-styles.js",
"build:src:test-utils": "node scripts/test-utils.js",
"build:src:copy": "cp README.md lib/components/",
"build:src:docs": "node scripts/docs.js",
"build:src:environment": "node scripts/environment",
"build:themeable": "node scripts/themeable-source",
"build:pages:vite": "vite build",
"build:pages:tsc": "tsc -p pages/tsconfig.json"
},
"exports": {
".": "./index.js",
"./avatar": "./avatar/index.js",
"./chat-bubble": "./chat-bubble/index.js",
"./loading-bar": "./loading-bar/index.js",
"./support-prompt-group": "./support-prompt-group/index.js",
"./test-utils/dom": "./test-utils/dom/index.js",
"./test-utils/selectors": "./test-utils/selectors/index.js",
"./internal/api-docs/*.js": "./internal/api-docs/*.js"
},
"dependencies": {
"@cloudscape-design/component-toolkit": "^1.0.0-beta",
"@cloudscape-design/test-utils-core": "^1.0.0",
"clsx": "^1.2.1"
},
"peerDependencies": {
"@cloudscape-design/components": "^3",
"@cloudscape-design/design-tokens": "^3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@cloudscape-design/browser-test-tools": "^3.0.4",
"@cloudscape-design/build-tools": "^3.0.1",
"@cloudscape-design/components": "^3",
"@cloudscape-design/design-tokens": "^3",
"@cloudscape-design/documenter": "^1.0.0",
"@cloudscape-design/global-styles": "^1.0.1",
"@cloudscape-design/test-utils-converter": "^1.0.0",
"@cloudscape-design/theming-build": "^1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/jest-image-snapshot": "^6.1.0",
"@types/lodash": "^4.14.191",
"@types/node": "^18.19.4",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.6",
"chokidar-cli": "^3.0.0",
"deep-freeze-es6": "^1.4.1",
"delay-cli": "^2.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-no-unsanitized": "^4.0.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^45.0.2",
"execa": "^6.1.0",
"globby": "^13.1.3",
"husky": "^8.0.3",
"jest-image-snapshot": "^6.1.0",
"jsdom": "^20.0.3",
"lint-staged": "^13.1.0",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"puppeteer-core": "^22.15.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.6.1",
"stylelint": "^16.9.0",
"stylelint-config-recommended-scss": "^14.1.0",
"stylelint-prettier": "^5.0.2",
"typescript": "^4.9.4",
"vite": "^6.1.0",
"vitest": "^3.0.6"
},
"//": "ensure that typedoc uses latest typescript. It prints a warning, but works",
"overrides": {
"typescript": "^4.9.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"*.{scss,css}": [
"stylelint --fix"
],
"package-lock.json": [
"./scripts/prepare-package-lock.js"
]
}
}