UNPKG

@mitre-attack/attack-data-model

Version:

A TypeScript API for the MITRE ATT&CK data model

98 lines (97 loc) 2.79 kB
{ "name": "@mitre-attack/attack-data-model", "version": "4.10.0", "description": "A TypeScript API for the MITRE ATT&CK data model", "license": "APACHE-2.0", "private": false, "keywords": [ "mitre", "attack", "typescript", "api", "adm", "attack-data-model", "cti" ], "homepage": "https://github.com/mitre-attack/attack-data-model#readme", "bugs": { "url": "https://github.com/mitre-attack/attack-data-model/issues", "email": "attack@mitre.org" }, "repository": { "type": "git", "url": "https://github.com/mitre-attack/attack-data-model.git" }, "publishConfig": { "access": "public" }, "author": { "name": "MITRE ATT&CK", "email": "attack@mitre.org" }, "scripts": { "build": "npx tsup --dts --format esm,cjs src", "prepublishOnly": "rm -rf dist && npm run build", "clear:stix": "rm -rf .cached_stix_data", "test": "vitest --run", "test:coverage": "vitest --run --coverage", "test:nocache": "npm run clear:stix && vitest --run", "test:interactive": "vitest", "export": "npm pack", "clean": "rm -rf test/**/*.js test/**/*.js.map test/**/*.d.ts test/**/*.ts.map src/**/*.js src/**/*.js.map src/**/*.d.ts examples/**/*.js examples/**/*.js.map dist", "prepare": "husky || true", "lint": "npx eslint src", "lint:fix": "npm run lint -- --fix", "prettier": "npx prettier src --check", "prettier:fix": "npm run prettier -- --write", "format": "npm run prettier:fix && npm run lint:fix", "docs:schemamarkdown": "tsx ./generate-docs.ts", "check:lockfile": "bash scripts/check-package-lock.sh" }, "contributors": [ { "name": "MITRE ATT&CK", "email": "attack@mitre.org", "url": "https://github.com/mitre-attack" } ], "files": [ "dist/*", "README.md", "LCENSE" ], "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "dependencies": { "axios": "^1.9.0", "uuid": "^10.0.0", "zod": "^4.3.6" }, "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@eslint/js": "^9.28.0", "@semantic-release/git": "^10.0.1", "@types/fs-extra": "^11.0.4", "@types/uuid": "^10.0.0", "@vitest/coverage-v8": "^3.2.4", "eslint": "^9.28.0", "eslint-config-prettier": "^9.1.0", "eslint-mdx": "^3.6.2", "eslint-plugin-mdx": "^3.6.2", "eslint-plugin-prettier": "^5.4.1", "globals": "^15.11.0", "globby": "^15.0.0", "husky": "^9.1.7", "prettier": "3.5.3", "semantic-release": "^24.2.5", "tsup": "^8.5.0", "tsx": "^4.20.6", "typescript": "^5.8.3", "typescript-eslint": "^8.34.0", "vitest": "^3.2.3", "zod2md": "^0.2.4" } }