{"name":"magicast","version":"0.3.1","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":"./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","prepare":"esno ./scripts/vendor.ts","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 run test run && changelogen --release && npm publish && git push --follow-tags","test":"vitest","test:build":"TEST_BUILD=true vitest","test:full":"pnpm run test && pnpm run build && pnpm run test:build"},"dependencies":{"@babel/parser":"^7.23.3","@babel/types":"^7.23.3","source-map-js":"^1.0.2"},"devDependencies":{"@types/node":"^20.9.0","@vitest/coverage-v8":"^0.34.6","@vitest/ui":"^0.34.6","ast-types":"^0.16.1","changelogen":"^0.5.5","eslint":"^8.53.0","eslint-config-unjs":"^0.2.1","esno":"^0.17.0","giget":"^1.1.3","lint-staged":"^15.0.2","magicast":"workspace:*","prettier":"^3.0.3","recast":"^0.23.4","simple-git-hooks":"^2.9.0","source-map":"npm:source-map-js@latest","typescript":"^5.2.2","unbuild":"^2.0.0","vitest":"^0.34.6"},"resolutions":{"source-map":"npm:source-map-js@latest"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"packageManager":"pnpm@8.10.2","pnpm":{"overrides":{"array-includes":"npm:@nolyfill/array-includes@latest","array.prototype.flat":"npm:@nolyfill/array.prototype.flat@latest","array.prototype.flatmap":"npm:@nolyfill/array.prototype.flatmap@latest","available-typed-arrays":"npm:@nolyfill/available-typed-arrays@latest","define-properties":"npm:@nolyfill/define-properties@latest","function-bind":"npm:@nolyfill/function-bind@latest","gopd":"npm:@nolyfill/gopd@latest","has":"npm:@nolyfill/has@latest","has-symbols":"npm:@nolyfill/has-symbols@latest","has-tostringtag":"npm:@nolyfill/has-tostringtag@latest","is-arguments":"npm:@nolyfill/is-arguments@latest","is-generator-function":"npm:@nolyfill/is-generator-function@latest","object-is":"npm:@nolyfill/object-is@latest","object.values":"npm:@nolyfill/object.values@latest","which-typed-array":"npm:@nolyfill/which-typed-array@latest"}},"gitHead":"32be90efe6be8036088c0a6c39c740f3f0efb13a","bugs":{"url":"https://github.com/unjs/magicast/issues"},"homepage":"https://github.com/unjs/magicast#readme","_id":"magicast@0.3.1","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"shasum":"6b8977f448a122026dd2269b823974cb76019f83","size":121098,"noattachment":false,"key":"/magicast/-/magicast-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/magicast/download/magicast-0.3.1.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.3.1_1699543348229_0.4046902365773264"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-09T15:22:28.457Z","publish_time":1699543348457,"_source_registry_name":"default","_cnpm_publish_time":1699543348457,"dist-tags":{"latest":"0.3.5"}}