-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 3.38 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 3.38 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
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
{
"name": "tour-operator",
"version": "2.1.2",
"description": "Tour Operators for LSX",
"author": "LightSpeed",
"license": "ISC",
"keywords": [
"lsx",
"tours",
"safaris",
"accommodation"
],
"homepage": "https://touroperator.solutions/",
"repository": {
"type": "git",
"url": "git+https://github.com/lightspeedwp/tour-operator"
},
"bugs": {
"url": "https://github.com/lightspeedwp/tour-operator/issues"
},
"engines": {
"node": ">=24.11.0",
"npm": ">=10.0.0"
},
"main": "package-lock.json",
"dependencies": {
"classnames": "^2.5.1"
},
"devDependencies": {
"@babel/cli": "7.28.6",
"@babel/core": "7.29.7",
"@babel/preset-react": "^7.29.7",
"@wordpress/a11y": "4.47.0",
"@wordpress/babel-preset-default": "8.47.0",
"@wordpress/block-library": "9.47.0",
"@wordpress/blocks": "15.20.0",
"@wordpress/e2e-test-utils-playwright": "1.46.0",
"@wordpress/eslint-plugin": "25.2.0",
"@wordpress/i18n": "6.20.0",
"@wordpress/jest-preset-default": "12.46.0",
"@wordpress/npm-package-json-lint-config": "5.47.0",
"@wordpress/prettier-config": "4.47.0",
"@wordpress/scripts": "^32.3.0",
"@wordpress/stylelint-config": "^23.37.0",
"copy-webpack-plugin": "^14.0.0",
"eslint": "10.4.0",
"jest": "30.4.2",
"npm-package-json-lint": "10.4.0",
"prettier": "3.8.3",
"stylelint": "16.26.1",
"webpack-cli": "7.0.3",
"webpack-remove-empty-scripts": "^1.1.1"
},
"scripts": {
"test": "npm run test:php && npm run test:unit && npm run test:e2e",
"test:all": "npm run test:php:all && npm run test:unit && npm run test:e2e",
"test:php": "./vendor/bin/phpunit --no-configuration tests/php/TestSimpleFunctions.php",
"test:php:all": "./vendor/bin/phpunit",
"test:php:registration": "./vendor/bin/phpunit tests/php/TestRegistration.php",
"test:unit": "jest",
"test:unit:watch": "jest --watch",
"test:unit:coverage": "jest --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "playwright test --debug",
"test:e2e:plugin": "playwright test tests/e2e/plugin-activation.spec.js",
"start": "wp-scripts start",
"build": "wp-scripts build",
"build:pot": "wp i18n make-pot . languages/tour-operator.pot",
"build:mopo": "rm -R languages/tour-operator-en_EN.mo && cp languages/tour-operator.pot languages/tour-operator-en_EN.po && wp i18n make-mo languages",
"build:translate-US": "cp languages/tour-operator-en_EN.po languages/tour-operator-en_US.po && cp languages/tour-operator-en_EN.mo languages/tour-operator-en_US.mo",
"lint:js": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:js:fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix",
"lint:css": "stylelint 'src/**/*.{css,scss}'",
"lint:css:fix": "stylelint 'src/**/*.{css,scss}' --fix",
"lint:php": "composer phpcs",
"lint:php:fix": "composer phpcbf",
"lint:php:report": "composer phpcs:report",
"lint:pkg-json": "npmPkgJsonLint .",
"lint:yaml": "yamllint .",
"lint:yaml:workflows": "yamllint .github/workflows/",
"lint:all": "npm run lint:php && npm run lint:js && npm run lint:css && npm run lint:pkg-json && npm run lint:yaml:workflows",
"format": "npm run lint:php:fix && wp-scripts format",
"format:js": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
"generate-readme": "node .github/scripts/update-readme.js"
}
}