UNPKG

semgrator

Version:

Run migrations code based on semantic version rules

70 lines (69 loc) 1.64 kB
{ "name": "semgrator", "version": "0.3.0", "description": "Run migrations code based on semantic version rules", "scripts": { "test": "borp --coverage", "clean": "rm -rf dist", "build": "npm run clean && tsc -p tsconfig.build.json", "prepublishOnly": "npm run build", "lint": "prettier --check .", "lint:fix": "prettier -w ." }, "pre-commit": [ "lint", "test" ], "repository": { "type": "git", "url": "git+https://github.com/platformatic/semgrator.git" }, "keywords": [ "migrations", "migration", "semantic", "version", "semver" ], "author": "Matteo Collina <hello@matteocollina.com>", "license": "Apache-2.0", "bugs": { "url": "https://github.com/platformatic/semgrator/issues" }, "homepage": "https://github.com/platformatic/semgrator#readme", "devDependencies": { "@fastify/pre-commit": "^2.1.0", "@matteo.collina/tspl": "^0.1.1", "@types/node": "^20.11.24", "@types/rfdc": "^1.2.0", "@types/semver": "^7.5.8", "borp": "^0.10.0", "desm": "^1.3.1", "pino": "^8.19.0", "pino-test": "^1.0.0", "prettier": "^3.2.5", "typescript": "^5.3.3" }, "prettier": { "semi": false, "printWidth": 70, "tabWidth": 2, "useTabs": false, "singleQuote": true, "jsxSingleQuote": false, "bracketSameLine": true, "arrowParens": "avoid", "endOfLine": "lf" }, "files": [ "dist" ], "type": "module", "main": "./dist/semgrator.js", "types": "./dist/semgrator.d.ts", "dependencies": { "abstract-logging": "^2.0.1", "rfdc": "^1.3.1", "semver": "^7.6.0" } }