forked from wpa11yday/conference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 2.31 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 2.31 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
54
{
"name": "wpa-conference",
"version": "1.0.0",
"private": true,
"description": "WP Accessibility Day Conference plug-in.",
"author": "Joe Dolson",
"license": "GPL-2.0-or-later",
"keywords": [
"calendar",
"wordpress"
],
"homepage": "https://wpaccessibility.day/",
"repository": "git+https://github.com/WP-Accessibility-Day/conference.git",
"bugs": {
"url": "https://github.com/WP-Accessibility-Day/conference/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 conference-time-zones-min=src/assets/js/conference-time-zones.js --bundle --outdir=src/assets/js --target=chrome58,firefox57,safari11,edge16 --watch --sourcemap",
"build:js": "esbuild conference-time-zones-min=src/assets/js/conference-time-zones.js --bundle --outdir=src/assets/js --target=chrome58,firefox57,safari11,edge16 --minify",
"start:blocks": "esbuild index-min=src/assets/js/blocks/index.js --loader:.js=jsx --bundle --outdir=src/assets/js/blocks --target=chrome58,firefox57,safari11,edge16 --watch --sourcemap",
"build:blocks": "esbuild index-min=src/assets/js/blocks/index.js --loader:.js=jsx --bundle --outdir=src/assets/js/blocks --target=chrome58,firefox57,safari11,edge16 --minify",
"presetup": "find .scripts -type f -exec chmod +x {} \\;",
"prepare": "./.scripts/prepare.sh",
"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/conference/phpunit.xml.dist --verbose'",
"lint-js": "eslint --fix './src/assets/js'",
"wp-env": "wp-env"
},
"lint-staged": {
"./src/assets/js/!(*min).js": ["eslint --fix", "prettier --write"],
"./src/assets/css/*.css": "prettier --write"
},
"dependencies": {}
}