Skip to content

Commit

Permalink
Reorganize package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-low committed Jan 8, 2025
1 parent 8e9e869 commit 1c3c3be
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,27 @@
"version": "3.16.1",
"type": "module",
"private": true,
"scripts": {
"build-intl": "NODE_ENV=production extract-messages -l=en-US -o lang/ -d en-US --flat -f json 'src/**/!(*.test).js'",
"update-layers": "node scripts/update_layers.js",
"update-layers-prod": "NODE_ENV=production node scripts/update_layers.js",
"start-js": "vite",
"start": "npm-run-all -p build-env update-layers start-js",
"build-env": "dotenv -c -- jq -n 'env | with_entries(select(.key | startswith(\"REACT_APP_\")))' > public/env.json",
"build-js": "vite build",
"build": "yarn run build-env && yarn run build-intl && yarn run update-layers-prod && yarn run build-js",
"test": "vitest",
"test:cov": "vitest run --coverage",
"lint": "eslint src/",
"format": "biome format --write src/",
"explore": "source-map-explorer --only-mapped --no-border-checks 'dist/**/*.js'"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"dependencies": {
"@apollo/client": "^3.5.4",
"@changey/react-leaflet-markercluster": "^4.0.0-rc1",
Expand Down Expand Up @@ -134,27 +155,6 @@
"vite": "^5.4.8",
"vitest": "^2.1.2"
},
"scripts": {
"build-intl": "NODE_ENV=production extract-messages -l=en-US -o lang/ -d en-US --flat -f json 'src/**/!(*.test).js'",
"update-layers": "node scripts/update_layers.js",
"update-layers-prod": "NODE_ENV=production node scripts/update_layers.js",
"start-js": "vite",
"start": "npm-run-all -p build-env update-layers start-js",
"build-env": "dotenv -c -- jq -n 'env | with_entries(select(.key | startswith(\"REACT_APP_\")))' > public/env.json",
"build-js": "vite build",
"build": "yarn run build-env && yarn run build-intl && yarn run update-layers-prod && yarn run build-js",
"test": "vitest",
"test:cov": "vitest run --coverage",
"lint": "eslint src/",
"format": "biome format --write src/",
"explore": "source-map-explorer --only-mapped --no-border-checks 'dist/**/*.js'"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"resolutions": {
"react-error-overlay": "6.0.9"
}
Expand Down

0 comments on commit 1c3c3be

Please sign in to comment.