{
    "name": "rasti",
    "version": "4.0.1",
    "description": "Modern MVC for building user interfaces",
    "type": "module",
    "main": "lib/index.cjs",
    "module": "es/index.js",
    "browser": "dist/rasti.min.js",
    "exports": {
        ".": {
            "import": "./es/index.js",
            "require": "./lib/index.cjs",
            "default": "./es/index.js"
        },
        "./*": {
            "import": "./es/*",
            "require": "./lib/*"
        }
    },
    "files": [
        "dist",
        "es",
        "lib",
        "src"
    ],
    "scripts": {
        "clean": "node -e \"const fs=require('fs');['lib','dist','es'].forEach(d=>fs.rmSync(d,{recursive:true,force:true}))\"",
        "build": "rollup -c",
        "prepare": "npm run clean && npm run test && npm run build",
        "posttest": "npm run lint",
        "lint": "eslint src test",
        "test": "mocha --require jsdom-global/register --reporter nyan test/*.js",
        "version": "node -e \"const fs=require('fs');const {execSync}=require('child_process');const v=require('./package.json').version;const re=/rasti@(v)?\\d+\\.\\d+\\.\\d+(?:-[\\w.-]+)?/g;const files=['README.md', 'docs/AGENTS.md', 'example/todo/index.html'];files.forEach(f=>{const t=fs.readFileSync(f,'utf8');fs.writeFileSync(f,t.replace(re,(m,p)=>'rasti@'+(p||'')+v));});execSync('git add '+files.join(' '),{stdio:'inherit'});\"",
        "docs:api": "jsdoc2md --module-index-format grouped --helper jsdoc2md/helper.cjs --partial jsdoc2md/header.hbs --partial jsdoc2md/sig-link.hbs --partial jsdoc2md/sig-link-html.hbs --partial jsdoc2md/sig-link-parent.hbs --partial jsdoc2md/link.hbs --files 'src/**/*.js' > docs/api.md"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/8tentaculos/rasti.git"
    },
    "homepage": "https://rasti.js.org",
    "bugs": {
        "url": "https://github.com/8tentaculos/rasti/issues"
    },
    "keywords": [
        "mvc",
        "model",
        "view",
        "component",
        "emitter",
        "ui",
        "user interface",
        "backbone"
    ],
    "author": "Alberto Masuelli <alberto.masuelli@gmail.com> (https://github.com/8tentaculos)",
    "license": "MIT",
    "devDependencies": {
        "@eslint/js": "^9.34.0",
        "@rollup/plugin-replace": "^6.0.3",
        "@rollup/plugin-terser": "^1.0.0",
        "chai": "^6.0.1",
        "eslint": "^9.34.0",
        "glob": "^13.0.6",
        "globals": "^16.3.0",
        "jsdoc-to-markdown": "^9.1.2",
        "jsdom": "^29.0.1",
        "jsdom-global": "3.0.2",
        "mocha": "^11.7.5",
        "rollup": "^4.60.1"
    },
    "directories": {
        "example": "example",
        "test": "test",
        "doc": "docs"
    }
}
