20 lines
730 B
JSON
20 lines
730 B
JSON
{
|
|
"scripts": {
|
|
"lint": "eslint src/",
|
|
"build": "npm run lint && tsc",
|
|
"deploy": "aws s3 sync --delete public/ \"$(grep AWS_S3_BUCKET .env | cut -d '=' -f2)\" && aws cloudfront create-invalidation --distribution-id \"$(grep AWS_CLOUDFRONT_ID .env | cut -d '=' -f2)\" --paths=/*"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^4.30.0",
|
|
"@typescript-eslint/parser": "^4.30.0",
|
|
"@typescript-eslint/typescript-estree": "^4.30.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"prettier": "^2.3.2",
|
|
"typescript": "^4.4.2",
|
|
"typescript-eslint-language-service": "^4.1.5",
|
|
"typescript-language-server": "^0.6.2"
|
|
}
|
|
}
|