suomifi-ui-components
Version:
Suomi.fi UI component library
180 lines (179 loc) • 5.71 kB
JSON
{
"name": "suomifi-ui-components",
"version": "18.0.0",
"description": "Suomi.fi UI component library",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist",
"README.md"
],
"sideEffects": false,
"engines": {
"node": ">=14.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vrk-kpa/suomifi-ui-components.git"
},
"author": "Joonas Kallunki <jkallunki@gmail.com> (https://jkallunki.net/)",
"contributors": [
"Aappo Ålander",
"Joonas Kaski",
"Sami Korpela",
"Valtteri Laukkanen",
"Ilkka Pättikangas",
"Mikko Riippi",
"Jenni Unkuri"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/vrk-kpa/suomifi-ui-components/issues"
},
"homepage": "https://github.com/vrk-kpa/suomifi-ui-components#readme",
"keywords": [
"react",
"suomifi",
"styleguide",
"styled-components",
"typescript",
"UI",
"accessibility",
"a11y"
],
"scripts": {
"prepare": "npm-run-all husky:install build",
"husky:install": "husky install",
"pre-commit": "lint-staged",
"pre-push": "npm run validate",
"start": "npm run styleguide",
"start:withaxe": "cross-env AXE=\"true\" npm run styleguidist server",
"test": "jest test src --passWithNoTests",
"test:updatesnapshots": "jest test --u",
"lint": "run-p lint:eslint lint:stylelint",
"lint:eslint": "eslint src",
"lint:stylelint": "stylelint \"./src/**/*.{ts,tsx}\"",
"prettier": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"prettier:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"validate": "run-p test lint prettier:check",
"build": "npm-run-all build:clean build:rollup",
"build:clean": "rimraf ./dist",
"build:rollup": "rollup -c",
"analyze": "ANALYZE=true npm run build",
"styleguide": "styleguidist server",
"styleguide:build": "cross-env BASE_PATH=/suomifi-ui-components styleguidist build",
"styleguide:assets": "node styleguide.add.version.js && cross-env BUILD_TYPE=ASSETS BASE_PATH=/suomifi-ui-components styleguidist build && node styleguide.move.build.js",
"deploy": "gh-pages -d styleguide -m \"[skip ci] Updates\"",
"deploy-dev": "gh-pages -d styleguide -e dev -m \"[skip ci] Updates\""
},
"devDependencies": {
"@axe-core/react": "4.7.3",
"@babel/core": "^7.22.10",
"@babel/plugin-transform-runtime": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.0",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-typescript": "12.1.2",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.3",
"@types/jest-axe": "3.5.5",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/styled-components": "5.1.26",
"@types/warning": "3.0.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"autoprefixer": "10.4.14",
"babel-jest": "29.6.2",
"babel-plugin-styled-components": "2.1.4",
"clipboard-copy": "4.0.1",
"copyfiles": "2.4.1",
"cross-env": "7.0.3",
"css-loader": "6.8.1",
"cssnano": "6.0.1",
"eslint": "8.46.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.8.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-import": "2.28.0",
"eslint-plugin-jest": "26.6.0",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-react": "7.33.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-tree-shaking": "1.10.0",
"fs-extra": "11.1.1",
"gh-pages": "5.0.0",
"husky": "8.0.3",
"jest": "29.6.2",
"jest-axe": "8.0.0",
"jest-environment-jsdom": "29.6.2",
"jest-styled-components": "7.1.1",
"lint-staged": "13.2.3",
"npm-run-all": "4.1.5",
"postcss": "8.4.31",
"postcss-import": "15.1.0",
"postcss-styled-syntax": "0.4.0",
"prettier": "3.0.1",
"prettier-eslint": "15.0.1",
"prop-types": "15.8.1",
"react": "18.3.1",
"react-docgen": "5.4.3",
"react-docgen-typescript": "2.2.2",
"react-dom": "18.3.1",
"react-is": "17.0.2",
"react-styleguidist": "13.1.3",
"rimraf": "5.0.1",
"rollup": "4.24.0",
"rollup-plugin-bundle-stats": "4.21.6",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-progress": "1.1.2",
"sass": "1.64.2",
"sass-loader": "13.3.2",
"style-loader": "3.3.3",
"styled-components": "6.1.13",
"stylelint": "15.10.2",
"stylelint-config-recommended": "13.0.0",
"ts-jest": "29.1.1",
"ts-loader": "9.4.3",
"tslib": "2.6.1",
"typescript": "4.9.5",
"util": "0.12.5",
"webpack": "5.95.0"
},
"dependencies": {
"@babel/runtime": "^7.23.5",
"@floating-ui/react-dom": "2.1.2",
"@types/react-modal": "3.16.3",
"classnames": "2.3.2",
"date-fns": "2.30.0",
"polished": "4.2.2",
"react-modal": "3.16.3",
"suomifi-design-tokens": "7.0.0",
"suomifi-icons": "7.9.0"
},
"peerDependencies": {
"@types/warning": ">=3.0.0",
"react": ">=16.8.0",
"styled-components": ">=6.0.0"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": "prettier --check",
"src/**/*.{js,jsx,ts,tsx}": [
"eslint",
"stylelint"
]
},
"size-limit": [
{
"path": "dist/suomifi-ui-components.esm.js"
}
]
}