woocommerce/package.json

126 lines
3.9 KiB
JSON
Raw Normal View History

2015-07-10 21:34:15 +00:00
{
"name": "woocommerce",
"title": "WooCommerce",
2020-09-09 15:32:33 +00:00
"version": "4.5.1",
2016-07-05 22:52:16 +00:00
"homepage": "https://woocommerce.com/",
2015-07-10 21:34:15 +00:00
"repository": {
"type": "git",
"url": "https://github.com/woocommerce/woocommerce.git"
2015-07-10 21:34:15 +00:00
},
2015-07-11 03:33:12 +00:00
"license": "GPL-3.0+",
2015-07-10 21:34:15 +00:00
"main": "Gruntfile.js",
"config": {
"wp_org_slug": "woocommerce"
},
2017-02-28 20:00:12 +00:00
"scripts": {
"build": "./bin/build-zip.sh",
2020-08-19 18:57:06 +00:00
"build:core": "grunt && npm run makepot",
"build:dev": "npm run build:core && npm run build:packages",
"build-watch": "grunt watch",
"build:packages": "lerna run build",
2020-08-19 18:57:06 +00:00
"build:zip": "npm run build && composer install && npm run build:dev",
"build:assets": "grunt assets",
2018-11-06 20:11:52 +00:00
"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": "lerna publish from-package",
2019-01-17 18:46:11 +00:00
"git:update-hooks": "rm -r .git/hooks && mkdir -p .git/hooks && node ./node_modules/husky/husky.js install"
2017-02-28 20:00:12 +00:00
},
2015-07-10 21:34:15 +00:00
"devDependencies": {
2020-07-01 00:38:44 +00:00
"@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.1.0",
"@typescript-eslint/eslint-plugin": "3.1.0",
"@typescript-eslint/parser": "3.1.0",
"@woocommerce/e2e-environment": "file:tests/e2e/env",
"@woocommerce/model-factories": "file:tests/e2e/factories",
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.3",
"@wordpress/babel-preset-default": "3.0.2",
"@wordpress/eslint-plugin": "7.1.0",
2020-08-10 21:34:15 +00:00
"@woocommerce/e2e-utils": "file:tests/e2e/utils",
"autoprefixer": "9.8.6",
2020-03-01 00:58:43 +00:00
"babel-eslint": "10.1.0",
2019-01-08 11:07:32 +00:00
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
2020-03-01 01:36:22 +00:00
"commander": "4.1.1",
2020-04-01 01:48:55 +00:00
"config": "3.3.1",
2019-10-02 16:27:27 +00:00
"cross-env": "6.0.3",
2020-07-01 01:55:43 +00:00
"deasync": "0.1.20",
2019-12-20 21:37:35 +00:00
"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",
2020-08-01 02:57:34 +00:00
"grunt": "1.2.1",
"grunt-contrib-clean": "2.0.0",
2019-01-08 11:07:32 +00:00
"grunt-contrib-concat": "1.0.1",
2019-02-23 01:00:47 +00:00
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-cssmin": "3.0.0",
"grunt-contrib-uglify": "4.0.1",
2019-01-08 11:07:32 +00:00
"grunt-contrib-watch": "1.1.0",
"grunt-phpcs": "0.4.0",
"grunt-postcss": "0.9.0",
"grunt-rtlcss": "2.0.2",
2019-08-14 12:02:16 +00:00
"grunt-sass": "3.1.0",
"grunt-stylelint": "0.15.0",
"gruntify-eslint": "5.0.0",
2020-05-01 02:28:59 +00:00
"husky": "4.2.5",
2019-01-08 11:07:32 +00:00
"istanbul": "1.0.0-alpha.2",
2020-01-22 01:36:42 +00:00
"jest": "25.1.0",
"jest-puppeteer": "4.4.0",
2020-07-01 02:19:54 +00:00
"lerna": "3.22.1",
"lint-staged": "9.5.0",
2020-06-23 14:46:03 +00:00
"mocha": "7.2.0",
"node-sass": "4.13.1",
2020-09-05 13:43:24 +00:00
"prettier": "npm:wp-prettier@2.0.5",
"puppeteer": "2.0.0",
2020-02-18 19:31:04 +00:00
"puppeteer-utils": "github:Automattic/puppeteer-utils#0f3ec50",
2019-12-25 13:21:34 +00:00
"stylelint": "12.0.1",
"stylelint-config-wordpress": "16.0.0",
"typescript": "3.9.5",
"webpack": "4.41.6",
"webpack-cli": "3.3.11",
2020-09-05 13:43:24 +00:00
"wp-textdomain": "1.0.1"
2015-07-10 21:34:15 +00:00
},
"engines": {
"node": ">=10.15.0",
"npm": ">=6.4.1"
2018-05-21 14:28:32 +00:00
},
"husky": {
"hooks": {
"post-merge": "./bin/post-merge.sh",
"pre-commit": "lint-staged",
"pre-push": "./bin/pre-push.sh"
}
},
"lint-staged": {
2019-07-08 17:55:44 +00:00
"*.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"
],
"*.ts": [
"eslint --fix",
"git add"
]
},
"browserslist": [
"> 0.1%",
"ie 8",
"ie 9"
]
2015-07-10 21:34:15 +00:00
}