forked from woocommerce/woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.89 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "woocommerce",
"title": "WooCommerce",
"version": "3.5.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",
"build-watch": "grunt watch",
"lint:js": "eslint assets/js --ext=js",
"test": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --require babel-register --recursive",
"test:grep": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --require babel-register --grep ",
"test:single": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha --require babel-register",
"git:update-hooks": "rm -r .git/hooks && mkdir -p .git/hooks && node ./node_modules/husky/husky.js install"
},
"devDependencies": {
"autoprefixer": "9.5.1",
"babel": "6.23.0",
"babel-cli": "6.26.0",
"babel-eslint": "10.0.1",
"babel-plugin-add-module-exports": "1.0.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-stage-2": "6.24.1",
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"chromedriver": "2.46.0",
"config": "3.1.0",
"cross-env": "5.2.0",
"eslint": "5.16.0",
"eslint-config-wpcalypso": "4.0.1",
"eslint-plugin-wpcalypso": "4.0.2",
"grunt": "1.0.4",
"grunt-checktextdomain": "1.0.1",
"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-jshint": "2.1.0",
"grunt-contrib-uglify": "4.0.1",
"grunt-contrib-watch": "1.1.0",
"grunt-phpcs": "0.4.0",
"grunt-postcss": "0.9.0",
"grunt-prompt": "1.3.3",
"grunt-rtlcss": "2.0.1",
"grunt-sass": "3.0.2",
"grunt-shell": "3.0.1",
"grunt-stylelint": "0.10.1",
"grunt-wp-i18n": "1.0.3",
"husky": "1.3.1",
"istanbul": "1.0.0-alpha.2",
"lint-staged": "8.1.5",
"mocha": "6.1.3",
"node-sass": "4.11.0",
"prettier": "github:automattic/calypso-prettier#c56b4251",
"stylelint": "9.10.1",
"stylelint-config-wordpress": "13.1.0",
"wc-e2e-page-objects": "0.10.0"
},
"engines": {
"node": ">=10.15.0",
"npm": ">=6.4.1"
},
"dependencies": {
"@woocommerce/block-library": "2.0.0-rc3",
"github-contributors-list": "https://github.com/woocommerce/github-contributors-list/tarball/master"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.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"
]
},
"ignore": [
"*.min.js",
"*.css"
]
}
}