UNPKG

redom

Version:

Tiny turboboosted JavaScript library for creating user interfaces.

73 lines (72 loc) 2.09 kB
{ "name": "redom", "version": "4.3.0", "description": "Tiny turboboosted JavaScript library for creating user interfaces.", "main": "./dist/redom.cjs", "exports": { "import": { "default": "./esm/index.js", "types": "./index.d.ts" }, "require": { "default": "./dist/redom.cjs", "types": "./index.d.ts" } }, "type": "module", "sideEffects": false, "scripts": { "dev": "node watch", "dist": "gh-pages -d dist", "build-es": "rollup -i esm/index.js -f es -o dist/redom.es.js", "build-js": "rollup -c -n redom -f umd -i esm/index.js -o dist/redom.js", "build": "npm run build-es && npm run build-js && cp dist/redom.js dist/redom.cjs", "minify": "npm run minify-js && npm run minify-es", "minify-js": "terser dist/redom.js -cmo dist/redom.min.js", "minify-es": "terser dist/redom.es.js -o dist/redom.es.min.js", "preversion": "npm run build && npm run minify && npm run test", "postversion": "git push --tags", "prepublish": "npm run build && npm run minify && npm run test", "postpublish": "npm run dist", "test": "node test/index.js" }, "repository": { "type": "git", "url": "git+https://github.com/redom/redom.git" }, "keywords": [ "redom", "javascript", "tiny", "dom", "library" ], "author": "Juha Lindstedt", "license": "MIT", "bugs": { "url": "https://github.com/redom/redom/issues" }, "homepage": "https://redom.js.org", "devDependencies": { "@babel/preset-env": "^7.26.0", "@rollup/plugin-babel": "^6.0.4", "gh-pages": "~6.3.0", "jsdom": "^26.0.0", "marked": "~15.0.6", "rollup": "~4.30.1", "rollup-plugin-buble": "~0.19.8", "rollup-plugin-node-resolve": "~5.2.0", "terser": "~5.37.0", "teston": "^0.9.6" }, "collective": { "type": "opencollective", "url": "https://opencollective.com/redom", "logo": "https://opencollective.com/redom/logo.txt" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/redom" }, "types": "index.d.ts" }