Skip to content

Commit

Permalink
Remove cross-env
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Dec 13, 2023
1 parent bd94006 commit a78fd6c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 27 deletions.
Binary file modified bun.lockb
Binary file not shown.
19 changes: 0 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
"browserslist": "^4.21.9",
"circular-dependency-plugin": "^5.2.2",
"core-js": "^3.33.2",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1",
"cssnano": "^6.0.1",
Expand Down Expand Up @@ -178,7 +177,7 @@
"scripts": {
"build": "npm-run-all build:*",
"prebuild:js": "rm -rf assets/css/* assets/js/*",
"build:js": "cross-env NODE_ENV=production webpack --config webpack.config.cjs",
"build:js": "NODE_ENV=production webpack --config webpack.config.cjs",
"postbuild:js": "rm -rf assets/js/web-stories-list-styles* assets/js/web-stories-theme-style*",
"predev": "rm -rf assets/css/* assets/js/*",
"dev": "webpack --config webpack.config.cjs --watch",
Expand Down Expand Up @@ -237,15 +236,15 @@
"test:php:integration:multisite": "vendor/bin/phpunit -c phpunit-integration-multisite.xml.dist",
"test:php:unit:help": "npm run test:php -- --help",
"pretest:e2e": "if [ -z $AMP_VALIDATOR_FILE ]; then curl --output-dir $TMPDIR -O -f https://cdn.ampproject.org/v0/validator_wasm.js; fi",
"test:e2e": "cross-env JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs jest --runInBand --config=packages/e2e-tests/src/jest.config.js",
"test:e2e": "JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs jest --runInBand --config=packages/e2e-tests/src/jest.config.js",
"test:e2e:help": "npm run test:e2e -- --help",
"test:e2e:percy": "percy exec --quiet --parallel --config=percy.config.yml -- npm run test:e2e",
"test:e2e:watch": "npm run test:e2e -- --watch",
"test:e2e:interactive": "cross-env PUPPETEER_HEADLESS=false PUPPETEER_SLOWMO=80 npm run test:e2e",
"test:e2e:debug": "cross-env PUPPETEER_HEADLESS=false PUPPETEER_DEVTOOLS=true JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs node --inspect-brk node_modules/.bin/jest --runInBand --config=packages/e2e-tests/src/jest.config.js",
"test:e2e:firefox": "cross-env PUPPETEER_PRODUCT=firefox npm run test:e2e",
"test:e2e:firefox:interactive": "cross-env PUPPETEER_PRODUCT=firefox npm run test:e2e:interactive",
"test:e2e:firefox:debug": "cross-env PUPPETEER_PRODUCT=firefox PUPPETEER_HEADLESS=false PUPPETEER_DEVTOOLS=true node --inspect-brk node_modules/.bin/jest --runInBand --config=packages/e2e-tests/src/jest.config.js",
"test:e2e:interactive": "PUPPETEER_HEADLESS=false PUPPETEER_SLOWMO=80 npm run test:e2e",
"test:e2e:debug": "PUPPETEER_HEADLESS=false PUPPETEER_DEVTOOLS=true JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs node --inspect-brk node_modules/.bin/jest --runInBand --config=packages/e2e-tests/src/jest.config.js",
"test:e2e:firefox": "PUPPETEER_PRODUCT=firefox npm run test:e2e",
"test:e2e:firefox:interactive": "PUPPETEER_PRODUCT=firefox npm run test:e2e:interactive",
"test:e2e:firefox:debug": "PUPPETEER_PRODUCT=firefox PUPPETEER_HEADLESS=false PUPPETEER_DEVTOOLS=true node --inspect-brk node_modules/.bin/jest --runInBand --config=packages/e2e-tests/src/jest.config.js",
"test:schema": "npm-run-all --parallel test:schema:*",
"test:schema:templates": "ls -1 packages/templates/src/raw/*/template.json | xargs -I% npx ajv validate -s bin/schemas/story.json -d % -c ajv-formats",
"test:schema:text-sets": "ls -1 packages/text-sets/src/raw/*.json | xargs -I% npx ajv validate -s bin/schemas/story.json -d % -c ajv-formats",
Expand Down

0 comments on commit a78fd6c

Please sign in to comment.