basant307/AI_Governance_Project
048
1{2 "name": "magicast",3 "version": "0.3.5",4 "description": "Modify a JS/TS file and write back magically just like JSON!",5 "repository": "unjs/magicast",6 "license": "MIT",7 "sideEffects": false,8 "type": "module",9 "exports": {10 ".": {11 "import": "./dist/index.mjs",12 "require": "./dist/index.cjs"13 },14 "./helpers": {15 "import": "./dist/helpers.mjs",16 "require": "./dist/helpers.cjs"17 }18 },19 "main": "./dist/index.cjs",20 "module": "./dist/index.mjs",21 "types": "./dist/index.d.ts",22 "files": [23 "dist",24 "*.d.ts"25 ],26 "scripts": {27 "build": "unbuild",28 "prepare": "esno ./scripts/vendor.ts",29 "dev": "vitest dev",30 "dev:ui": "vitest dev --ui",31 "lint": "eslint --cache . && prettier -c .",32 "lint:fix": "eslint --cache . --fix && prettier -c . -w",33 "prepack": "pnpm run build",34 "typecheck": "tsc --noEmit",35 "release": "pnpm run test run && changelogen --release && npm publish && git push --follow-tags",36 "test": "vitest",37 "test:build": "TEST_BUILD=true vitest",38 "test:full": "pnpm run test --run && pnpm run build && pnpm run test:build --run"39 },40 "dependencies": {41 "@babel/parser": "^7.25.4",42 "@babel/types": "^7.25.4",43 "source-map-js": "^1.2.0"44 },45 "devDependencies": {46 "@types/node": "^20.16.1",47 "@vitest/coverage-v8": "^1.6.0",48 "@vitest/ui": "^1.6.0",49 "ast-types": "^0.16.1",50 "changelogen": "^0.5.5",51 "eslint": "^9.9.1",52 "eslint-config-unjs": "^0.3.2",53 "esno": "^4.7.0",54 "giget": "^1.2.3",55 "lint-staged": "^15.2.9",56 "magicast": "workspace:*",57 "prettier": "^3.3.3",58 "recast": "^0.23.9",59 "simple-git-hooks": "^2.11.1",60 "source-map": "npm:source-map-js@latest",61 "typescript": "^5.5.4",62 "unbuild": "^2.0.0",63 "vitest": "^1.6.0"64 },65 "resolutions": {66 "source-map": "npm:source-map-js@latest"67 },68 "simple-git-hooks": {69 "pre-commit": "pnpm lint-staged"70 },71 "lint-staged": {72 "*.{ts,js,mjs,cjs}": [73 "eslint --fix",74 "prettier -w"75 ]76 },77 "packageManager": "pnpm@8.15.9",78 "pnpm": {79 "overrides": {80 "array-includes": "npm:@nolyfill/array-includes@latest",81 "array.prototype.findlastindex": "npm:@nolyfill/array.prototype.findlastindex@latest",82 "array.prototype.flat": "npm:@nolyfill/array.prototype.flat@latest",83 "array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@latest",84 "hasown": "npm:@nolyfill/hasown@latest",85 "object.fromentries": "npm:@nolyfill/object.fromentries@latest",86 "object.groupby": "npm:@nolyfill/object.groupby@latest",87 "object.values": "npm:@nolyfill/object.values@latest"88 }89 }90}