UNPKG

assetmax

Version:

Manifest-driven asset management system with contract-based generation

153 lines (152 loc) 3.64 kB
{ "name": "assetmax", "version": "1.2.0", "description": "Manifest-driven asset management system with contract-based generation", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "bin": { "assetmax": "dist/cli/index.js" }, "scripts": { "build": "npm run build:tsc && npm run build:rollup", "build:tsc": "tsc --build", "build:rollup": "rollup -c", "build:watch": "tsc --build --watch", "dev": "npm run build:watch", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/**/*.ts --fix --max-warnings 50", "typecheck": "tsc --noEmit", "validate": "npm run typecheck && npm run lint", "prepublishOnly": "npm run validate && npm run build", "release": "semantic-release", "start": "node dist/cli/index.js" }, "files": [ "dist/", "templates/", "README.md", "LICENSE", "!dist/**/*.map", "!dist/**/*.tsbuildinfo" ], "keywords": [ "assets", "manifest", "generation", "typescript", "toml", "ai-generation", "contract-based", "cli", "react", "nextjs", "vue", "flux", "veo", "replicate" ], "author": "AssetMax Team", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/assetmax/core" }, "bugs": { "url": "https://github.com/assetmax/core/issues" }, "homepage": "https://github.com/assetmax/core#readme", "engines": { "node": ">=18.0.0" }, "dependencies": { "@iarna/toml": "^2.0.2", "@types/cli-progress": "^3.11.6", "axios": "^1.6.2", "chalk": "^4.1.2", "cli-progress": "^3.12.0", "commander": "^12.0.0", "dotenv": "^16.3.1", "form-data": "^4.0.0", "fs-extra": "^11.2.0", "inquirer": "^9.2.12", "ora": "^5.4.1", "progress": "^2.0.3", "replicate": "^0.25.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.5", "@types/fs-extra": "^11.0.4", "@types/inquirer": "^9.0.7", "@types/jest": "^29.5.8", "@types/node": "^20.10.0", "@typescript-eslint/eslint-plugin": "^6.12.0", "@typescript-eslint/parser": "^6.12.0", "eslint": "^8.54.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "prettier": "^3.1.0", "rollup": "^4.6.1", "semantic-release": "^22.0.7", "ts-jest": "^29.1.1", "typescript": "~5.3.3" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "roots": [ "<rootDir>/src", "<rootDir>/tests" ], "testMatch": [ "**/__tests__/**/*.ts", "**/?(*.)+(spec|test).ts" ], "transform": { "^.+\\.ts$": "ts-jest" }, "collectCoverageFrom": [ "src/**/*.ts", "!src/**/*.d.ts", "!src/**/index.ts" ], "coverageThreshold": { "global": { "branches": 100, "functions": 100, "lines": 100, "statements": 100 } } }, "eslintConfig": { "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint" ], "extends": [ "eslint:recommended" ], "rules": { "@typescript-eslint/no-explicit-any": "warn", "@typescript-eslint/no-unused-vars": "warn" }, "env": { "node": true, "es2022": true } }, "prettier": { "semi": true, "trailingComma": "es5", "singleQuote": true, "printWidth": 100, "tabWidth": 2 } }