UNPKG

@equinor/esv-intersection

Version:

Intersection component package with testing and automatic documentation.

93 lines (92 loc) 2.52 kB
{ "name": "@equinor/esv-intersection", "version": "4.1.0", "description": "Intersection component package with testing and automatic documentation.", "type": "module", "module": "dist/index.mjs", "main": "dist/index.cjs", "types": "dist/index.d.ts", "exports": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs", "browser": "./dist/index.umd.js" }, "files": [ "dist/*", "src/*", "!test/*" ], "scripts": { "start": "vite build --watch", "prebuild": "rimraf dist", "build": "vite build", "lint:eslint": "eslint --ext .js,.jsx,.ts,.tsx src test", "lint:tsc": "tsc -b", "lint": "npm run lint:tsc && npm run lint:eslint", "test": "vitest", "test:watch": "vitest --watch", "predocs": "rimraf docs_out", "docs": "typedoc --out docs_out src", "postdocs": "copyfiles images/* docs_out && copyfiles .nojekyll docs_out", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "prepare": "husky" }, "lint-staged": { "*": "prettier --write --ignore-unknown" }, "repository": { "type": "git", "url": "git+https://github.com/equinor/esv-intersection.git" }, "keywords": [ "videx", "heappurple", "intersection", "typescript" ], "license": "MIT", "bugs": { "url": "https://github.com/equinor/esv-intersection/issues" }, "homepage": "https://github.com/equinor/esv-intersection#readme", "devDependencies": { "@storybook/addon-docs": "^9.1.17", "@storybook/html-vite": "^9.1.17", "@types/d3": "^7.4.3", "@types/mock-raf": "^1.0.6", "copyfiles": "^2.4.1", "eslint": "^9.39.2", "eslint-plugin-storybook": "^9.1.17", "husky": "^9.1.7", "jsdom": "^27.4.0", "lint-staged": "^15.5.2", "mock-raf": "^1.0.1", "pixi.js": "^8.16.0", "prettier": "^3.8.1", "rimraf": "^6.1.2", "storybook": "^9.1.17", "typedoc": "^0.28.15", "typescript": "^5.9.3", "typescript-eslint": "^8.51.0", "vite": "^6.4.1", "vite-plugin-dts": "^4.5.4", "vitest": "^3.2.4", "vitest-canvas-mock": "^0.3.3" }, "peerDependencies": { "pixi.js": "^8.16.0" }, "dependencies": { "@equinor/videx-math": "^1.1.4", "@equinor/videx-vector2": "^1.0.48", "curve-interpolator": "3.3.1", "d3-array": "^3.2.4", "d3-axis": "^3.0.0", "d3-scale": "^4.0.2", "d3-selection": "^3.0.0", "d3-shape": "^3.2.0", "d3-zoom": "^3.0.0" } }