{"name":"magicast","version":"0.2.4","description":"Modify a JS/TS file and write back magically just like JSON!","repository":{"type":"git","url":"git+https://github.com/unjs/magicast.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./dist/helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"unbuild","dev":"vitest dev","dev:ui":"vitest dev --ui","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","prepack":"pnpm run build","typecheck":"tsc --noEmit","release":"pnpm test run && changelogen --release && npm publish && git push --follow-tags","test":"vitest"},"dependencies":{"@babel/parser":"^7.21.4","@babel/types":"^7.21.4","recast":"^0.22.0"},"devDependencies":{"@types/node":"^18.15.12","@vitest/coverage-c8":"^0.30.1","@vitest/ui":"^0.30.1","changelogen":"^0.5.3","eslint":"^8.38.0","eslint-config-unjs":"^0.1.0","lint-staged":"^13.2.1","prettier":"^2.8.7","simple-git-hooks":"^2.8.1","typescript":"^5.0.4","unbuild":"^1.2.1","vitest":"^0.30.1"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"packageManager":"pnpm@8.3.1","gitHead":"d5565e3d012b42723212f8b863588d80ed610621","bugs":{"url":"https://github.com/unjs/magicast/issues"},"homepage":"https://github.com/unjs/magicast#readme","_id":"magicast@0.2.4","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"73cf3e88166ec9db724709b1871553b3e6817400","size":18555,"noattachment":false,"key":"/magicast/-/magicast-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/magicast/download/magicast-0.2.4.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"pi0","email":"pooya@pi0.ir"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/magicast_0.2.4_1682003484012_0.9298434937412252"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-20T15:11:24.184Z","publish_time":1682003484184,"_cnpm_publish_time":1682003484184,"dist-tags":{"latest":"0.3.5"}}