@energica-city/shared-amplify-utils
Version:
Shared utilities for AWS Amplify projects
101 lines (100 loc) • 2.79 kB
JSON
{
"name": "@energica-city/shared-amplify-utils",
"version": "0.6.6",
"type": "module",
"description": "Shared utilities for AWS Amplify projects",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./queries": {
"types": "./dist/queries/index.d.ts",
"import": "./dist/queries/index.js"
},
"./error": {
"types": "./dist/error/index.d.ts",
"import": "./dist/error/index.js"
},
"./log": {
"types": "./dist/log/index.d.ts",
"import": "./dist/log/index.js"
},
"./middleware": {
"types": "./dist/middleware/index.d.ts",
"import": "./dist/middleware/index.js"
}
},
"files": [
"dist/**/*",
"README.md"
],
"keywords": [
"aws-amplify",
"typescript",
"crud",
"database",
"utilities",
"shared",
"query-factory",
"middleware",
"lambda",
"graphql"
],
"author": "Francisco Novoa <francisco.novoa@energica.city>",
"repository": {
"type": "git",
"url": "git+ssh://git@bitbucket.org/energica-city/shared-amplify-utils.git"
},
"bugs": {
"url": "https://bitbucket.org/energica-city/shared-amplify-utils/issues"
},
"homepage": "https://bitbucket.org/energica-city/shared-amplify-utils#readme",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsc",
"build:watch": "tsc -w",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test-ci-cd": "npm run build && npm run test:run && npm run lint:check && npm run format:check",
"lint": "eslint . --ext .ts,.js",
"lint:fix": "eslint . --ext .ts,.js --fix",
"lint:check": "eslint . --ext .ts,.js --max-warnings 0",
"format": "prettier --write \"**/*.{ts,js,json,md}\"",
"format:check": "prettier --check \"**/*.{ts,js,json,md}\"",
"fix": "npm run format && npm run lint:fix",
"prepublishOnly": "npm run build && npm run test:run && npm run lint:check && npm run format:check",
"clean": "rm -rf dist",
"prebuild": "npm run clean",
"prepare": "husky",
"release": "npm version patch && npm publish"
},
"peerDependencies": {
"@aws-amplify/backend": "^1.0.0",
"aws-amplify": "^6.0.0"
},
"devDependencies": {
"@eslint/js": "^9.22.0",
"@types/node": "^24.1.0",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.22.0",
"globals": "^16.0.0",
"husky": "^9.1.7",
"prettier": "^3.6.2",
"typescript": "~5.6.3",
"typescript-eslint": "^8.26.1",
"vite": "^6.0.7",
"vitest": "^3.2.4"
},
"dependencies": {
"aws-amplify": "^6.15.4",
"yup": "^1.6.1"
}
}