111 lines
3.4 KiB
JSON
111 lines
3.4 KiB
JSON
{
|
|
"name": "woocommerce",
|
|
"title": "WooCommerce",
|
|
"version": "4.4.0",
|
|
"homepage": "https://woocommerce.com/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
|
},
|
|
"license": "GPL-3.0+",
|
|
"main": "Gruntfile.js",
|
|
"scripts": {
|
|
"build": "grunt && npm run makepot && npm run build:packages",
|
|
"build-watch": "grunt watch",
|
|
"build:packages": "node ./tests/e2e/bin/build.js",
|
|
"build:zip": "./bin/build-zip.sh",
|
|
"lint:js": "eslint assets/js --ext=js",
|
|
"docker:up": "npm explore @woocommerce/e2e-environment -- npm run docker:up",
|
|
"docker:down": "npm explore @woocommerce/e2e-environment -- npm run docker:down",
|
|
"test:e2e": "npm explore @woocommerce/e2e-environment -- npm run test:e2e",
|
|
"test:e2e-dev": "npm explore @woocommerce/e2e-environment -- npm run test:e2e-dev",
|
|
"makepot": "composer run-script makepot",
|
|
"packages:fix:textdomain": "node ./bin/package-update-textdomain.js",
|
|
"publish-packages": "npm run build:packages && lerna publish from-package",
|
|
"git:update-hooks": "rm -r .git/hooks && mkdir -p .git/hooks && node ./node_modules/husky/husky.js install"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.10.4",
|
|
"@babel/core": "7.10.4",
|
|
"@babel/polyfill": "7.10.4",
|
|
"@babel/preset-env": "7.10.4",
|
|
"@babel/register": "7.10.4",
|
|
"@jest/test-sequencer": "^25.0.0",
|
|
"@woocommerce/e2e-environment": "file:tests/e2e/env",
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.3",
|
|
"@wordpress/babel-preset-default": "3.0.2",
|
|
"@wordpress/e2e-test-utils": "4.6.0",
|
|
"autoprefixer": "9.8.4",
|
|
"babel-eslint": "10.1.0",
|
|
"chai": "4.2.0",
|
|
"chai-as-promised": "7.1.1",
|
|
"commander": "4.1.1",
|
|
"config": "3.3.1",
|
|
"cross-env": "6.0.3",
|
|
"deasync": "0.1.20",
|
|
"eslint": "6.8.0",
|
|
"eslint-config-wpcalypso": "5.0.0",
|
|
"eslint-plugin-jest": "23.19.0",
|
|
"github-contributors-list": "https://github.com/woocommerce/github-contributors-list/tarball/master",
|
|
"grunt": "1.1.0",
|
|
"grunt-contrib-clean": "2.0.0",
|
|
"grunt-contrib-concat": "1.0.1",
|
|
"grunt-contrib-copy": "1.0.0",
|
|
"grunt-contrib-cssmin": "3.0.0",
|
|
"grunt-contrib-uglify": "4.0.1",
|
|
"grunt-contrib-watch": "1.1.0",
|
|
"grunt-phpcs": "0.4.0",
|
|
"grunt-postcss": "0.9.0",
|
|
"grunt-rtlcss": "2.0.2",
|
|
"grunt-sass": "3.1.0",
|
|
"grunt-stylelint": "0.14.0",
|
|
"gruntify-eslint": "5.0.0",
|
|
"husky": "4.2.5",
|
|
"istanbul": "1.0.0-alpha.2",
|
|
"jest": "25.1.0",
|
|
"jest-puppeteer": "4.4.0",
|
|
"lerna": "3.22.1",
|
|
"lint-staged": "9.5.0",
|
|
"mocha": "7.2.0",
|
|
"node-sass": "4.13.0",
|
|
"prettier": "github:automattic/calypso-prettier#c56b4251",
|
|
"puppeteer": "2.0.0",
|
|
"puppeteer-utils": "github:Automattic/puppeteer-utils#0f3ec50",
|
|
"stylelint": "12.0.1",
|
|
"stylelint-config-wordpress": "16.0.0",
|
|
"webpack": "4.41.6",
|
|
"webpack-cli": "3.3.11",
|
|
"wp-textdomain": "^1.0.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.15.0",
|
|
"npm": ">=6.4.1"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"post-merge": "./bin/post-merge.sh",
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "./bin/pre-push.sh"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.php": [
|
|
"php -d display_errors=1 -l",
|
|
"composer run-script phpcs-pre-commit"
|
|
],
|
|
"*.scss": [
|
|
"stylelint --syntax=scss --fix",
|
|
"git add"
|
|
],
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"browserslist": [
|
|
"> 0.1%",
|
|
"ie 8",
|
|
"ie 9"
|
|
]
|
|
}
|