forked from Automattic/sensei
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.33 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
{
"name": "sensei-lms",
"version": "3.1.0",
"description": "Sensei LMS",
"author": "Automattic",
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress-plugin"
],
"homepage": "https://woocommerce.com/products/sensei/",
"repository": {
"type": "git",
"url": "https://github.com/Automattic/sensei.git"
},
"bugs": {
"url": "https://github.com/Automattic/sensei/issues"
},
"main": "gulpfile.js",
"dependencies": {
"@woocommerce/components": "4.0.0",
"@wordpress/api-fetch": "3.14.0",
"@wordpress/components": "9.4.1",
"@wordpress/i18n": "3.11.0",
"@wordpress/url": "2.14.0",
"interpolate-components": "1.1.1",
"select2": "4.0.5"
},
"devDependencies": {
"@automattic/calypso-build": "6.0.0",
"@testing-library/react": "10.0.3",
"@wordpress/babel-preset-default": "4.12.1",
"@wordpress/jest-preset-default": "6.0.0",
"@wordpress/scripts": "8.0.1",
"cross-env": "7.0.2",
"del": "5.1.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.11.0",
"gulp": "4.0.2",
"gulp-checktextdomain": "2.2.1",
"gulp-sort": "2.0.0",
"gulp-wp-pot": "2.4.2",
"gulp-zip": "4.2.0",
"husky": "4.2.5",
"jsdoc": "3.6.4",
"lint-staged": "10.2.4",
"prettier": "npm:[email protected]",
"wp-hookdoc": "0.2.0"
},
"scripts": {
"build": "cross-env NODE_ENV=production npx calypso-build",
"build:docs": "rm -rf hookdocs/ && jsdoc -c hookdoc-conf.json",
"format-js": "wp-scripts format-js",
"lint-css": "wp-scripts lint-style **/*.scss",
"lint-css:fix": "npm run lint-css -- --fix",
"lint-js": "wp-scripts lint-js --ext js,jsx assets",
"lint-js:fix": "npm run lint-js -- --fix",
"lint-pkg-json": "wp-scripts lint-pkg-json",
"package": "gulp package",
"run-phpcs": "./vendor/bin/phpcs --encoding=utf-8",
"start": "calypso-build --watch",
"test": "npm run test-php && npm run test-js",
"test-js": "wp-scripts test-unit-js --passWithNoTests",
"test-php": "./vendor/bin/phpunit"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "git update-index --again"
}
},
"lint-staged": {
"package.json": [
"npm run lint-pkg-json"
],
"*.{js,jsx}": [
"npm run format-js",
"wp-scripts lint-js"
],
"*.php": [
"scripts/linter-new-php"
]
}
}