@aws-amplify/ui
Version:
`@aws-amplify/ui` contains low-level logic & styles for stand-alone usage or re-use in framework-specific implementations.
73 lines • 1.91 kB
JSON
{
"name": "@aws-amplify/ui",
"version": "6.13.0",
"main": "dist/index.js",
"module": "dist/esm/index.mjs",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json",
"./styles.css": "./dist/styles.css",
"./dist/styles.css": "./dist/styles.css",
"./theme.css": "./dist/theme.css",
"./tokens.ts": "./dist/react-native/tokens.ts"
},
"browser": {
"./styles.css": "./dist/styles.css",
"./theme.css": "./dist/theme.css"
},
"types": "dist/types/index.d.ts",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-ui",
"directory": "packages/ui"
},
"files": [
"dist",
"LICENSE"
],
"scripts": {
"build": "yarn build:css && yarn build:dist",
"build:css": "node -r esbuild-register ./scripts/generateCSS.ts",
"build:dist": "rollup --config",
"check:esm": "node --input-type=module --eval 'import \"@aws-amplify/ui\"'",
"clean": "rimraf dist node_modules",
"dev": "yarn build --watch",
"lint": "yarn typecheck && eslint src --ext .js,.ts,.tsx",
"prebuild": "rimraf dist",
"test": "jest",
"test:watch": "yarn test --watch",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"csstype": "^3.1.1",
"lodash": "4.17.21",
"tslib": "^2.5.2"
},
"peerDependencies": {
"@aws-amplify/core": "*",
"aws-amplify": "^6.14.3",
"xstate": "^4.33.6"
},
"peerDependenciesMeta": {
"xstate": {
"optional": true
}
},
"devDependencies": {
"@types/lodash": "^4.14.170",
"@types/webpack-env": "^1.16.2",
"autoprefixer": "^10.3.1",
"glob": "^10.5.0",
"postcss": "^8.4.31",
"sass": "^1.35.2",
"style-dictionary": "3.9.1"
},
"sideEffects": [
"dist/**/*.css"
]
}