UNPKG

preact-island

Version:

🏝 Create your own slice of paradise on any website.

75 lines (74 loc) 2.01 kB
{ "name": "preact-island", "version": "1.2.0", "type": "module", "description": "🏝 Create your own slice of paradise on any website.", "source": "src/index.ts", "main": "./dist/index.cjs", "module": "./dist/index.module.js", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.modern.js", "require": "./dist/index.cjs", "umd": "./dist/index.umd.js" } }, "unpkg": "./dist/index.umd.js", "types": "./dist/index.d.ts", "scripts": { "build:netlify": "npm run build && cd ./example && npm install && npm run build", "build:netlify:react": "npm run build && cd ./example-react && npm install && npm run build", "build": "microbundle --sourcemap false", "dev:lib": "microbundle watch", "dev:example": "cd example && npm run dev", "dev": "run-p dev:*", "test": "jest" }, "repository": { "type": "git", "url": "git+https://github.com/mwood23/preact-island.git" }, "keywords": [ "preact", "habitat", "shopify", "cms widgets" ], "author": "Marcus Wood", "license": "MIT", "bugs": { "url": "https://github.com/mwood23/preact-island/issues" }, "homepage": "https://github.com/mwood23/preact-island#readme", "eslintConfig": { "parser": "@typescript-eslint/parser", "extends": [ "preact", "plugin:@typescript-eslint/recommended" ], "ignorePatterns": [ "build/" ] }, "dependencies": {}, "devDependencies": { "@types/jest": "^27.5.1", "@testing-library/jest-dom": "^5.16.4", "@testing-library/user-event": "^14.2.0", "microbundle": "^0.15.0", "eslint": "^8.15.0", "eslint-config-preact": "^1.3.0", "prettier": "^2.6.2", "jest": "^27.2.5", "preact": "^10.7.2", "preact-render-to-string": "^5.1.4", "npm-run-all": "^4.1.5", "@testing-library/preact": "^2.0.1", "jest-preset-preact": "^4.0.2", "typescript": "^4.6.4" }, "peerDependencies": { "preact": ">=10" } }