-
Notifications
You must be signed in to change notification settings - Fork 316
/
Copy pathpackage.json
119 lines (119 loc) · 3.45 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
{
"name": "@aws-amplify/ui-react",
"version": "2.15.0",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
},
"./internal": {
"import": "./dist/esm/internal.js",
"require": "./dist/internal.js"
},
"./internal/primitives-catalog": {
"import": "./dist/esm/primitives-catalog.js",
"default": null
},
"./legacy": {
"import": "./dist/esm/legacy.js",
"require": "./dist/legacy.js"
},
"./styles.css": "./dist/styles.css",
"./primitives.json": "./dist/primitives.json"
},
"browser": {
"./styles.css": "./dist/styles.css"
},
"types": "dist/types/index.d.ts",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-ui",
"directory": "packages/react"
},
"files": [
"dist",
"legacy",
"internal",
"LICENSE"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "yarn run build:ts && yarn run build:catalog",
"build:ts": "rollup --config",
"build:catalog": "ts-node scripts/generatePrimitivesCatalog.ts",
"dev": "rollup --config --watch",
"eslint:primitives": "eslint ./src/primitives --ext .js,.ts,.tsx",
"update:icons": "node scripts/updateIcons.js",
"build:icons": "yarn run clean:icons && node scripts/generateIcons.js",
"clean": "rimraf dist node_modules",
"clean:icons": "rimraf ./src/primitives/Icon/icons",
"primitives:new": "hygen primitives new",
"lint": "tsc --noEmit && yarn eslint:primitives",
"test": "yarn test:unit",
"test:watch": "yarn test:unit:watch",
"test:unit": "jest",
"test:unit:watch": "jest --watch"
},
"dependencies": {
"@aws-amplify/ui": "3.6.0",
"@aws-amplify/ui-react-v1": "npm:@aws-amplify/[email protected]",
"@radix-ui/react-accordion": "0.1.6",
"@radix-ui/react-dropdown-menu": "0.1.6",
"@radix-ui/react-slider": "0.1.4",
"@radix-ui/react-tabs": "0.1.5",
"@xstate/react": "1.6.3",
"classnames": "2.3.1",
"deepmerge": "4.2.2",
"lodash": "4.17.21",
"mapbox-gl": "npm:[email protected]",
"maplibre-gl-js-amplify": "1.2.3",
"maplibre-gl": "1.15.2",
"qrcode": "1.5.0",
"react-generate-context": "1.0.1",
"react-map-gl": "7.0.10"
},
"peerDependencies": {
"aws-amplify": "3.x.x || 4.x.x",
"react": ">= 16.8.0",
"react-dom": ">= 16.8.0"
},
"peerDependenciesMeta": {
"aws-amplify": {
"optional": true
}
},
"devDependencies": {
"@rollup/plugin-typescript": "^8.3.1",
"@svgr/core": "^5.5.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^26.0.23",
"@types/qrcode": "^1.4.2",
"@types/testing-library__jest-dom": "^5.14.1",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"degit": "^2.8.4",
"eslint": "^8.4.1",
"eslint-plugin-react-hooks": "^4.3.0",
"hygen": "^6.1.0",
"jest": "^27.0.4",
"jest-matchmedia-mock": "^1.1.0",
"react-router-dom": "^6.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.70.0",
"rollup-plugin-styles": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^27.0.3",
"ts-morph": "^12.0.0",
"ts-node": "^10.2.1",
"typescript": "^4.3.2"
},
"sideEffects": [
"dist/**/*.css"
]
}