UNPKG

stimulus-store

Version:

Lightweight state management for Stimulus.js

93 lines (92 loc) 2.59 kB
{ "name": "stimulus-store", "version": "0.0.3", "description": "Lightweight state management for Stimulus.js", "main": "dist/bundle.cjs.js", "module": "dist/bundle.esm.js", "types": "dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/omarluq/stimulus-store.git" }, "bugs": { "url": "https://github.com/omarluq/stimulus-store/issues" }, "homepage": "https://github.com/omarluq/stimulus-store#readme", "files": [ "dist/**/*" ], "scripts": { "build": "rollup -c --bundleConfigAsCjs", "test": "vitest run --coverage", "test:ui": "vitest --ui --coverage.enabled=true", "lint": "biome lint .", "lint:fix": "biome check --apply .", "lint:fix:unsafe": "biome check --apply-unsafe .", "format:check": "biome format .", "format:write": "biome format --write .", "size": "size-limit", "changelog": "git-chglog -o docs/CHANGELOG.md", "docs": "docsify serve docs", "prepack": "cp docs/README.md . && cp docs/CHANGELOG.md . && cp docs/LICENSE.md . && cp -r dist/* .", "postpack": "git clean -f -d" }, "keywords": [ "stimulus", "store", "stimulusjs", "state-management", "javascript", "frontend", "web-development", "client-side", "data-store", "mvc", "stimulus-controller" ], "author": "Omar Luq <omaralanii@outlook.com>", "contributors": [ "Tomas Caraccia <tomascaraccia@gmail.com>" ], "license": "MIT", "devDependencies": { "@biomejs/biome": "1.8.3", "@commitlint/cli": "^19.0.3", "@commitlint/config-conventional": "^19.0.3", "@hotwired/stimulus": "^3.2.2", "@rollup/plugin-commonjs": "^26.0.1", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.5", "@size-limit/preset-small-lib": "^11.0.2", "@size-limit/time": "^11.0.2", "@types/node": "^20.10.0", "@vitest/coverage-istanbul": "^1.6.0", "@vitest/ui": "^1.6.0", "all-contributors-cli": "^6.26.1", "lefthook": "^1.6.1", "rollup": "^4.5.1", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-sizes": "^1.0.6", "size-limit": "^11.0.0", "ts-node": "^10.9.1", "tslib": "^2.6.2", "typescript": "^5.2.2", "vitest": "1.6.0" }, "size-limit": [ { "path": "./dist/bundle.cjs.js", "limit": "1.2 KB" }, { "path": "./dist/bundle.esm.js", "limit": "1.2 KB" }, { "path": "./dist/bundle.umd.js", "limit": "1.25 KB" } ] }