UNPKG

shadow-dom-testing-library

Version:

An extension of DOM-testing-library to provide hooks into the shadow dom

79 lines (78 loc) 2.62 kB
{ "name": "shadow-dom-testing-library", "version": "1.12.0", "description": "An extension of DOM-testing-library to provide hooks into the shadow dom", "type": "module", "source": "src/index.ts", "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "engines": { "node": ">= 14", "npm": ">= 7" }, "scripts": { "test": "vitest run", "format": "prettier ./src ./__tests__ ./README.md --write", "check": "prettier ./src ./__tests__ ./README.md --check", "test:watch": "vitest", "test:ci": "npm run build && npm run test && npm run jest", "jest": "jest", "jest-preview": "jest-preview", "build": "tsup src/index.ts --format esm,cjs --clean --sourcemap --minify --metafile --dts", "start": "tsup src/index.ts --format esm,cjs --watch --clean --onSuccess \"echo 'Build Success!!'\"", "clean": "rm -rf dist", "deploy": "npm run build && standard-version --release-as", "deploy:beta": "npm run build && standard-version --prerelease beta", "deploy:patch": "npm run build && standard-version --release-as patch", "deploy:minor": "npm run build && standard-version --release-as minor", "deploy:major": "npm run build && standard-version --release-as major", "push": "git push --follow-tags origin main && npm publish" }, "files": [ "dist", "src" ], "keywords": [ "dom-testing-library", "testing", "shadowdom", "shadow-dom", "web-components", "webcomponents" ], "author": "Konnor Rogers", "license": "MIT", "homepage": "https://github.com/konnorrogers/shadow-dom-testing-library", "url": "https://github.com/konnorrogers/shadow-dom-testing-library/issues", "repository": "github:konnorrogers/shadow-dom-testing-library", "peerDependencies": { "@testing-library/dom": ">= 8" }, "devDependencies": { "@open-wc/testing-helpers": "^2.1.2", "@testing-library/dom": ">= 8", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.3.0", "@types/jest": "^28.1.4", "@types/node": "^18.0.3", "@types/react": "^18.0.15", "@types/react-dom": "^18.0.6", "@vitejs/plugin-react": "^1.3.2", "identity-obj-proxy": "^3.0.0", "jest": "^28.1.2", "jest-environment-jsdom": "^28.1.2", "jest-preview": "^0.2.6", "jsdom": "^20.0.2", "prettier": "^3.1.1", "react": "^18.2.0", "react-dom": "^18.2.0", "standard-version": "^9.5.0", "ts-jest": "^28.0.5", "tslib": "^2.4.0", "tsup": "^6.1.3", "typescript": "^4.7.4", "vite": "^3.2.1", "vitest": "^0.17.1" } }