@nipe-solutions/react-spring-bottom-sheet
Version:
Accessible and composable bottom sheets for React
129 lines (128 loc) • 5.58 kB
JSON
{
"name": "@nipe-solutions/react-spring-bottom-sheet",
"version": "5.0.2",
"description": "Accessible and composable bottom sheets for React",
"license": "MIT",
"author": "Cody Olsen",
"authors": [
"Cody Olsen",
"Jasmine GH",
"Nicholas Petrasek"
],
"homepage": "https://react-spring-bottom-sheet.nipesolutions.com",
"repository": {
"type": "git",
"url": "git+https://github.com/NIPE-Solutions/react-spring-bottom-sheet.git"
},
"bugs": {
"url": "https://github.com/NIPE-Solutions/react-spring-bottom-sheet/issues"
},
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./core.css": "./dist/core.css",
"./theme.css": "./dist/theme.css",
"./tokens.css": "./dist/tokens.css",
"./styles.css": "./dist/styles.css",
"./package.json": "./package.json"
},
"files": [
"dist",
"THIRD_PARTY_NOTICES.md"
],
"sideEffects": [
"**/*.css"
],
"engines": {
"node": ">=24 <25"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"build": "npm run build:dist",
"build:dist": "npm run clean && vite build && tsc --project tsconfig.build.json && node scripts/copy-styles.mjs",
"build:website": "npm run build:dist && npm run generate:api && node scripts/write-website-evidence.mjs && next build website",
"check": "npm run format:check && npm run lint && npm run test:css && npm run test:release && npm run test:website && npm run typecheck && npm run test:unit && npm run build:dist && npm run test:api && npm run test:size && npm run test:package && npm run build:website",
"clean": "rimraf dist",
"dev": "next dev website",
"format": "prettier --write CHANGELOG.md README.md .github/dependabot.yml .github/workflows docs/RELEASING.md docs/releases docs/migration-v4-to-v5.md package.json e2e playwright.config.ts playwright.website.config.ts postcss.config.js src scripts test/package test/types website vite.config.ts vitest.config.ts eslint.config.js vercel.json",
"format:check": "prettier --check CHANGELOG.md README.md .github/dependabot.yml .github/workflows docs/RELEASING.md docs/releases docs/migration-v4-to-v5.md package.json e2e playwright.config.ts playwright.website.config.ts postcss.config.js src scripts test/package test/types website vite.config.ts vitest.config.ts eslint.config.js vercel.json",
"generate:api": "node scripts/extract-public-api.mjs --write website/generated/public-api.json",
"lint": "eslint e2e playwright.config.ts playwright.website.config.ts postcss.config.js src scripts test/package test/types website vite.config.ts vitest.config.ts eslint.config.js --max-warnings 0",
"prepublishOnly": "npm run check",
"release:check": "node scripts/verify-release-readiness.mjs",
"test": "npm run test:unit",
"test:api": "node --test scripts/extract-public-api.test.mjs && node scripts/extract-public-api.mjs --check website/generated/public-api.json",
"test:browser-matrix": "node --test scripts/browser-matrix.test.mjs",
"test:e2e": "playwright test",
"test:e2e:serve": "vite --host 127.0.0.1",
"test:css": "node --test scripts/check-css-namespace.test.mjs && node scripts/check-css-namespace.mjs src/styles/core.css src/styles/theme.css src/styles/tokens.css website/recipes/custom-theme/theme.css website/recipes/dark-theme/theme.css",
"test:package": "node --test test/package/verify-package.test.mjs && node test/package/verify-package.mjs",
"test:release": "node --test scripts/check-bundle-size.test.mjs scripts/dependabot-config.test.mjs scripts/playwright-release-reporter.test.mjs scripts/verify-release-readiness.test.mjs scripts/verify-release.test.mjs",
"test:size": "node scripts/check-bundle-size.mjs && node scripts/check-bundle-externals.mjs",
"test:unit": "vitest run --passWithNoTests",
"test:website": "node --test scripts/check-website-css.test.mjs scripts/verify-website.test.mjs scripts/write-website-evidence.test.mjs && node scripts/check-website-css.mjs website/app/site.css",
"test:website:e2e": "playwright test --config playwright.website.config.ts",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.13.0",
"@eslint/js": "^10.0.0",
"@playwright/test": "^1.62.1",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.0",
"@types/node": "^24.10.0",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.6",
"@typescript-eslint/eslint-plugin": "^8.69.0",
"@typescript-eslint/parser": "^8.69.0",
"eslint": "^10.0.0",
"globals": "^17.3.0",
"jsdom": "^30.0.1",
"motion": "13.2.0",
"next": "^16.3.4",
"postcss": "^8.5.27",
"postcss-selector-parser": "^7.1.6",
"prettier": "^3.9.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"rimraf": "^6.1.2",
"serve": "^14.2.6",
"shiki": "^4.4.3",
"typescript": "^6.0.3",
"vite": "^8.2.2",
"vitest": "^4.1.11",
"yaml": "^2.9.0"
},
"keywords": [
"accessible",
"bottom-drawer",
"bottom-sheet",
"dialog",
"drawer",
"gesture",
"react",
"sheet"
],
"prettier": {
"semi": false,
"singleQuote": true
},
"allowScripts": {
"fsevents@2.3.3": true,
"fsevents@2.3.2": true
}
}