-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.85 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
{
"name": "codeb-feature-flags",
"version": "0.3.2",
"description": "Allows developers to enable / disable features based on flags.",
"license": "ISC",
"author": "Mohan Raj <https://mohanraj.dev>",
"scripts": {
"build": "wp-scripts build",
"lint:css": "wp-scripts lint-style",
"lint:css:fix": "npm run lint:css -- --fix",
"lint:js": "wp-scripts lint-js",
"lint:js:fix": "wp-scripts lint-js --fix",
"prepare": "husky",
"start": "wp-scripts start",
"test:e2e": "wp-scripts test-playwright",
"test:e2e:debug": "wp-scripts test-playwright --ui",
"test:js": "wp-scripts test-unit-js",
"test:js:update": "wp-scripts test-unit-js --updateSnapshot",
"test:performance": "wp-scripts test-playwright --config tests/performance/playwright.config.ts",
"test:performance:merge-reports": "playwright merge-reports --reporter tests/performance/config/performance-reporter.ts ./blob-report",
"test:performance:results": "node tests/performance/cli/results.js",
"test:watch": "wp-scripts test-unit-js --watch",
"version:major": "node ./scripts/version major",
"version:minor": "node ./scripts/version minor",
"version:patch": "node ./scripts/version patch",
"wp-env": "wp-env start",
"wp-env:coverage": "wp-env start --xdebug=coverage",
"php:unit": "wp-env run --env-cwd='wp-content/plugins/feature-flags' tests-wordpress composer test:unit",
"php:integration": "wp-env run tests-wordpress --env-cwd=wp-content/plugins/feature-flags composer test:integration",
"php:multisite": "wp-env run tests-wordpress --env-cwd=wp-content/plugins/feature-flags composer test:multisite"
},
"dependencies": {
"@testing-library/user-event": "^14.5.2",
"@types/react-highlight": "^0.12.8",
"@wordpress/api-fetch": "^6.48.0",
"@wordpress/components": "^27.1.0",
"@wordpress/data": "^9.23.0",
"@wordpress/dom-ready": "^3.53.0",
"@wordpress/hooks": "^3.53.0",
"@wordpress/i18n": "^4.54.0",
"@wordpress/notices": "^4.21.0",
"dotenv": "^16.4.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-highlight": "^0.15.0",
"react-highlight-syntax": "^1.2.1",
"react-syntax-highlighter": "^15.4.3",
"react-test-renderer": "^18.2.0",
"ts-loader": "^9.5.1",
"typescript": "^5.4.2"
},
"devDependencies": {
"@playwright/test": "^1.42.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "14.2.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.5",
"@types/react-syntax-highlighter": "15.5.6",
"@types/wordpress__components": "^23.0.11",
"@wordpress/e2e-test-utils-playwright": "^0.22.0",
"@wordpress/env": "^9.7.0",
"@wordpress/eslint-plugin": "^17.10.0",
"@wordpress/scripts": "^27.5.0",
"eslint": "^8.57.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-import": "^2.29.1",
"husky": "^9.0.11",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.2.5"
},
"keywords": [
"feature flags",
"wordpress",
"plugin"
]
}