woocommerce/packages/js/ai/package.json

155 lines
4.0 KiB
JSON
Raw Normal View History

{
"name": "@woocommerce/ai",
"version": "0.1.0-beta.0",
"description": "Utilities for usage in AI features across WooCommerce.",
"author": "Automattic",
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress",
"woocommerce"
],
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/ai/README.md",
"repository": {
"type": "git",
"url": "https://github.com/woocommerce/woocommerce.git"
},
"bugs": {
"url": "https://github.com/woocommerce/woocommerce/issues"
},
"main": "build/index.js",
"module": "build-module/index.js",
"types": "build-types",
"react-native": "src/index",
"sideEffects": [
"build-style/**",
"src/**/*.scss"
],
"private": true,
2023-11-02 21:49:41 +00:00
"scripts": {
"build": "pnpm --if-present --filter=\"$npm_package_name...\" run build:project",
"build:project": "pnpm --if-present run /^build:project:.*$/",
"build:project:bundle": "wireit",
"build:project:cjs": "wireit",
"build:project:esm": "wireit",
"changelog": "composer install && composer exec -- changelogger",
"lint": "pnpm --if-present run '/^lint:lang:.*$/'",
"lint:fix": "pnpm --if-present run '/^lint:fix:lang:.*$/'",
"lint:fix:lang:js": "eslint src --fix",
"lint:lang:js": "eslint --output-file eslint_report.json --format json src",
"prepack": "pnpm run build",
"test": "pnpm --if-present run '/^test:lang:.*$/'",
"test:lang:js": "wireit",
"watch:build": "pnpm run build:project --watch"
},
"dependencies": {
"@wordpress/api-fetch": "wp-6.0",
"@wordpress/compose": "wp-6.0",
"@wordpress/core-data": "wp-6.0",
"@wordpress/element": "wp-6.0",
2023-12-09 15:12:20 +00:00
"classnames": "^2.3.2",
"debug": "^4.3.4",
"dompurify": "^2.4.7",
"prop-types": "^15.8.1",
"react-router-dom": "~6.3.0"
},
"devDependencies": {
2023-12-09 15:12:20 +00:00
"@babel/core": "^7.23.5",
"@babel/runtime": "^7.23.5",
"@testing-library/jest-dom": "5.16.2",
"@testing-library/react": "12.1.3",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "13.5.0",
2023-12-09 15:12:20 +00:00
"@types/debug": "^4.1.12",
"@types/dompurify": "^2.4.0",
"@types/jest": "^27.5.2",
"@types/react": "^17.0.71",
"@types/testing-library__jest-dom": "^5.14.9",
"@types/wordpress__core-data": "2.4.5",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/internal-js-tests": "workspace:*",
"@woocommerce/internal-style-build": "workspace:*",
"@wordpress/browserslist-config": "wp-6.0",
2023-12-09 15:12:20 +00:00
"concurrently": "^7.6.0",
"copy-webpack-plugin": "^9.1.0",
"css-loader": "^3.6.0",
2023-12-09 15:12:20 +00:00
"eslint": "^8.55.0",
"jest": "~27.5.1",
"jest-cli": "~27.5.1",
2023-12-09 15:12:20 +00:00
"mini-css-extract-plugin": "^2.7.6",
"postcss": "^8.4.32",
"postcss-loader": "^4.3.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hooks^8.0.1": "link:@testing-library/react-hooks^8.0.1",
"rimraf": "^3.0.2",
2023-12-09 15:12:20 +00:00
"sass-loader": "^10.5.0",
"ts-jest": "~29.1.1",
2023-12-09 15:12:20 +00:00
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-cli": "^3.3.12",
"webpack-rtl-plugin": "^2.0.0",
"wireit": "^0.14.1"
},
"peerDependencies": {
2023-12-09 15:16:39 +00:00
"@types/react": "^17.0.71",
"@wordpress/data": "wp-6.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
2023-11-02 21:49:41 +00:00
},
"wireit": {
"build:project:bundle": {
"command": "webpack",
"files": [
"webpack.config.js",
"src/**/*.scss"
],
"output": [
"build-style"
],
"dependencies": [
"dependencyOutputs"
]
},
"build:project:cjs": {
"command": "tsc --project tsconfig-cjs.json",
"files": [
"tsconfig-cjs.json",
"src/**/*.{js,jsx,ts,tsx}",
"typings/**/*.ts"
],
"output": [
"build"
],
"dependencies": [
"dependencyOutputs"
]
},
"build:project:esm": {
"command": "tsc --project tsconfig.json",
"files": [
"tsconfig.json",
"src/**/*.{js,jsx,ts,tsx}",
"typings/**/*.ts"
],
"output": [
"build-module",
"./build-types"
],
"dependencies": [
"dependencyOutputs"
]
},
"test:lang:js": {
2023-11-02 22:43:56 +00:00
"command": "jest --config ./jest.config.json --passWithNoTests",
2023-11-02 21:49:41 +00:00
"dependencies": [
"build:project"
]
},
"dependencyOutputs": {
"allowUsuallyExcludedPaths": true,
"files": [
"required"
]
}
}
2023-11-02 21:49:41 +00:00
}