woocommerce/plugins/woocommerce-admin/packages/components/package.json

95 lines
2.9 KiB
JSON

{
"name": "@woocommerce/components",
"version": "8.1.0",
"description": "UI components for WooCommerce.",
"author": "Automattic",
"license": "GPL-3.0-or-later",
"keywords": [
"wordpress",
"woocommerce",
"components"
],
"homepage": "https://github.com/woocommerce/woocommerce-admin/tree/main/packages/components/README.md",
"repository": {
"type": "git",
"url": "https://github.com/woocommerce/woocommerce-admin.git"
},
"bugs": {
"url": "https://github.com/woocommerce/woocommerce-admin/issues"
},
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": [
"build-style/**",
"src/**/*.scss"
],
"dependencies": {
"@storybook/addon-knobs": "^6.3.0",
"@woocommerce/csv-export": "file:../csv-export",
"@woocommerce/currency": "file:../currency",
"@woocommerce/data": "file:../data",
"@woocommerce/date": "file:../date",
"@woocommerce/navigation": "file:../navigation",
"@wordpress/api-fetch": "^3.21.5",
"@wordpress/components": "10.2.0",
"@wordpress/compose": "3.23.1",
"@wordpress/date": "3.13.0",
"@wordpress/deprecated": "^3.1.1",
"@wordpress/dom": "2.16.0",
"@wordpress/element": "2.19.0",
"@wordpress/html-entities": "2.10.0",
"@wordpress/i18n": "3.17.0",
"@wordpress/icons": "^2.10.3",
"@wordpress/keycodes": "2.18.0",
"@wordpress/url": "2.21.0",
"@wordpress/viewport": "2.24.0",
"classnames": "^2.3.1",
"core-js": "3.9.1",
"d3-axis": "1.0.12",
"d3-format": "1.4.5",
"d3-scale": "2.2.2",
"d3-scale-chromatic": "1.5.0",
"d3-selection": "1.4.2",
"d3-shape": "1.3.7",
"d3-time-format": "2.3.0",
"dompurify": "2.2.9",
"emoji-flags": "1.3.0",
"gridicons": "3.3.1",
"interpolate-components": "1.1.1",
"memoize-one": "5.1.1",
"moment": "2.29.1",
"prop-types": "15.7.2",
"react-dates": "^17.2.0",
"react-router-dom": "5.2.0",
"react-transition-group": "4.4.1"
},
"peerDependencies": {
"lodash": "^4.17.0"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@storybook/addon-console": "1.2.3",
"@storybook/react": "6.2.9",
"@testing-library/react": "11.2.7",
"@testing-library/user-event": "13.2.1",
"@woocommerce/wc-admin-settings": "file:../wc-admin-settings",
"@wordpress/scripts": "12.6.1",
"concurrently": "5.3.0"
},
"scripts": {
"build": "npm run build:js && npm run build:css",
"build:js": "tsc --build ./tsconfig.json ./tsconfig-cjs.json",
"build:css": "node ../../bin/packages/build.js src/style.scss",
"clean": "npx rimraf build build-*",
"prepack": "npm run clean && npm run build",
"start": "concurrently \"tsc --build --watch\" \"node ../../bin/packages/watch.js ./src\"",
"test": "lerna run build && npm run test:nobuild",
"test:nobuild": "jest --config ./jest.config.json",
"test:update-snapshots": "npm run test:nobuild --updateSnapshot",
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
}
}