73 lines
2.6 KiB
JSON
73 lines
2.6 KiB
JSON
{
|
|
"name": "@baseline/admin",
|
|
"version": "1.0.0",
|
|
"type": "commonjs",
|
|
"scripts": {
|
|
"deploy:staging": "./scripts/deploy.sh staging",
|
|
"remove:staging": ". ../../scripts/project-variables.sh && npx serverless remove --stage staging --region $REGION",
|
|
"deploy:prod": "./scripts/deploy.sh prod",
|
|
"remove:prod": ". ../../scripts/project-variables.sh && npx serverless remove --stage prod --region $REGION",
|
|
"aws:profile": "../../scripts/setup-aws-profile.sh",
|
|
"start": "npx vite",
|
|
"build": "pnpm run generate:env:staging && npx vite build",
|
|
"build:deploy": "npx vite build",
|
|
"preview": "npx vite preview",
|
|
"generate:env:local": "pnpm -w run generate:env:local",
|
|
"generate:env:staging": "pnpm -w run generate:env:staging",
|
|
"generate:env:prod": "pnpm -w run generate:env:prod",
|
|
"lint": "npx stylelint --config '.stylelintrc.json' 'src/**/*.scss' && npx eslint --config '.eslintrc.js' 'src/**/*.{ts,tsx,js}'",
|
|
"pretty": "npx prettier --write 'src/**/*.{ts,tsx,js,json,css,scss,md,yml,yaml,html}' && npx prettier --write 'public/**/*.{ts,tsx,js,json,css,scss,md,yml,yaml,html}' && npx prettier --write '*.{ts,tsx,js,json,css,scss,md,yml,yaml,html}'"
|
|
},
|
|
"dependencies": {
|
|
"@aws-amplify/ui-react": "6.1.6",
|
|
"@baseline/client-api": "workspace:1.0.0",
|
|
"@baseline/types": "workspace:1.0.0",
|
|
"@vitejs/plugin-react": "4.2.1",
|
|
"aws-amplify": "6.0.20",
|
|
"axios": "1.7.7",
|
|
"formik": "^2.4.6",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"react-helmet": "6.1.0",
|
|
"react-router-dom": "6.22.3",
|
|
"react-select": "5.8.0",
|
|
"reactstrap": "9.2.2",
|
|
"swr": "^2.2.5",
|
|
"typescript": "5.4.2",
|
|
"vite": "5.2.6",
|
|
"vite-plugin-environment": "1.1.3",
|
|
"yup": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "18.2.67",
|
|
"@types/react-dom": "18.2.22",
|
|
"eslint-plugin-react": "7.34.0",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"postcss": "8.4.35",
|
|
"postcss-scss": "4.0.9",
|
|
"prettier": "2.4.1",
|
|
"sass": "1.43.4",
|
|
"serverless": "3.38.0",
|
|
"serverless-baseline-invalidate-cloudfront": "0.1.1",
|
|
"serverless-s3-sync": "3.1.0",
|
|
"stylelint": "16.2.1",
|
|
"stylelint-config-css-modules": "4.4.0",
|
|
"stylelint-config-sass-guidelines": "11.1.0",
|
|
"stylelint-config-standard": "36.0.0",
|
|
"stylelint-config-standard-scss": "13.0.0",
|
|
"stylelint-order": "6.0.4"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|