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" : " npx playwright test --reporter=list" ,
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
- "@wordpress/api-fetch" : " ^6.48.0" ,
29
- "@wordpress/components" : " ^27.0.0" ,
30
- "@wordpress/data" : " ^9.22.0" ,
31
- "@wordpress/dom-ready" : " ^3.52.0" ,
32
- "@wordpress/hooks" : " ^3.52.0" ,
33
- "@wordpress/i18n" : " ^4.52.0" ,
34
- "@wordpress/notices" : " ^4.20.0" ,
35
- "dotenv" : " ^16.4.5" ,
36
- "react" : " 18.2.0" ,
37
- "react-dom" : " 18.2.0" ,
38
- "react-syntax-highlighter" : " ^15.5.0" ,
39
- "react-test-renderer" : " ^18.2.0" ,
40
- "ts-loader" : " ^9.5.1" ,
41
- "typescript" : " ^5.3.3"
42
- },
43
- "devDependencies" : {
44
- "@playwright/test" : " ^1.42.0" ,
45
- "@testing-library/jest-dom" : " ^6.4.2" ,
46
- "@testing-library/react" : " 14.2.1" ,
47
- "@types/jest" : " ^29.5.12" ,
48
- "@types/node" : " ^20.11.20" ,
49
- "@types/react-syntax-highlighter" : " ^15.5.11" ,
50
- "@types/wordpress__components" : " ^23.0.11" ,
51
- "@wordpress/e2e-test-utils-playwright" : " ^0.20.0" ,
52
- "@wordpress/env" : " ^9.4.0" ,
53
- "@wordpress/eslint-plugin" : " ^17.9.0" ,
54
- "@wordpress/scripts" : " ^27.3.0" ,
55
- "eslint" : " ^8.57.0" ,
56
- "eslint-import-resolver-alias" : " ^1.1.2" ,
57
- "eslint-plugin-cypress" : " ^2.15.1" ,
58
- "eslint-plugin-import" : " ^2.29.1" ,
59
- "husky" : " ^9.0.11" ,
60
- "jest-environment-jsdom" : " ^29.7.0" ,
61
- "prettier" : " ^3.2.5"
62
- },
63
- "keywords" : [
64
- " feature flags" ,
65
- " wordpress" ,
66
- " plugin"
67
- ]
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" : " npx playwright test --reporter=list" ,
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
+ "@wordpress/api-fetch" : " ^6.48.0" ,
29
+ "@wordpress/components" : " ^27.0.0" ,
30
+ "@wordpress/data" : " ^9.22.0" ,
31
+ "@wordpress/dom-ready" : " ^3.52.0" ,
32
+ "@wordpress/hooks" : " ^3.52.0" ,
33
+ "@wordpress/i18n" : " ^4.52.0" ,
34
+ "@wordpress/notices" : " ^4.20.0" ,
35
+ "dotenv" : " ^16.4.5" ,
36
+ "react" : " 18.2.0" ,
37
+ "react-dom" : " 18.2.0" ,
38
+ "react-syntax-highlighter" : " ^15.5.0" ,
39
+ "react-test-renderer" : " ^18.2.0" ,
40
+ "ts-loader" : " ^9.5.1" ,
41
+ "typescript" : " ^5.3.3"
42
+ },
43
+ "devDependencies" : {
44
+ "@playwright/test" : " ^1.42.0" ,
45
+ "@testing-library/jest-dom" : " ^6.4.2" ,
46
+ "@testing-library/react" : " 14.2.1" ,
47
+ "@types/jest" : " ^29.5.12" ,
48
+ "@types/node" : " ^20.11.20" ,
49
+ "@types/react-syntax-highlighter" : " ^15.5.11" ,
50
+ "@types/wordpress__components" : " ^23.0.11" ,
51
+ "@wordpress/e2e-test-utils-playwright" : " ^0.20.0" ,
52
+ "@wordpress/env" : " ^9.4.0" ,
53
+ "@wordpress/eslint-plugin" : " ^17.9.0" ,
54
+ "@wordpress/scripts" : " ^27.3.0" ,
55
+ "eslint" : " ^8.57.0" ,
56
+ "eslint-import-resolver-alias" : " ^1.1.2" ,
57
+ "eslint-plugin-cypress" : " ^2.15.1" ,
58
+ "eslint-plugin-import" : " ^2.29.1" ,
59
+ "husky" : " ^9.0.11" ,
60
+ "jest-environment-jsdom" : " ^29.7.0" ,
61
+ "prettier" : " ^3.2.5"
62
+ },
63
+ "keywords" : [
64
+ " feature flags" ,
65
+ " wordpress" ,
66
+ " plugin"
67
+ ]
68
+ }
0 commit comments