189 lines
7.6 KiB
JSON
189 lines
7.6 KiB
JSON
{
|
|
"name": "@woocommerce/admin-library",
|
|
"version": "0.24.0",
|
|
"homepage": "https://woocommerce.github.io/woocommerce-admin/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com:woocommerce/woocommerce-admin.git"
|
|
},
|
|
"license": "GPL-3.0-or-later",
|
|
"author": "Automattic",
|
|
"files": [
|
|
"dist/**/*.css",
|
|
"dist/**/*.js",
|
|
"dist/feature-config-core.php",
|
|
"includes/class-wc-admin-loader.php",
|
|
"includes/features/**/*.php",
|
|
"languages/**/*.json",
|
|
"license.txt"
|
|
],
|
|
"scripts": {
|
|
"prebuild": "npm run -s install-if-deps-outdated && php ./bin/update-version.php",
|
|
"build": "npm run build:feature-config && npm run build:packages && cross-env NODE_ENV=production webpack",
|
|
"postbuild": "npm run -s i18n:pot && npm run -s i18n:build",
|
|
"build:feature-config": "php bin/generate-feature-config.php",
|
|
"build:packages": "node ./bin/packages/build.js",
|
|
"build:release": "./bin/build-plugin-zip.sh",
|
|
"clean": "rimraf ./dist ./packages/*/build ./packages/*/build-module ./packages/*/build-style",
|
|
"predev": "npm run -s install-if-deps-outdated && php ./bin/update-version.php",
|
|
"dev": "cross-env WC_ADMIN_PHASE=development npm run build:feature-config && cross-env WC_ADMIN_PHASE=development npm run build:packages && cross-env WC_ADMIN_PHASE=development webpack",
|
|
"docs": "node ./bin/generate-docs",
|
|
"i18n": "npm run -s i18n:js && npm run -s i18n:check && npm run -s i18n:pot && npm run -s i18n:build",
|
|
"i18n:build": "php bin/combine-pot-files.php languages/woocommerce-admin.po languages/woocommerce-admin.pot",
|
|
"i18n:check": "grunt checktextdomain",
|
|
"i18n:js": "npm run clean && cross-env NODE_ENV=production babel client packages -o /dev/null",
|
|
"i18n:json": "./bin/make-i18n-json.sh",
|
|
"i18n:pot": "grunt makepot",
|
|
"install-if-deps-outdated": "node bin/install-if-deps-outdated.js",
|
|
"install-if-no-packages": "node bin/install-if-no-packages.js",
|
|
"jest:update": "jest -u --config=tests/js/jest.config.json",
|
|
"lint": "npm run lint:js && npm run lint:css",
|
|
"lint:css": "stylelint '**/*.scss'",
|
|
"lint:css-fix": "stylelint '**/*.scss' --fix",
|
|
"lint:js": "npm run -s install-if-deps-outdated && eslint client --ext=js,jsx",
|
|
"lint:php": "./vendor/bin/phpcs --standard=phpcs.xml.dist $(git ls-files | grep .php$)",
|
|
"lint:php-fix": "./vendor/bin/phpcbf --standard=phpcs.xml.dist $(git ls-files | grep .php$)",
|
|
"prepack": "npm install && npm run lint && npm run test && cross-env WC_ADMIN_PHASE=core npm run build",
|
|
"publish-packages:check": "npm run build:packages && lerna updated",
|
|
"publish-packages:dev": "npm run build:packages && lerna publish from-package --npm-tag next",
|
|
"publish-packages:prod": "npm run build:packages && lerna publish from-package",
|
|
"postshrinkwrap": "replace --silent 'http://' 'https://' ./package-lock.json",
|
|
"prestart": "npm run -s install-if-deps-outdated && php ./bin/update-version.php",
|
|
"start": "cross-env WC_ADMIN_PHASE=development npm run build:packages && cross-env WC_ADMIN_PHASE=development npm run build:feature-config && concurrently \"cross-env WC_ADMIN_PHASE=development webpack --watch\" \"node ./bin/packages/watch.js\"",
|
|
"pretest": "npm run -s install-if-no-packages",
|
|
"test": "wp-scripts test-unit-js --config tests/js/jest.config.json",
|
|
"test:help": "wp-scripts test-unit-js --help",
|
|
"test:update-snapshots": "jest --updateSnapshot --config tests/js/jest.config.json",
|
|
"test:watch": "npm run test -- --watch",
|
|
"example": "webpack --config docs/examples/extensions/examples.config.js --watch",
|
|
"changelog": "node ./bin/changelog.js ",
|
|
"pre-release": "./bin/pre-release.sh",
|
|
"create-wc-extension": "node ./bin/starter-pack/starter-pack.js"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run -s install-if-no-packages && node bin/pre-commit-hook.js",
|
|
"pre-push": "npm run -s install-if-no-packages && node bin/pre-push-hook.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@fresh-data/framework": "0.6.1",
|
|
"@wordpress/api-fetch": "2.2.8",
|
|
"@wordpress/components": "8.5.0",
|
|
"@wordpress/data": "4.12.0",
|
|
"@wordpress/date": "3.7.0",
|
|
"@wordpress/dom": "2.7.0",
|
|
"@wordpress/element": "2.10.0",
|
|
"@wordpress/hooks": "2.6.0",
|
|
"@wordpress/html-entities": "2.5.0",
|
|
"@wordpress/i18n": "3.8.0",
|
|
"@wordpress/keycodes": "2.8.0",
|
|
"@wordpress/notices": "1.11.0",
|
|
"@wordpress/scripts": "3.4.0",
|
|
"@wordpress/url": "2.9.0",
|
|
"@wordpress/viewport": "2.11.0",
|
|
"browser-filesaver": "1.1.1",
|
|
"classnames": "2.2.6",
|
|
"core-js": "2.6.11",
|
|
"d3-axis": "1.0.12",
|
|
"d3-format": "1.4.3",
|
|
"d3-scale": "2.2.2",
|
|
"d3-scale-chromatic": "1.5.0",
|
|
"d3-selection": "1.4.1",
|
|
"d3-shape": "1.3.7",
|
|
"d3-time-format": "2.2.3",
|
|
"debug": "4.1.1",
|
|
"dompurify": "2.0.7",
|
|
"emoji-flags": "1.2.0",
|
|
"gridicons": "3.3.1",
|
|
"history": "4.10.1",
|
|
"interpolate-components": "1.1.1",
|
|
"marked": "0.8.0",
|
|
"memoize-one": "5.1.1",
|
|
"prismjs": "1.19.0",
|
|
"qs": "6.9.1",
|
|
"react-click-outside": "3.0.1",
|
|
"react-dates": "17.2.0",
|
|
"react-router-dom": "5.1.2",
|
|
"react-transition-group": "2.9.0",
|
|
"react-visibility-sensor": "5.1.1",
|
|
"redux": "4.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@automattic/color-studio": "2.2.0",
|
|
"@babel/cli": "7.8.3",
|
|
"@babel/core": "7.8.3",
|
|
"@babel/plugin-transform-async-to-generator": "7.8.3",
|
|
"@babel/plugin-transform-react-jsx": "7.8.3",
|
|
"@babel/runtime-corejs2": "7.8.3",
|
|
"@octokit/rest": "16.37.0",
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.3",
|
|
"@wordpress/babel-plugin-makepot": "2.1.3",
|
|
"@wordpress/babel-preset-default": "3.0.2",
|
|
"@wordpress/base-styles": "1.2.0",
|
|
"@wordpress/browserslist-config": "2.6.0",
|
|
"@wordpress/custom-templated-path-webpack-plugin": "1.5.0",
|
|
"@wordpress/jest-preset-default": "5.3.1",
|
|
"@wordpress/postcss-themes": "1.0.5",
|
|
"ast-types": "0.13.2",
|
|
"autoprefixer": "9.7.4",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-eslint": "10.0.3",
|
|
"babel-loader": "8.0.6",
|
|
"babel-plugin-transform-class-properties": "6.24.1",
|
|
"babel-plugin-transform-es2015-template-literals": "6.22.0",
|
|
"chalk": "3.0.0",
|
|
"concurrently": "5.0.2",
|
|
"copy-webpack-plugin": "5.1.1",
|
|
"cross-env": "6.0.3",
|
|
"css-loader": "3.4.2",
|
|
"deasync": "0.1.19",
|
|
"deep-freeze": "0.0.1",
|
|
"docsify-cli": "4.4.0",
|
|
"enzyme-adapter-react-16": "1.15.2",
|
|
"eslint": "6.8.0",
|
|
"eslint-config-wpcalypso": "4.0.1",
|
|
"eslint-loader": "2.2.1",
|
|
"eslint-plugin-jest": "22.21.0",
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
"eslint-plugin-react": "7.18.0",
|
|
"eslint-plugin-wpcalypso": "4.1.0",
|
|
"fs-extra": "8.1.0",
|
|
"grunt": "1.0.4",
|
|
"grunt-checktextdomain": "1.0.1",
|
|
"grunt-wp-i18n": "1.0.3",
|
|
"husky": "2.7.0",
|
|
"lerna": "3.20.2",
|
|
"locutus": "2.0.11",
|
|
"mini-css-extract-plugin": "0.9.0",
|
|
"node-sass": "4.13.0",
|
|
"node-watch": "0.6.3",
|
|
"postcss-color-function": "4.1.0",
|
|
"postcss-loader": "3.0.0",
|
|
"prettier": "github:automattic/calypso-prettier#c56b4251",
|
|
"promptly": "3.0.3",
|
|
"prop-types": "15.7.2",
|
|
"raw-loader": "1.0.0",
|
|
"react-docgen": "2.21.0",
|
|
"readline-sync": "1.4.10",
|
|
"recast": "0.18.5",
|
|
"replace": "1.1.5",
|
|
"request-promise": "4.2.5",
|
|
"rimraf": "2.7.1",
|
|
"rtlcss": "2.4.1",
|
|
"sass-loader": "7.3.1",
|
|
"style-loader": "0.23.1",
|
|
"stylelint": "9.10.1",
|
|
"stylelint-config-wordpress": "13.1.0",
|
|
"url-loader": "1.1.2",
|
|
"webpack": "4.41.5",
|
|
"webpack-cli": "3.3.10",
|
|
"webpack-fix-style-only-entries": "0.4.0",
|
|
"webpack-rtl-plugin": "2.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0.0",
|
|
"npm": ">=6.0.0"
|
|
}
|
|
}
|