-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
87 lines (87 loc) · 2.82 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
{
"name": "@cloudscape-design/component-toolkit",
"version": "1.0.0-beta",
"files": [
"container-queries",
"dom",
"internal",
"use-controllable-state",
"*.js",
"*.d.ts"
],
"main": "./index.js",
"exports": {
".": "./index.js",
"./dom": "./dom/index.js",
"./internal": "./internal/index.js",
"./internal/metrics": "./internal/metrics.js",
"./internal/testing": "./internal/testing.js",
"./internal/analytics-metadata": "./internal/analytics-metadata/index.js",
"./internal/analytics-metadata/utils": "./internal/analytics-metadata/utils.js",
"./package.json": "./package.json"
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/cloudscape-design/component-toolkit.git"
},
"homepage": "https://cloudscape.design",
"scripts": {
"prebuild": "rm -rf lib",
"build": "tsc",
"postbuild": "npm run postbuild:root && npm run postbuild:focus-visible",
"postbuild:root": "cp package.json README.md LICENSE lib",
"postbuild:focus-visible": "cp ./src/internal/focus-visible/index.scss lib/internal/focus-visible",
"test-pages": "vite --config ./test-pages/vite.config.mts",
"test:unit": "jest -c jest.unit.config.js",
"test:integ": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest -c jest.integ.config.js",
"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": {
"@juggle/resize-observer": "^3.3.1",
"tslib": "^2.3.1"
},
"devDependencies": {
"@cloudscape-design/browser-test-tools": "^3.0.0",
"@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-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.3.0",
"sass": "^1.77.6",
"ts-jest": "^29.1.5",
"typescript": "^5.4.5",
"vite": "^5.4.8"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"package-lock.json": [
"./scripts/prepare-package-lock.js"
]
}
}