129 lines
3.9 KiB
JSON
129 lines
3.9 KiB
JSON
{
|
|
"name": "@reuters-graphics/graphics-components",
|
|
"version": "3.0.19",
|
|
"type": "module",
|
|
"private": false,
|
|
"homepage": "https://reuters-graphics.github.io/graphics-components",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/reuters-graphics/graphics-components.git"
|
|
},
|
|
"packageManager": "pnpm@9.13.2",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/",
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"start": "storybook dev -p 3000",
|
|
"lint": "eslint --fix",
|
|
"format": "prettier . --write",
|
|
"build": "rimraf ./dist && svelte-package -i ./src && publint",
|
|
"build:docs": "storybook build -o docs",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
"changeset:version": "changeset version",
|
|
"changeset:publish": "git add --all && changeset publish",
|
|
"knip": "knip",
|
|
"test": "vitest"
|
|
},
|
|
"license": "MIT",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": ">=20.18"
|
|
},
|
|
"peerDependencies": {
|
|
"svelte": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.29.2",
|
|
"@chromatic-com/storybook": "^3.2.6",
|
|
"@reuters-graphics/yaks-eslint": "^0.1.1",
|
|
"@reuters-graphics/yaks-prettier": "^0.1.1",
|
|
"@storybook/addon-a11y": "^8.6.12",
|
|
"@storybook/addon-essentials": "^8.6.12",
|
|
"@storybook/addon-interactions": "^8.6.12",
|
|
"@storybook/addon-svelte-csf": "5.0.0-next.28",
|
|
"@storybook/blocks": "^8.6.12",
|
|
"@storybook/components": "^8.6.12",
|
|
"@storybook/manager-api": "^8.6.12",
|
|
"@storybook/svelte": "^8.6.12",
|
|
"@storybook/sveltekit": "^8.6.12",
|
|
"@storybook/test": "^8.6.12",
|
|
"@storybook/theming": "^8.6.12",
|
|
"@sveltejs/package": "^2.3.11",
|
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
"@types/css": "^0.0.37",
|
|
"@types/eslint": "^9.6.1",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@types/google-publisher-tag": "^1.20250210.0",
|
|
"@types/gtag.js": "^0.0.12",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/mdx": "^2.0.13",
|
|
"@types/node": "^22.14.1",
|
|
"@types/prompts": "^2.4.9",
|
|
"@types/proper-url-join": "^2.1.5",
|
|
"@types/pym.js": "^1.3.2",
|
|
"@types/react": "^18.3.20",
|
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
"chromatic": "^11.28.2",
|
|
"css": "^3.0.0",
|
|
"css-color-converter": "^2.0.0",
|
|
"deep-object-diff": "^1.1.9",
|
|
"eslint": "^9.25.0",
|
|
"eslint-plugin-mdx": "^3.4.0",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-storybook": "^0.12.0",
|
|
"knip": "^5.50.5",
|
|
"mermaid": "^10.9.3",
|
|
"postcss": "^8.5.3",
|
|
"prettier": "^3.5.3",
|
|
"prettier-plugin-svelte": "^3.3.3",
|
|
"prism-themes": "^1.9.0",
|
|
"prop-types": "^15.8.1",
|
|
"publint": "^0.3.12",
|
|
"react": "^18.3.1",
|
|
"react-colorful": "^5.6.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-syntax-highlighter": "^15.6.1",
|
|
"rimraf": "^6.0.1",
|
|
"sass": "^1.86.3",
|
|
"storybook": "^8.6.12",
|
|
"svelte": "^5.28.1",
|
|
"svelte-check": "^4.1.6",
|
|
"typescript": "^5.8.3",
|
|
"vite": "^6.3.2"
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/free-regular-svg-icons": "^6.7.2",
|
|
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
|
"@reuters-graphics/svelte-markdown": "^0.0.3",
|
|
"@sveltejs/kit": "^2.0.0",
|
|
"dayjs": "^1.11.13",
|
|
"es-toolkit": "^1.35.0",
|
|
"journalize": "^2.6.0",
|
|
"mp4box": "^0.5.4",
|
|
"proper-url-join": "^2.1.2",
|
|
"pym.js": "^1.3.2",
|
|
"slugify": "^1.6.6",
|
|
"storybook-addon-rtl": "^1.1.0",
|
|
"svelte-fa": "^4.0.3",
|
|
"svelte-intersection-observer": "^1.0.0",
|
|
"ua-parser-js": "^2.0.3",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"svelte": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./scss/*": "./dist/scss/*"
|
|
},
|
|
"svelte": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"bugs": {
|
|
"url": "https://github.com/reuters-graphics/graphics-components/issues"
|
|
}
|
|
}
|