ldrs
Version:
Minimalist loading animations for React and web components
88 lines (87 loc) • 2.35 kB
JSON
{
"name": "ldrs",
"version": "1.1.7",
"author": "Griffin Johnston",
"license": "MIT",
"description": "Minimalist loading animations for React and web components",
"keywords": [
"uiball",
"loaders",
"loading animations",
"indeterminate loaders",
"spinners",
"loading",
"icon",
"waiting",
"custom elements",
"web components",
"react",
"reactjs",
"react components"
],
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"sideEffects": [
"*.css"
],
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./*": "./dist/auto/*.js",
"./*.js": "./dist/auto/*.js",
"./react": {
"types": "./dist/react/index.d.ts",
"default": "./dist/react/index.js"
},
"./react/*.css": "./dist/react/*.css"
},
"typesVersions": {
"*": {
"react": [
"./dist/react/index.d.ts"
]
}
},
"files": [
"dist"
],
"browserslist": [
"defaults"
],
"homepage": "https://uiball.com/ldrs",
"repository": {
"type": "git",
"url": "git+https://github.com/GriffinJohnston/ldrs.git"
},
"bugs": {
"url": "https://github.com/GriffinJohnston/ldrs/issues"
},
"scripts": {
"build:setup": "mkdir -p temp-ts-out/elements && mkdir -p temp-ts-out/react && cp src/elements/*.scss temp-ts-out/elements && cp src/react/*.scss temp-ts-out/react && rm -rf dist",
"build:cleanup": "rm -rf temp-ts-out",
"build:rollup": "npx rollup -c rollup.config.js",
"build": "npm test && npm run build:setup && npx tsc && npm run build:rollup && node utils/copyDefs && npm run build:cleanup",
"demo": "cp -r src/demos dist && http-server dist",
"test": "npx tsc --noEmit && node --import tsx --test tests/*.test.ts"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@types/react": "^19.0.12",
"@types/react-dom": "^19.0.4",
"cpy": "^11.1.0",
"glob": "^11.0.1",
"http-server": "^14.1.1",
"postcss": "^8.5.3",
"prettier": "3.5.3",
"react": "^19.0.0",
"rollup": "^4.36.0",
"rollup-plugin-multi-input": "^1.5.0",
"rollup-plugin-node-externals": "^8.0.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-lib-style": "^2.4.0",
"sass": "^1.86.0",
"tsx": "^4.19.3",
"typescript": "^5.8.2"
}
}