-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
51 lines (51 loc) · 1.76 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
{
"name": "my-tickets",
"version": "2.0.8",
"private": true,
"description": "My Tickets WordPress plug-in.",
"author": "Joe Dolson",
"license": "GPL-2.0-or-later",
"keywords": [
"tickets",
"wordpress"
],
"homepage": "https://www.joedolson.com/my-tickets/",
"repository": "git+https://github.com/joedolson/my-tickets.git",
"bugs": {
"url": "https://github.com/joedolson/my-tickets/issues"
},
"engines": {
"node": ">=10.0.0",
"npm": ">=6.9.0"
},
"devDependencies": {
"@wordpress/env": "^5.7",
"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.17.10"
},
"scripts": {
"start": "esbuild jquery.public.min=src/js/jquery.public.js --bundle --outdir=src/js --target=chrome58,firefox57,safari11,edge16 --watch --sourcemap",
"build:js": "esbuild jquery.public.min=src/js/jquery.public.js --bundle --outdir=src/js --target=chrome58,firefox57,safari11,edge16 --minify",
"presetup": "find .scripts -type f -exec chmod +x {} \\;",
"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/my-tickets/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": {}
}