generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.93 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.93 KB
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
{
"name": "@cloudscape-design/component-toolkit",
"version": "1.0.0-beta",
"type": "module",
"main": "./index.js",
"module": "./mjs/index.js",
"sideEffects": false,
"exports": {
".": {
"require": "./index.js",
"default": "./mjs/index.js"
},
"./dom": {
"require": "./dom/index.js",
"default": "./mjs/dom/index.js"
},
"./internal": {
"require": "./internal/index.js",
"default": "./mjs/internal/index.js"
},
"./internal/metrics": {
"require": "./internal/metrics.js",
"default": "./mjs/internal/metrics.js"
},
"./internal/testing": {
"require": "./internal/testing.js",
"default": "./mjs/internal/testing.js"
},
"./internal/locale": {
"require": "./internal/locale/index.js",
"default": "./mjs/internal/locale/index.js"
},
"./internal/analytics-metadata": {
"require": "./internal/analytics-metadata/index.js",
"default": "./mjs/internal/analytics-metadata/index.js"
},
"./internal/analytics-metadata/utils": {
"require": "./internal/analytics-metadata/utils.js",
"default": "./mjs/internal/analytics-metadata/utils.js"
},
"./package.json": "./package.json"
},
"types": "./mjs/index.d.ts",
"typesVersions": {
"*": {
"internal": ["./mjs/internal/index.d.ts"],
"internal/*": ["./mjs/internal/*"],
"dom": ["./mjs/dom/index.d.ts"],
"dom/*": ["./mjs/dom/*"]
}
},
"repository": {
"type": "git",
"url": "https://github.com/cloudscape-design/component-toolkit.git"
},
"homepage": "https://cloudscape.design",
"scripts": {
"prebuild": "rm -rf lib",
"build": "tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json",
"postbuild": "npm run postbuild:root && npm run postbuild:focus-visible && node ./scripts/generate-deep-package.js",
"postbuild:root": "cp package.json README.md LICENSE NOTICE lib",
"postbuild:focus-visible": "cp ./src/internal/focus-visible/index.scss lib/internal/focus-visible/index.scss",
"test-pages": "vite --config ./test-pages/vite.config.mts",
"test:unit": "jest -c jest.unit.config.cjs",
"test:integ": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest -c jest.integ.config.cjs",
"test": "npm run test:unit && npm-run-all -r -p test-pages test:integ",
"lint": "eslint --ignore-path .gitignore --ext ts,tsx,js .",
"prepare": "husky"
},
"dependencies": {
"tslib": "^2.3.1",
"weekstart": "^2.0.0"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@cloudscape-design/browser-test-tools": "^3.0.0",
"@cloudscape-design/build-tools": "github:cloudscape-design/build-tools#main",
"@cloudscape-design/jest-preset": "^2.0.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^11.2.7",
"@types/jest": "^29.5.12",
"@types/react": "^16.14.20",
"@types/react-dom": "^16.9.14",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-header": "3.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-no-unsanitized": "^4.0.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-unicorn": "^45.0.2",
"husky": "^9.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^13.2.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-router-dom": "^6.30.3",
"sass": "^1.77.6",
"ts-jest": "^29.1.5",
"typescript": "^5.4.5",
"vite": "^6.4.1"
},
"overrides": {
"glob": "^10.5.0",
"test-exclude": "^7.0.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"package-lock.json": [
"prepare-package-lock"
]
}
}