| 1 |
{ |
| 2 |
"name": "@surecart/surecart", |
| 3 |
"private": true, |
| 4 |
"workspaces": [ |
| 5 |
"packages/*" |
| 6 |
], |
| 7 |
"engines": { |
| 8 |
"node": ">=12" |
| 9 |
}, |
| 10 |
"files": [ |
| 11 |
"app/", |
| 12 |
"dist/", |
| 13 |
"languages/", |
| 14 |
"packages/icons/", |
| 15 |
"packages/blocks/**/Controllers/**/*.php", |
| 16 |
"packages/blocks/**/*.php", |
| 17 |
"packages/blocks/**/Blocks/*.php", |
| 18 |
"packages/blocks/**/Blocks/**/*.json", |
| 19 |
"packages/blocks/**/Blocks/**/*.css", |
| 20 |
"packages/blocks-next/build/", |
| 21 |
"packages/blocks-next/index.php", |
| 22 |
"templates/", |
| 23 |
"images/", |
| 24 |
"core/", |
| 25 |
"vendor/", |
| 26 |
"views/", |
| 27 |
"styles/", |
| 28 |
"!node_modules", |
| 29 |
"LICENSE", |
| 30 |
"README.md", |
| 31 |
"readme.txt", |
| 32 |
"screenshot-1.png", |
| 33 |
"*.php" |
| 34 |
], |
| 35 |
"prettier": "@wordpress/prettier-config", |
| 36 |
"scripts": { |
| 37 |
"wp-env": "wp-env", |
| 38 |
"dev": "composer install && yarn start:workspace", |
| 39 |
"docs:release": "yarn workspaces foreach run docs:release", |
| 40 |
"dev:docs": "yarn workspace @surecart/docs run start", |
| 41 |
"bootstrap": "yarn workspace @surecart/components build && yarn workspace @surecart/components-react build && yarn workspace @surecart/blocks build", |
| 42 |
"i18n": "run-s -cl i18n:textdomain i18n:pot", |
| 43 |
"i18n:textdomain": "wpi18n addtextdomain --exclude=dist,node_modules,resources,tests,vendor --textdomain=surecart", |
| 44 |
"i18n:pot": "node ./translate.js", |
| 45 |
"release:build": "yarn workspaces foreach -v run release", |
| 46 |
"composer:release": "composer install --no-dev && composer update surecart/blocks --no-dev", |
| 47 |
"plugin:release": "composer install && yarn release:build && wp-scripts build && yarn i18n:pot && yarn load-translations && yarn composer:release && yarn plugin-zip", |
| 48 |
"release:zip": "node .dev/build/release/release.js surecart-plugin", |
| 49 |
"watch": "yarn start", |
| 50 |
"start": "wp-scripts start", |
| 51 |
"start:workspace": "yarn workspaces foreach -pvi run watch", |
| 52 |
"check-engines": "wp-scripts check-engines", |
| 53 |
"check-licenses": "wp-scripts check-licenses", |
| 54 |
"format:js": "wp-scripts format", |
| 55 |
"lint:css": "wp-scripts lint-style", |
| 56 |
"lint:js": "wp-scripts lint-js", |
| 57 |
"lint:md:docs": "wp-scripts lint-md-docs", |
| 58 |
"lint:md:js": "wp-scripts lint-md-js", |
| 59 |
"lint:pkg-json": "wp-scripts lint-pkg-json", |
| 60 |
"packages-update": "wp-scripts packages-update", |
| 61 |
"plugin-zip": "node .dev/release.js", |
| 62 |
"load-translations": "node .dev/translations.js", |
| 63 |
"test:php": "wp-env run tests-cli ./vendor/bin/phpunit --env-cwd=wp-content/plugins/surecart --testdox", |
| 64 |
"test:php:ci": "wp-env run tests-cli ./vendor/bin/phpunit --env-cwd=wp-content/plugins/surecart-wp --testdox", |
| 65 |
"test:e2e": "yarn playwright test --reporter=list", |
| 66 |
"test:e2e:ui": "yarn playwright test --ui", |
| 67 |
"test:e2e:debug": "yarn playwright test --debug", |
| 68 |
"test:e2e:trace": "yarn playwright test --trace on" |
| 69 |
}, |
| 70 |
"browserslist": [ |
| 71 |
"last 3 versions" |
| 72 |
], |
| 73 |
"dependencies": { |
| 74 |
"-": "^0.0.1", |
| 75 |
"@paystack/inline-js": "^2.13", |
| 76 |
"@rails/activestorage": "^6.1.4-1", |
| 77 |
"@wordpress/babel-preset-default": "^7.41.0", |
| 78 |
"@wordpress/base-styles": "^4.48.0", |
| 79 |
"@wordpress/block-editor": "^12.25.0", |
| 80 |
"@wordpress/block-library": "^8.34.0", |
| 81 |
"@wordpress/blocks": "^12.34.0", |
| 82 |
"@wordpress/components": "^29.3.0", |
| 83 |
"@wordpress/core-data": "^6.21.0", |
| 84 |
"@wordpress/data": "^9.27.0", |
| 85 |
"@wordpress/date": "^4.57.0", |
| 86 |
"@wordpress/dom-ready": "^3.57.0", |
| 87 |
"@wordpress/e2e-test-utils-playwright": "^0.25.0", |
| 88 |
"@wordpress/editor": "^13.34.0", |
| 89 |
"@wordpress/element": "^5.34.0", |
| 90 |
"@wordpress/format-library": "^4.34.0", |
| 91 |
"@wordpress/i18n": "^4.57.0", |
| 92 |
"@wordpress/icons": "^10.14.0", |
| 93 |
"@wordpress/interface": "^5.34.0", |
| 94 |
"@wordpress/media-utils": "^4.48.0", |
| 95 |
"D": "^1.0.0", |
| 96 |
"apexcharts": "^3.35.4", |
| 97 |
"autoprefixer": "^10", |
| 98 |
"babel-loader": "^8.2.3", |
| 99 |
"chokidar": "^3.4.0", |
| 100 |
"classnames": "^2.3.1", |
| 101 |
"clean-webpack-plugin": "^0.1.19", |
| 102 |
"cross-env": "^7.0.2", |
| 103 |
"crypto-js": "^4.1.1", |
| 104 |
"css-loader": "^3.5.3", |
| 105 |
"cssnano": "^4.1.10", |
| 106 |
"dayjs": "^1.11.6", |
| 107 |
"dot-prop-immutable": "^2.1.1", |
| 108 |
"feather-icons": "^4.28.0", |
| 109 |
"file-loader": "^6.0.0", |
| 110 |
"history": "^5.0.0", |
| 111 |
"imagemin-mozjpeg": "^8.0.0", |
| 112 |
"imagemin-webpack-plugin": "^2.1.1", |
| 113 |
"import-glob": "^1.5.0", |
| 114 |
"litepicker": "^2.0.11", |
| 115 |
"loader-utils": "^1.1.0", |
| 116 |
"lodash": "^4.17.15", |
| 117 |
"mini-css-extract-plugin": "^2.9.0", |
| 118 |
"node-sass": "^9.0.0", |
| 119 |
"normalizr": "^3.6.1", |
| 120 |
"npm-run-all": "^4.1.3", |
| 121 |
"path-to-regexp": "^6.2.0", |
| 122 |
"po2json": "^0.4.5", |
| 123 |
"postcss": "^8.0.1", |
| 124 |
"postcss-discard-comments": "^4", |
| 125 |
"postcss-loader": "^4.2.0", |
| 126 |
"querystringify": "^2.2.0", |
| 127 |
"react-apexcharts": "^1.4.0", |
| 128 |
"react-canvas-confetti": "^1.4.0", |
| 129 |
"react-smooth-dnd": "^0.11.1", |
| 130 |
"react-virtuoso": "^4.6.0", |
| 131 |
"sass-loader": "^10", |
| 132 |
"svg-sprite-loader": "^4.2.5", |
| 133 |
"swiper": "^11", |
| 134 |
"swr": "^1.2.2", |
| 135 |
"thread-loader": "^3.0.4", |
| 136 |
"tmp": "^0.2.1" |
| 137 |
}, |
| 138 |
"devDependencies": { |
| 139 |
"@emotion/babel-plugin": "^11.7.2", |
| 140 |
"@emotion/babel-preset-css-prop": "^11.2.0", |
| 141 |
"@emotion/cache": "^11.10.5", |
| 142 |
"@emotion/core": "^10.1.1", |
| 143 |
"@emotion/css": "^11.10.6", |
| 144 |
"@emotion/hash": "^0.8.0", |
| 145 |
"@emotion/native": "^10.0.22", |
| 146 |
"@emotion/react": "^11.7.1", |
| 147 |
"@emotion/styled": "^10.0.23", |
| 148 |
"@playwright/test": "^1.38.0", |
| 149 |
"@wordpress/data": "^9.27.0", |
| 150 |
"@wordpress/dependency-extraction-webpack-plugin": "^5.8.0", |
| 151 |
"@wordpress/e2e-test-utils": "^10.28.0", |
| 152 |
"@wordpress/env": "^9.9.0", |
| 153 |
"@wordpress/prettier-config": "^3.14.0", |
| 154 |
"@wordpress/scripts": "^30.6.2", |
| 155 |
"adm-zip": "^0.5.9", |
| 156 |
"archiver": "^4.0.1", |
| 157 |
"chalk": "^4.0.0", |
| 158 |
"change-case": "^4.1.1", |
| 159 |
"co": "^4.6.0", |
| 160 |
"copy-webpack-plugin": "6", |
| 161 |
"eslint": "^6.8.0", |
| 162 |
"eslint-config-airbnb": "^18.1.0", |
| 163 |
"eslint-plugin-import": "^2.20.2", |
| 164 |
"eslint-plugin-jsx-a11y": "^6.2.3", |
| 165 |
"eslint-plugin-react": "^7.19.0", |
| 166 |
"glob": "^7.1.4", |
| 167 |
"inquirer": "^7.1.0", |
| 168 |
"memize": "^1.1.0", |
| 169 |
"node-wp-i18n": "^1.2.1", |
| 170 |
"npm-packlist": "^3.0.0", |
| 171 |
"process": "^0.11.10", |
| 172 |
"react": "18.0.0", |
| 173 |
"react-dom": "18.0.0", |
| 174 |
"react-test-renderer": "18.0.0", |
| 175 |
"replace-in-file": "^6.0.0", |
| 176 |
"shelljs": "^0.8.5", |
| 177 |
"stream-browserify": "^3.0.0", |
| 178 |
"stylelint": "^13.3.3", |
| 179 |
"stylelint-config-recommended-scss": "^4.2.0", |
| 180 |
"stylelint-order": "^4.0.0", |
| 181 |
"stylelint-scss": "^3.17.1", |
| 182 |
"uuid": "^9.0.0", |
| 183 |
"webpack-cli": "^4.9.2", |
| 184 |
"webpack-dev-server": "^3.10.3" |
| 185 |
}, |
| 186 |
"resolutions": { |
| 187 |
"eslint-plugin-jsdoc": "^37.4.2", |
| 188 |
"jest": "27.4.5", |
| 189 |
"jest-cli": "27.4.5", |
| 190 |
"jest-environment-node": "27.4.4" |
| 191 |
}, |
| 192 |
"wp-env": { |
| 193 |
"plugin-dir": "surecart", |
| 194 |
"plugin-name": "SureCart" |
| 195 |
}, |
| 196 |
"packageManager": "yarn@3.2.2", |
| 197 |
"version": "0.0.1" |
| 198 |
} |
| 199 |
|