|
1 | 1 | { |
2 | | - "name": "codeb-feature-flags", |
3 | | - "version": "0.3.2", |
4 | | - "description": "Allows developers to enable / disable features based on flags.", |
5 | | - "license": "ISC", |
6 | | - "author": "Mohan Raj <https://mohanraj.dev>", |
7 | | - "scripts": { |
8 | | - "build": "wp-scripts build", |
9 | | - "lint:css": "wp-scripts lint-style", |
10 | | - "lint:css:fix": "npm run lint:css -- --fix", |
11 | | - "lint:js": "wp-scripts lint-js", |
12 | | - "lint:js:fix": "wp-scripts lint-js --fix", |
13 | | - "prepare": "husky", |
14 | | - "start": "wp-scripts start", |
15 | | - "test:e2e": "wp-scripts test-playwright", |
16 | | - "test:js": "wp-scripts test-unit-js", |
17 | | - "test:watch": "wp-scripts test-unit-js --watch", |
18 | | - "version:major": "node ./scripts/version major", |
19 | | - "version:minor": "node ./scripts/version minor", |
20 | | - "version:patch": "node ./scripts/version patch", |
21 | | - "wp-env": "wp-env start", |
22 | | - "wp-env:coverage": "wp-env start --xdebug=coverage", |
23 | | - "php:unit": "wp-env run --env-cwd='wp-content/plugins/feature-flags' tests-wordpress composer test:unit", |
24 | | - "php:integration": "wp-env run tests-wordpress --env-cwd=wp-content/plugins/feature-flags composer test:integration", |
25 | | - "php:multisite": "wp-env run tests-wordpress --env-cwd=wp-content/plugins/feature-flags composer test:multisite" |
26 | | - }, |
27 | | - "dependencies": { |
28 | | - "@testing-library/user-event": "^14.5.2", |
29 | | - "@wordpress/api-fetch": "^6.48.0", |
30 | | - "@wordpress/components": "^27.1.0", |
31 | | - "@wordpress/data": "^9.23.0", |
32 | | - "@wordpress/dom-ready": "^3.53.0", |
33 | | - "@wordpress/hooks": "^3.53.0", |
34 | | - "@wordpress/i18n": "^4.53.0", |
35 | | - "@wordpress/notices": "^4.21.0", |
36 | | - "dotenv": "^16.4.5", |
37 | | - "react": "18.2.0", |
38 | | - "react-dom": "18.2.0", |
39 | | - "react-syntax-highlighter": "^15.5.0", |
40 | | - "react-test-renderer": "^18.2.0", |
41 | | - "ts-loader": "^9.5.1", |
42 | | - "typescript": "^5.4.2" |
43 | | - }, |
44 | | - "devDependencies": { |
45 | | - "@playwright/test": "^1.42.1", |
46 | | - "@testing-library/jest-dom": "^6.4.2", |
47 | | - "@testing-library/react": "14.2.1", |
48 | | - "@types/jest": "^29.5.12", |
49 | | - "@types/node": "^20.11.25", |
50 | | - "@types/react-syntax-highlighter": "^15.5.11", |
51 | | - "@types/wordpress__components": "^23.0.11", |
52 | | - "@wordpress/e2e-test-utils-playwright": "^0.21.0", |
53 | | - "@wordpress/env": "^9.5.0", |
54 | | - "@wordpress/eslint-plugin": "^17.10.0", |
55 | | - "@wordpress/scripts": "^27.4.0", |
56 | | - "eslint": "^8.57.0", |
57 | | - "eslint-import-resolver-alias": "^1.1.2", |
58 | | - "eslint-plugin-cypress": "^2.15.1", |
59 | | - "eslint-plugin-import": "^2.29.1", |
60 | | - "husky": "^9.0.11", |
61 | | - "jest-environment-jsdom": "^29.7.0", |
62 | | - "prettier": "^3.2.5" |
63 | | - }, |
64 | | - "keywords": [ |
65 | | - "feature flags", |
66 | | - "wordpress", |
67 | | - "plugin" |
68 | | - ] |
| 2 | + "name": "codeb-feature-flags", |
| 3 | + "version": "0.3.2", |
| 4 | + "description": "Allows developers to enable / disable features based on flags.", |
| 5 | + "license": "ISC", |
| 6 | + "author": "Mohan Raj <https://mohanraj.dev>", |
| 7 | + "scripts": { |
| 8 | + "build": "wp-scripts build", |
| 9 | + "lint:css": "wp-scripts lint-style", |
| 10 | + "lint:css:fix": "npm run lint:css -- --fix", |
| 11 | + "lint:js": "wp-scripts lint-js", |
| 12 | + "lint:js:fix": "wp-scripts lint-js --fix", |
| 13 | + "prepare": "husky", |
| 14 | + "start": "wp-scripts start", |
| 15 | + "test:e2e": "wp-scripts test-playwright", |
| 16 | + "test:js": "wp-scripts test-unit-js", |
| 17 | + "test:performance": "wp-scripts test-playwright --config tests/performance/playwright.config.ts", |
| 18 | + "test:performance:merge-reports": "playwright merge-reports --reporter tests/performance/config/performance-reporter.ts ./blob-report", |
| 19 | + "test:performance:results": "node tests/performance/cli/results.js", |
| 20 | + "test:watch": "wp-scripts test-unit-js --watch", |
| 21 | + "version:major": "node ./scripts/version major", |
| 22 | + "version:minor": "node ./scripts/version minor", |
| 23 | + "version:patch": "node ./scripts/version patch", |
| 24 | + "wp-env": "wp-env start", |
| 25 | + "wp-env:coverage": "wp-env start --xdebug=coverage", |
| 26 | + "php:unit": "wp-env run --env-cwd='wp-content/plugins/feature-flags' tests-wordpress composer test:unit", |
| 27 | + "php:integration": "wp-env run tests-wordpress --env-cwd=wp-content/plugins/feature-flags composer test:integration", |
| 28 | + "php:multisite": "wp-env run tests-wordpress --env-cwd=wp-content/plugins/feature-flags composer test:multisite" |
| 29 | + }, |
| 30 | + "dependencies": { |
| 31 | + "@testing-library/user-event": "^14.5.2", |
| 32 | + "@wordpress/api-fetch": "^6.48.0", |
| 33 | + "@wordpress/components": "^27.1.0", |
| 34 | + "@wordpress/data": "^9.23.0", |
| 35 | + "@wordpress/dom-ready": "^3.53.0", |
| 36 | + "@wordpress/hooks": "^3.53.0", |
| 37 | + "@wordpress/i18n": "^4.53.0", |
| 38 | + "@wordpress/notices": "^4.21.0", |
| 39 | + "dotenv": "^16.4.5", |
| 40 | + "react": "18.2.0", |
| 41 | + "react-dom": "18.2.0", |
| 42 | + "react-syntax-highlighter": "^15.5.0", |
| 43 | + "react-test-renderer": "^18.2.0", |
| 44 | + "ts-loader": "^9.5.1", |
| 45 | + "typescript": "^5.4.2" |
| 46 | + }, |
| 47 | + "devDependencies": { |
| 48 | + "@playwright/test": "^1.42.1", |
| 49 | + "@testing-library/jest-dom": "^6.4.2", |
| 50 | + "@testing-library/react": "14.2.1", |
| 51 | + "@types/jest": "^29.5.12", |
| 52 | + "@types/node": "^20.11.25", |
| 53 | + "@types/react-syntax-highlighter": "^15.5.11", |
| 54 | + "@types/wordpress__components": "^23.0.11", |
| 55 | + "@wordpress/e2e-test-utils-playwright": "^0.21.0", |
| 56 | + "@wordpress/env": "^9.5.0", |
| 57 | + "@wordpress/eslint-plugin": "^17.10.0", |
| 58 | + "@wordpress/scripts": "^27.4.0", |
| 59 | + "eslint": "^8.57.0", |
| 60 | + "eslint-import-resolver-alias": "^1.1.2", |
| 61 | + "eslint-plugin-cypress": "^2.15.1", |
| 62 | + "eslint-plugin-import": "^2.29.1", |
| 63 | + "husky": "^9.0.11", |
| 64 | + "jest-environment-jsdom": "^29.7.0", |
| 65 | + "prettier": "^3.2.5" |
| 66 | + }, |
| 67 | + "keywords": [ |
| 68 | + "feature flags", |
| 69 | + "wordpress", |
| 70 | + "plugin" |
| 71 | + ] |
69 | 72 | } |
0 commit comments