@unleashit/modal
Version:
Responsive modal component for React with custom header, footer and more.
65 lines (64 loc) • 1.83 kB
JSON
{
"name": "@unleashit/modal",
"version": "2.0.4",
"description": "Responsive modal component for React with custom header, footer and more.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./dist/*.css": "./dist/*.css"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"*.png"
],
"sideEffects": [
"*.css",
"*.scss"
],
"scripts": {
"build": "NODE_ENV=production tsup --tsconfig tsconfig.lib.json && pnpm sass:build",
"dev": "concurrently 'NODE_ENV=development tsup --watch' 'pnpm sass'",
"sass": "pnpm sass:build && pnpm sass:watch",
"sass:build": "node-sass -r src/scss -o dist --source-map true --include-path '../../shared/common/src/scss' && pnpm sass:postbuild",
"sass:postbuild": "../../shared/scripts/postcssRename.js --name modal ./dist/modal.module.css",
"sass:watch": "node-sass -wr src/scss -o dist --source-map true --include-path '../../shared/common/src/scss'",
"test": "NODE_ENV=test jest"
},
"license": "MIT",
"keywords": [
"modal",
"react",
"responsive",
"custom fields",
"npm",
"ui components",
"ui library",
"typescript"
],
"repository": {
"type": "git",
"url": "git+https://github.com/unleashit/npm-library.git"
},
"homepage": "https://github.com/unleashit/npm-library/tree/master/packages/modal",
"bugs": {
"url": "https://github.com/unleashit/npm-library/issues"
},
"peerDependencies": {
"react": "16.x || 17.x || 18.x"
},
"dependencies": {
"@unleashit/common": "2.0.4"
},
"devDependencies": {
"@unleashit/common": "workspace:*"
},
"module": "dist/index.mjs",
"gitHead": "8471ad97c54420723c6be1375f1c1f3bf866b609"
}