scriptable-abstract
Version:
Abstract class definitions and type structures for Scriptable-iOS, providing the foundation for building mock implementations and type-safe Scriptable development tools.
166 lines (165 loc) • 4.84 kB
JSON
{
"name": "scriptable-abstract",
"version": "1.8.0",
"description": "Abstract class definitions and type structures for Scriptable-iOS, providing the foundation for building mock implementations and type-safe Scriptable development tools.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/cjs/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.mts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/skrunlabs/scriptable-abstract.git"
},
"files": [
"dist",
"README.md"
],
"scripts": {
"release": "pnpm run build:full && release-it",
"generate": "rimraf generated && tsx src/cli.ts",
"build": "pnpm generate && tsup",
"build:full": "pnpm format && pnpm lint:fix && pnpm build",
"clean": "rimraf dist generated",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint \"src/**/*.ts\" && pnpm format",
"lint:fix": "eslint \"src/**/*.ts\" --fix && pnpm format",
"test": "jest",
"sync": "tsx src/scripts/sync-version.ts",
"pregenerate": "pnpm sync",
"check-update": "tsx src/scripts/check-update.ts",
"auto-release": "pnpm sync && pnpm check-update && pnpm generate && pnpm build && release-it --ci",
"changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s -r 0"
},
"keywords": [
"scriptable",
"ios",
"types",
"base-classes",
"typescript",
"automation",
"ios-automation",
"scriptable-framework",
"type-definitions",
"mock-objects"
],
"license": "MIT",
"peerDependencies": {
"@types/scriptable-ios": "^1.7.7"
},
"devDependencies": {
"@release-it/conventional-changelog": "^10.0.0",
"@swc/core": "^1.10.16",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.2",
"@types/scriptable-ios": "^1.7.7",
"@typescript-eslint/eslint-plugin": "^8.24.0",
"@typescript-eslint/parser": "^8.24.0",
"conventional-changelog-angular": "^8.0.0",
"conventional-changelog-cli": "^5.0.0",
"conventional-changelog-conventionalcommits": "^8.0.0",
"eslint": "^9.20.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.1.4",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"prettier": "^3.5.0",
"release-it": "^18.1.2",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"ts-morph": "^25.0.1",
"tsup": "^8.3.6",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
},
"packageManager": "pnpm@10.3.0",
"pnpm": {
"overrides": {
"@types/scriptable-ios": "1.7.7"
}
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version}",
"tagName": "v${version}",
"push": true,
"requireCleanWorkingDir": false
},
"hooks": {
"before:init": [
"pnpm build"
]
},
"npm": {
"publish": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "angular",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "refactor",
"section": "Code Refactoring",
"hidden": false
},
{
"type": "perf",
"section": "Performance Improvements",
"hidden": false
},
{
"type": "docs",
"section": "Documentation",
"hidden": false
},
{
"type": "style",
"section": "Styles",
"hidden": false
},
{
"type": "test",
"section": "Tests",
"hidden": false
},
{
"type": "build",
"section": "Build System",
"hidden": false
},
{
"type": "chore",
"section": "Maintenance",
"hidden": false
}
]
},
"infile": "CHANGELOG.md",
"header": "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n"
}
}
}
}