UNPKG

svelte-htm

Version:

tagged template syntax for svelte to simplify testing

114 lines (113 loc) 2.99 kB
{ "name": "svelte-htm", "version": "1.2.0", "description": "tagged template syntax for svelte to simplify testing", "repository": { "type": "git", "url": "git+https://github.com/kenoxa/svelte-htm.git" }, "keywords": [ "svelte", "htm", "Hyperscript Tagged Markup", "tagged template", "template literals", "html", "jsx", "hyperscript", "dom", "jsdom", "testing", "ui", "unit", "functional" ], "author": "Sascha Tandel <s.tandel@kenoxa.de>", "license": "MIT", "bugs": { "url": "https://github.com/kenoxa/svelte-htm/issues" }, "homepage": "https://github.com/kenoxa/svelte-htm#readme", "source": "src/html.js", "main": "./dist/cjs/html.js", "exports": { "./package.json": "./package.json", ".": { "require": "./dist/cjs/html.js", "umd": "./dist/umd/html.js", "default": "./dist/esm/html.js" } }, "module": "./dist/esm/html.js", "unpkg": "./dist/umd/html.js", "jsdelivr": "./dist/umd/html.js", "types": "index.d.ts", "sideEffects": false, "files": [ "dist", "index.d.ts", "jsx-dev-runtime.js", "jsx-runtime.js" ], "scripts": { "prebuild": "rimraf dist", "build": "rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json", "lint": "xo", "fix": "xo --fix && prettier --ignore-path .gitignore --write .", "prepublishOnly": "npm run build", "test": "jest", "test:watch": "npm test -- --watch", "test:coverage": "npm test -- --coverage" }, "engines": { "node": ">=10" }, "dependencies": { "@babel/runtime-corejs3": "^7.19.0", "core-js": "^3.25.1", "htm": "^3.1.1", "svelte-fragment-component": "^1.2.0", "svelte-hyperscript": "^1.2.1" }, "peerDependencies": { "svelte": "3.x" }, "devDependencies": { "@babel/core": "^7.19.0", "@babel/plugin-transform-runtime": "^7.18.10", "@babel/preset-env": "^7.19.0", "@jest/globals": "^29.0.3", "@rollup/plugin-babel": "^5.3.1", "@rollup/plugin-commonjs": "^22.0.2", "@rollup/plugin-node-resolve": "^14.0.1", "@testing-library/jest-dom": "^5.16.5", "@testing-library/svelte": "^3.2.1", "babel-jest": "^29.0.3", "eslint": "^8.23.0", "eslint-plugin-jest": "^27.0.4", "eslint-plugin-jest-dom": "^4.0.2", "eslint-plugin-testing-library": "^5.6.3", "husky": "^4.2.5", "jest": "^26.6.3", "jest-environment-jsdom-sixteen": "^1.0.3", "lint-staged": "^13.0.3", "prettier": "^2.7.1", "rimraf": "^3.0.2", "rollup": "^2.79.0", "rollup-plugin-node-externals": "^5.0.0", "rollup-plugin-svelte": "^7.1.0", "rollup-plugin-terser": "^7.0.2", "svelte": "^3.50.1", "svelte-jester": "^1.0.6", "xo": "^0.52.3" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.js": "xo --fix", "*.{js,css,json,md,svelte,yml,yaml}": "prettier --ignore-path .gitignore --write" } }