54 lines
1.7 KiB
JSON
54 lines
1.7 KiB
JSON
{
|
|
"name": "@woocommerce/customer-effort-score",
|
|
"version": "1.1.0",
|
|
"description": "WooCommerce utility to measure user effort.",
|
|
"author": "Automattic",
|
|
"license": "GPL-3.0-or-later",
|
|
"keywords": [
|
|
"wordpress",
|
|
"woocommerce"
|
|
],
|
|
"homepage": "https://github.com/woocommerce/woocommerce-admin/tree/main/packages/customer-effort-score/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",
|
|
"dependencies": {
|
|
"@woocommerce/experimental": "file:../experimental",
|
|
"@wordpress/components": "^11.1.1",
|
|
"@wordpress/compose": "^3.22.0",
|
|
"@wordpress/data": "^4.27.3",
|
|
"@wordpress/element": "2.19.0",
|
|
"@wordpress/i18n": "3.17.0",
|
|
"@wordpress/notices": "^2.11.0",
|
|
"classnames": "2.3.1",
|
|
"prop-types": "15.7.2",
|
|
"react-transition-group": "4.4.1"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "11.2.7",
|
|
"@types/wordpress__components": "9.8.6",
|
|
"concurrently": "5.3.0"
|
|
},
|
|
"scripts": {
|
|
"clean": "npx rimraf build build-*",
|
|
"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",
|
|
"start": "concurrently \"tsc --build --watch\" \"node ../../bin/packages/watch.js ./src\"",
|
|
"prepack": "npm run clean && npm run build",
|
|
"test": "lerna run build && npm run test:nobuild",
|
|
"test:nobuild": "jest --config ./jest.config.json",
|
|
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
|
|
}
|
|
}
|