-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.93 KB
/
package.json
File metadata and controls
53 lines (53 loc) · 1.93 KB
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
{
"name": "ableplayer-wordpress",
"version": "2.3.0",
"private": true,
"description": "Able Player plugin for WordPress",
"author": "Joe Dolson",
"license": "MIT",
"keywords": [
"media",
"audio",
"video",
"html5"
],
"homepage": "https://github.com/ableplayer/ableplayer-wordpress",
"repository": "git+https://github.com/ableplayer/ableplayer-wordpress.git",
"bugs": {
"url": "https://github.com/ableplayer/ableplayer-wordpress/issues"
},
"engines": {
"node": ">=10.0.0",
"npm": ">=6.9.0"
},
"devDependencies": {
"@wordpress/env": "^10.28",
"jsdoc": "~3.6.3",
"wp-hookdoc": "^0.2.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"prettier": "^2.8.4",
"esbuild": "^0.25.0"
},
"scripts": {
"presetup": "find .scripts -type f -exec chmod +x {} \\;",
"start": "esbuild admin.min=src/assets/js/admin.js media.min=src/assets/js/media.js --bundle --outdir=src/assets/js --target=chrome58,firefox57,safari11,edge18 --watch --sourcemap",
"build:js": "esbuild admin.min=src/assets/js/admin.js media.min=src/assets/js/media.js --bundle --outdir=src/assets/js --target=chrome58,firefox57,safari11,edge18 --minify",
"build:docs": "rm -rf docs/ && jsdoc -c hookdoc-conf.json",
"format-php": "wp-env run composer run-script format",
"prelint-php": "wp-env run composer 'install --no-interaction'",
"lint-php": "wp-env run composer run-script lint",
"pretest-php": "wp-env run composer 'install --no-interaction'",
"test-php": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/ableplayer-wordpress/phpunit.xml.dist --verbose'",
"lint-js": "eslint --fix './src/js'",
"wp-env": "wp-env"
},
"lint-staged": {
"./src/js/!(*min).js": ["eslint --fix", "prettier --write"],
"./src/css/*.css": "prettier --write"
},
"dependencies": {}
}