{"_id":"@midwayjs/ncc","_rev":"993524","name":"@midwayjs/ncc","description":"[![CI Status](https://github.com/zeit/ncc/workflows/CI/badge.svg)](https://github.com/zeit/ncc/actions?workflow=CI) [![codecov](https://codecov.io/gh/zeit/ncc/branch/master/graph/badge.svg)](https://codecov.io/gh/zeit/ncc)","dist-tags":{"latest":"0.22.2-1"},"maintainers":[{"name":"czy88840616","email":"czy88840616@gmail.com"},{"name":"legendecas","email":"legendecas@gmail.com"}],"time":{"modified":"2024-09-07T00:22:56.000Z","created":"2020-02-11T06:19:35.119Z","0.22.2-1":"2020-03-25T09:03:53.227Z","0.22.2":"2020-03-25T08:47:16.117Z","0.22.1":"2020-03-16T08:09:11.598Z","0.22.0":"2020-02-11T06:19:35.119Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/midwayjs/ncc.git"},"versions":{"0.22.2-1":{"name":"@midwayjs/ncc","version":"0.22.2-1","repository":{"type":"git","url":"git+https://github.com/midwayjs/ncc.git"},"license":"MIT","main":"./dist/ncc/index.js","bin":{"ncc":"dist/ncc/cli.js"},"scripts":{"build":"node scripts/build","build-test-binary":"cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node","codecov":"codecov","test":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest","test-coverage":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \"{\\\"coverage\\\":true}\" && codecov","prepublish":"in-publish && npm test || not-in-publish"},"devDependencies":{"@azure/cosmos":"^2.0.5","@bugsnag/js":"^5.0.1","@ffmpeg-installer/ffmpeg":"^1.0.17","@google-cloud/bigquery":"^2.0.1","@google-cloud/firestore":"^2.2.0","@sentry/node":"^4.3.0","@tensorflow/tfjs-node":"^0.3.0","@zeit/webpack-asset-relocator-loader":"0.6.2","analytics-node":"^3.3.0","apollo-server-express":"^2.2.2","arg":"^4.1.0","auth0":"^2.14.0","aws-sdk":"^2.356.0","axios":"^0.18.1","azure-storage":"^2.10.2","browserify-middleware":"^8.1.1","bytes":"^3.0.0","canvas":"^2.2.0","chromeless":"^1.5.2","codecov":"^3.6.5","consolidate":"^0.15.1","copy":"^0.3.2","core-js":"^2.5.7","cowsay":"^1.3.1","esm":"^3.2.22","express":"^4.16.4","fetch-h2":"^1.0.2","firebase":"^6.1.1","firebase-admin":"^6.3.0","fluent-ffmpeg":"^2.1.2","fontkit":"^1.7.7","get-folder-size":"^2.0.0","glob":"^7.1.3","got":"^9.3.2","graceful-fs":"^4.1.15","graphql":"^14.0.2","highlights":"^3.1.1","hot-shots":"^5.9.2","in-publish":"^2.0.0","ioredis":"^4.2.0","isomorphic-unfetch":"^3.0.0","jest":"^23.6.0","jimp":"^0.5.6","jugglingdb":"2.0.1","koa":"^2.6.2","leveldown":"^4.0.1","lighthouse":"^5.0.0","loopback":"^3.24.0","mailgun":"^0.5.0","mariadb":"^2.0.1-beta","memcached":"^2.2.2","mkdirp":"^0.5.1","mongoose":"^5.3.12","mysql":"^2.16.0","node-gyp":"^3.8.0","npm":"^6.13.4","oracledb":"^3.1.2","passport":"^0.4.0","passport-google-oauth":"^1.0.0","path-platform":"^0.11.15","pdf2json":"^1.1.8","pdfkit":"^0.8.3","pg":"^7.6.1","pug":"^2.0.3","react":"^16.6.3","react-dom":"^16.6.3","redis":"^2.8.0","request":"^2.88.0","rxjs":"^6.3.3","saslprep":"^1.0.2","sequelize":"^5.8.6","sharp":"^0.21.1","shebang-loader":"^0.0.1","socket.io":"^2.2.0","source-map-support":"^0.5.9","stripe":"^6.15.0","swig":"^1.4.2","terser":"^3.11.0","the-answer":"^1.0.0","tiny-json-http":"^7.0.2","ts-loader":"^5.3.1","tsconfig-paths":"^3.7.0","tsconfig-paths-webpack-plugin":"^3.2.0","twilio":"^3.23.2","typescript":"^3.2.2","vm2":"^3.6.6","vue":"^2.5.17","vue-server-renderer":"^2.5.17","webpack":"5.0.0-alpha.17","when":"^3.7.8","yoga-layout":"^1.9.3"},"gitHead":"ba5a50441ed122000633aaebecda1f6e0e846a90","description":"[![CI Status](https://github.com/zeit/ncc/workflows/CI/badge.svg)](https://github.com/zeit/ncc/actions?workflow=CI) [![codecov](https://codecov.io/gh/zeit/ncc/branch/master/graph/badge.svg)](https://codecov.io/gh/zeit/ncc)","bugs":{"url":"https://github.com/midwayjs/ncc/issues"},"homepage":"https://github.com/midwayjs/ncc#readme","_id":"@midwayjs/ncc@0.22.2-1","_nodeVersion":"13.11.0","_npmVersion":"6.14.1","dist":{"integrity":"sha512-mhNw8gG4i7axlf1qZmOZFBlD8sxvG7+E1LhRWFNND4c0/ce6laHPTdvzvIHkGa0JkwEtKGVc82GeTJgCmHXsBQ==","shasum":"e36becf9254a1cbf4436f5d7c37924ba9d53e61e","tarball":"http://registry-npm.ywwl.com/@midwayjs/ncc/download/@midwayjs/ncc-0.22.2-1.tgz","fileCount":88,"unpackedSize":10338860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeex55CRA9TVsSAnZWagAAsacP/35q5d4g7MHLTOV1rkT3\nFZi/1aa/DC0FjBjhPp+ht8BJDOc7nZSw7mnGkyXpPIUMkMNTTCRqEHyKaBUF\n2giqUe8J5Xmv1hecI8IOfl90eVLs+Ui8AJlIDDh3HFA3YcHBILNCXCiaAYpw\nDuqtVSz90zlBKr8OJo9X2NQkfiLC+9bOdqdtu52akSfhIQwLFvsvtJZFEgpH\nfIhvhyYnDfZOz+QDfZTpfHh3w/Nm1xNEE4kMyuFtJa4dcIkUIFdMYCtqY3Kl\n3fIctW9/KEfhG9t9WZz9zXvEqZt9JKVBkcux8V93un/sFuYkWo0//pRR/fNa\n0LmE/MNrMZNl2hmmUw9o6qsJid852i1B6v5zDZj3GsucHE2Cib8g9zPb/mO8\nPAZXxyUDBorKCeDEY+K1+8DNB1Su6PFOSM+BPpkZk9BPNvZIZ0GGIubyIsJA\nVvP9zw6tu4lU+aqMou/GCaXdUtzFrS7AV2ej/nGZ+w5B9R7+yrWmU/2z8wlH\n2blnT6PSP/igG7vOOKFduHd7Q6z0jdd3GhdoUQlXOqXudL4TM9mIUT/kDPy1\nwypYM6EEeiF//Bh10DvqX/PoL6CvBMkGhUQ6CDjWU40HBG2XnMS3KCTy5O5W\neubJg8Soq8ffzqR1hfoxafAqmPRtNfN++nu4K9Ujhx6Ag40N7FKuKy5DGBvk\nCUNJ\r\n=lZzW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEPI/L+ZrhSCjK/n2lvz+ZQIFHba5LaaNOdtjaJi9Yv/AiBnvR1d64VZ4qgRY/ttTLG5Bd2JQ+kelLZcfNhq+fdG8Q=="}],"size":2514752,"noattachment":false,"key":"/@midwayjs/ncc/-/@midwayjs/ncc-0.22.2-1.tgz"},"maintainers":[{"name":"czy88840616","email":"czy88840616@gmail.com"},{"name":"legendecas","email":"legendecas@gmail.com"}],"_npmUser":{"name":"legendecas","email":"legendecas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ncc_0.22.2-1_1585127032996_0.8944288921168178"},"_hasShrinkwrap":false,"publish_time":1585127033227,"_cnpm_publish_time":1585127033227},"0.22.2":{"name":"@midwayjs/ncc","version":"0.22.2","repository":{"type":"git","url":"git+https://github.com/midwayjs/ncc.git"},"license":"MIT","main":"./dist/ncc/index.js","bin":{"ncc":"dist/ncc/cli.js"},"scripts":{"build":"node scripts/build","build-test-binary":"cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node","codecov":"codecov","test":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest","test-coverage":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \"{\\\"coverage\\\":true}\" && codecov","prepublish":"in-publish && npm test || not-in-publish"},"devDependencies":{"@azure/cosmos":"^2.0.5","@bugsnag/js":"^5.0.1","@ffmpeg-installer/ffmpeg":"^1.0.17","@google-cloud/bigquery":"^2.0.1","@google-cloud/firestore":"^2.2.0","@sentry/node":"^4.3.0","@tensorflow/tfjs-node":"^0.3.0","@zeit/webpack-asset-relocator-loader":"0.6.2","analytics-node":"^3.3.0","apollo-server-express":"^2.2.2","arg":"^4.1.0","auth0":"^2.14.0","aws-sdk":"^2.356.0","axios":"^0.18.1","azure-storage":"^2.10.2","browserify-middleware":"^8.1.1","bytes":"^3.0.0","canvas":"^2.2.0","chromeless":"^1.5.2","codecov":"^3.6.5","consolidate":"^0.15.1","copy":"^0.3.2","core-js":"^2.5.7","cowsay":"^1.3.1","esm":"^3.2.22","express":"^4.16.4","fetch-h2":"^1.0.2","firebase":"^6.1.1","firebase-admin":"^6.3.0","fluent-ffmpeg":"^2.1.2","fontkit":"^1.7.7","get-folder-size":"^2.0.0","glob":"^7.1.3","got":"^9.3.2","graceful-fs":"^4.1.15","graphql":"^14.0.2","highlights":"^3.1.1","hot-shots":"^5.9.2","in-publish":"^2.0.0","ioredis":"^4.2.0","isomorphic-unfetch":"^3.0.0","jest":"^23.6.0","jimp":"^0.5.6","jugglingdb":"2.0.1","koa":"^2.6.2","leveldown":"^4.0.1","lighthouse":"^5.0.0","loopback":"^3.24.0","mailgun":"^0.5.0","mariadb":"^2.0.1-beta","memcached":"^2.2.2","mkdirp":"^0.5.1","mongoose":"^5.3.12","mysql":"^2.16.0","node-gyp":"^3.8.0","npm":"^6.13.4","oracledb":"^3.1.2","passport":"^0.4.0","passport-google-oauth":"^1.0.0","path-platform":"^0.11.15","pdf2json":"^1.1.8","pdfkit":"^0.8.3","pg":"^7.6.1","pug":"^2.0.3","react":"^16.6.3","react-dom":"^16.6.3","redis":"^2.8.0","request":"^2.88.0","rxjs":"^6.3.3","saslprep":"^1.0.2","sequelize":"^5.8.6","sharp":"^0.21.1","shebang-loader":"^0.0.1","socket.io":"^2.2.0","source-map-support":"^0.5.9","stripe":"^6.15.0","swig":"^1.4.2","terser":"^3.11.0","the-answer":"^1.0.0","tiny-json-http":"^7.0.2","ts-loader":"^5.3.1","tsconfig-paths":"^3.7.0","tsconfig-paths-webpack-plugin":"^3.2.0","twilio":"^3.23.2","typescript":"^3.2.2","vm2":"^3.6.6","vue":"^2.5.17","vue-server-renderer":"^2.5.17","webpack":"5.0.0-alpha.17","when":"^3.7.8","yoga-layout":"^1.9.3"},"gitHead":"7762d3eb0301a00a53f2355ec9812dff6624c5af","description":"[![CI Status](https://github.com/zeit/ncc/workflows/CI/badge.svg)](https://github.com/zeit/ncc/actions?workflow=CI) [![codecov](https://codecov.io/gh/zeit/ncc/branch/master/graph/badge.svg)](https://codecov.io/gh/zeit/ncc)","bugs":{"url":"https://github.com/midwayjs/ncc/issues"},"homepage":"https://github.com/midwayjs/ncc#readme","_id":"@midwayjs/ncc@0.22.2","_nodeVersion":"13.11.0","_npmVersion":"6.14.1","dist":{"integrity":"sha512-yDuaPjWrGqBmb/ZqeZQst437GOlke5DSW6G3I+lC5u/slGYcmpT6z2Y1kgPb03B14XITsNKuL3+UDL+QEVnjyQ==","shasum":"27d438f36458b3baeb69081dc4576f526d2bfff9","tarball":"http://registry-npm.ywwl.com/@midwayjs/ncc/download/@midwayjs/ncc-0.22.2.tgz","fileCount":88,"unpackedSize":10338819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeexqUCRA9TVsSAnZWagAAKYoP/1zRZXajLBN6eqI2pDbM\n8RUdH31GmwQ2RA67yK+gb1i4QG/+VxvE4S5JFkRQjYRTTABLPhzlVT+sq9lD\nylw6JKG0iXTfAChHKyzcXZb6pcKnj2eWH6YjqqYaQFQ5msRpzkPMQ9uxGdPC\nDraIXVjRqLUfHz/by7FTkQfrxanClbwYfdNv1mb5cpdlibCmpviPZDY96cLC\nigwuvaRGoVtUi7bbmV4e+Qw1pWua0rGMsbi5jIFnBZOM9kpVLIf8FG19+dHN\nJmX2Z31gLAMTPUkFigskBwNoR7j4TwVo/+zkzjvjoKYki1GUVFHzHPMRVoGp\n+Npx+MpXZsSRoZRGBscQbmEsJoZH5r3ATJaLhU0W/ofwM2fgdWZMVUMaSbGq\n3y/NSd8DZU/QMQYSDuBLC+szPEA352SaNTGhw/1Z4nQlAp4CSCiUuTz/cVbX\nO/ycuwlfKB+Wn0Ax40VC1p5waG2zAdIBeaubD8xSEpF4xJRUm434HSGPhTtX\nBEg0vQmisGsYmPYaUWLlgvMYiTKjmdmkHJvxdAsCughFtT33818u5c6XfV+5\nj7Ylk7akjMJgFwt9isl5YM6pl2WkKOMgnatDVHrjR4y7C6t6re4mpPr3O+98\nnjXDz6vgMp2CTt7DYD4b0jSmTSmtRXFO+IDLvBg4laGxPKfT34blvdATNp38\nUF6h\r\n=5Zua\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8/58qXIn3FnRBD9f0Lo2LtPo4XQQLIpHn/zsIiW9wxAiEAtlYXFYoZcGZzPpzkfB9c/QJuDzH5fhTk0bImouy71Ys="}],"size":2514749,"noattachment":false,"key":"/@midwayjs/ncc/-/@midwayjs/ncc-0.22.2.tgz"},"maintainers":[{"name":"czy88840616","email":"czy88840616@gmail.com"},{"name":"legendecas","email":"legendecas@gmail.com"}],"_npmUser":{"name":"legendecas","email":"legendecas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ncc_0.22.2_1585126035859_0.8825894259893285"},"_hasShrinkwrap":false,"publish_time":1585126036117,"_cnpm_publish_time":1585126036117},"0.22.1":{"name":"@midwayjs/ncc","version":"0.22.1","repository":{"type":"git","url":"git+https://github.com/midwayjs/ncc.git"},"license":"MIT","main":"./dist/ncc/index.js","bin":{"ncc":"dist/ncc/cli.js"},"scripts":{"build":"node scripts/build","build-test-binary":"cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node","codecov":"codecov","test":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest","test-coverage":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \"{\\\"coverage\\\":true}\" && codecov","prepublish":"in-publish && npm test || not-in-publish"},"devDependencies":{"@azure/cosmos":"^2.0.5","@bugsnag/js":"^5.0.1","@ffmpeg-installer/ffmpeg":"^1.0.17","@google-cloud/bigquery":"^2.0.1","@google-cloud/firestore":"^2.2.0","@sentry/node":"^4.3.0","@tensorflow/tfjs-node":"^0.3.0","@zeit/webpack-asset-relocator-loader":"0.6.2","analytics-node":"^3.3.0","apollo-server-express":"^2.2.2","arg":"^4.1.0","auth0":"^2.14.0","aws-sdk":"^2.356.0","axios":"^0.18.1","azure-storage":"^2.10.2","browserify-middleware":"^8.1.1","bytes":"^3.0.0","canvas":"^2.2.0","chromeless":"^1.5.2","codecov":"^3.6.5","consolidate":"^0.15.1","copy":"^0.3.2","core-js":"^2.5.7","cowsay":"^1.3.1","esm":"^3.2.22","express":"^4.16.4","fetch-h2":"^1.0.2","firebase":"^6.1.1","firebase-admin":"^6.3.0","fluent-ffmpeg":"^2.1.2","fontkit":"^1.7.7","get-folder-size":"^2.0.0","glob":"^7.1.3","got":"^9.3.2","graceful-fs":"^4.1.15","graphql":"^14.0.2","highlights":"^3.1.1","hot-shots":"^5.9.2","in-publish":"^2.0.0","ioredis":"^4.2.0","isomorphic-unfetch":"^3.0.0","jest":"^23.6.0","jimp":"^0.5.6","jugglingdb":"2.0.1","koa":"^2.6.2","leveldown":"^4.0.1","lighthouse":"^5.0.0","loopback":"^3.24.0","mailgun":"^0.5.0","mariadb":"^2.0.1-beta","memcached":"^2.2.2","mkdirp":"^0.5.1","mongoose":"^5.3.12","mysql":"^2.16.0","node-gyp":"^3.8.0","npm":"^6.13.4","oracledb":"^3.1.2","passport":"^0.4.0","passport-google-oauth":"^1.0.0","path-platform":"^0.11.15","pdf2json":"^1.1.8","pdfkit":"^0.8.3","pg":"^7.6.1","pug":"^2.0.3","react":"^16.6.3","react-dom":"^16.6.3","redis":"^2.8.0","request":"^2.88.0","rxjs":"^6.3.3","saslprep":"^1.0.2","sequelize":"^5.8.6","sharp":"^0.21.1","shebang-loader":"^0.0.1","socket.io":"^2.2.0","source-map-support":"^0.5.9","stripe":"^6.15.0","swig":"^1.4.2","terser":"^3.11.0","the-answer":"^1.0.0","tiny-json-http":"^7.0.2","ts-loader":"^5.3.1","tsconfig-paths":"^3.7.0","tsconfig-paths-webpack-plugin":"^3.2.0","twilio":"^3.23.2","typescript":"^3.2.2","vm2":"^3.6.6","vue":"^2.5.17","vue-server-renderer":"^2.5.17","webpack":"5.0.0-alpha.17","when":"^3.7.8","yoga-layout":"^1.9.3"},"gitHead":"4771bcf50cc1fe8b2ad6721b23bbceb8172d9d94","description":"[![CI Status](https://github.com/zeit/ncc/workflows/CI/badge.svg)](https://github.com/zeit/ncc/actions?workflow=CI) [![codecov](https://codecov.io/gh/zeit/ncc/branch/master/graph/badge.svg)](https://codecov.io/gh/zeit/ncc)","bugs":{"url":"https://github.com/midwayjs/ncc/issues"},"homepage":"https://github.com/midwayjs/ncc#readme","_id":"@midwayjs/ncc@0.22.1","_nodeVersion":"13.10.1","_npmVersion":"6.14.1","dist":{"integrity":"sha512-/GNlcLrfrCRehFd9vB6uwy9b3TmJfL5pnbITo2zhAQLp6Eg88Bgvad+tsJJv0QgOC6Sq+L/1+YhacE/swnHdtA==","shasum":"63f28f40124568bda96578e20a2cb0546b6695db","tarball":"http://registry-npm.ywwl.com/@midwayjs/ncc/download/@midwayjs/ncc-0.22.1.tgz","fileCount":88,"unpackedSize":10337917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJebzQoCRA9TVsSAnZWagAAAuIP+QEih65XS8JpJOu4Wu8S\nUFySwjOVdFluRYouMqHhvYHI2YfO8zLkK9LJUZX8+2wgCBzWPC4lg0jp/Gnc\nDhNBZE4edLgG3vN9/0szSDAsZT3PA/2L+6EPM0HTazUTRviDYfSV9I/wohwi\nrhJoaOLif6qPortnVnz6KNqUqa4t/9cBmoU8qLo1xCUb2/5CuKHjbiS+tw7i\naXh6OQ24jQd78tBecHxtE8SM8i0pAXrlOpPmDy2vHu3VLvGy3NOAmPgUXkj+\nVimCDKe3ZqAB2fvHeQP4T+/Ny/6PsUij8IBPJzLezyi4HQLearxFlpeluibH\nPvXxwyDbuQt8aVSZdgGla1spyfIeWwdgE+UremGOuwFqy8C2viwsKEbKItiU\nooVuwfNLWDOWfXNCkOS5bpkaxbip4sZNTR1585BZeX7tapQ6R6YoEUySUr9t\nxHbnvInQZWWHx43DaWUJmmGBtgfTicpP1KXCRN2JwKjG9i79WnLXJEvwVauV\nIlzT7uRHONO9X6k65sjj6R4RZLlW9SGbyXUf0Hhz0HMd07jhslgvyC9mOUbw\njVDI0qDxbe/D/+/noXWinaFCzr4BTwKwAef947rAHmGYNaFmbQGNbUbxLlWb\ns+p3pBvP5HCxUrjmqV0YtgoLlY+MlGmA489lev46HluO8+X7h3H9DsMFiIFu\nx8O0\r\n=lcSz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICqf/R0XxGzOAh7bFF73bbyv3AnqEtAni2rM8Jp3z4s1AiEAt6qzAuP2k2soWU78j7SAxlnWGQfEAJZ1IRXIvWEuLNI="}],"size":2514473,"noattachment":false,"key":"/@midwayjs/ncc/-/@midwayjs/ncc-0.22.1.tgz"},"maintainers":[{"name":"czy88840616","email":"czy88840616@gmail.com"},{"name":"legendecas","email":"legendecas@gmail.com"}],"_npmUser":{"name":"legendecas","email":"legendecas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ncc_0.22.1_1584346151443_0.19359005441434096"},"_hasShrinkwrap":false,"publish_time":1584346151598,"_cnpm_publish_time":1584346151598},"0.22.0":{"name":"@midwayjs/ncc","version":"0.22.0","repository":{"type":"git","url":"git+https://github.com/midwayjs/ncc.git"},"license":"MIT","main":"./dist/ncc/index.js","bin":{"ncc":"./dist/ncc/cli.js"},"scripts":{"build":"node scripts/build","build-test-binary":"cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node","codecov":"codecov","test":"npm run build-test-binary && npm run build && node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest","test-coverage":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \"{\\\"coverage\\\":true}\" && codecov","prepublish":"in-publish && npm test || not-in-publish"},"devDependencies":{"@azure/cosmos":"^2.0.5","@bugsnag/js":"^5.0.1","@ffmpeg-installer/ffmpeg":"^1.0.17","@google-cloud/bigquery":"^2.0.1","@google-cloud/firestore":"^2.2.0","@sentry/node":"^4.3.0","@tensorflow/tfjs-node":"^0.3.0","@zeit/webpack-asset-relocator-loader":"0.6.2","analytics-node":"^3.3.0","apollo-server-express":"^2.2.2","arg":"^4.1.0","auth0":"^2.14.0","aws-sdk":"^2.356.0","axios":"^0.18.1","azure-storage":"^2.10.2","browserify-middleware":"^8.1.1","bytes":"^3.0.0","canvas":"^2.2.0","chromeless":"^1.5.2","codecov":"^3.1.0","consolidate":"^0.15.1","copy":"^0.3.2","core-js":"^2.5.7","cowsay":"^1.3.1","esm":"^3.2.22","express":"^4.16.4","fetch-h2":"^1.0.2","firebase":"^6.1.1","firebase-admin":"^6.3.0","fluent-ffmpeg":"^2.1.2","fontkit":"^1.7.7","get-folder-size":"^2.0.0","glob":"^7.1.3","got":"^9.3.2","graceful-fs":"^4.1.15","graphql":"^14.0.2","highlights":"^3.1.1","hot-shots":"^5.9.2","in-publish":"^2.0.0","ioredis":"^4.2.0","isomorphic-unfetch":"^3.0.0","jest":"^23.6.0","jimp":"^0.5.6","jugglingdb":"2.0.1","koa":"^2.6.2","leveldown":"^4.0.1","lighthouse":"^5.0.0","loopback":"^3.24.0","mailgun":"^0.5.0","mariadb":"^2.0.1-beta","memcached":"^2.2.2","mkdirp":"^0.5.1","mongoose":"^5.3.12","mysql":"^2.16.0","node-gyp":"^3.8.0","npm":"^6.9.0","oracledb":"^3.1.2","passport":"^0.4.0","passport-google-oauth":"^1.0.0","path-platform":"^0.11.15","pdf2json":"^1.1.8","pdfkit":"^0.8.3","pg":"^7.6.1","pug":"^2.0.3","react":"^16.6.3","react-dom":"^16.6.3","redis":"^2.8.0","request":"^2.88.0","rxjs":"^6.3.3","saslprep":"^1.0.2","sequelize":"^5.8.6","sharp":"^0.21.1","shebang-loader":"^0.0.1","socket.io":"^2.2.0","source-map-support":"^0.5.9","stripe":"^6.15.0","swig":"^1.4.2","terser":"^3.11.0","the-answer":"^1.0.0","tiny-json-http":"^7.0.2","ts-loader":"^5.3.1","tsconfig-paths":"^3.7.0","tsconfig-paths-webpack-plugin":"^3.2.0","twilio":"^3.23.2","typescript":"^3.2.2","vm2":"^3.6.6","vue":"^2.5.17","vue-server-renderer":"^2.5.17","webpack":"5.0.0-alpha.17","when":"^3.7.8","yoga-layout":"^1.9.3"},"gitHead":"3ed7aa4441178438d168cd3330047c68baf98649","description":"[![Build Status](https://circleci.com/gh/zeit/ncc.svg?&style=shield)](https://circleci.com/gh/zeit/workflows/ncc) [![codecov](https://codecov.io/gh/zeit/ncc/branch/master/graph/badge.svg)](https://codecov.io/gh/zeit/ncc)","bugs":{"url":"https://github.com/midwayjs/ncc/issues"},"homepage":"https://github.com/midwayjs/ncc#readme","_id":"@midwayjs/ncc@0.22.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-+9C/vvowgCCG3vDMk5YWc5R8LSfTPRdTX2Y5VQxf1gN73wf3PXThOb1mAszWL/yzs8eJTnCyf4fx3R0/N44c8w==","shasum":"71a5befe767714798c6bbab6850eda81231eec42","tarball":"http://registry-npm.ywwl.com/@midwayjs/ncc/download/@midwayjs/ncc-0.22.0.tgz","fileCount":86,"unpackedSize":14635163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQkd3CRA9TVsSAnZWagAAgsMP/0wWCz8FaO9xoN6NI2fj\nMHoZr6OiEXC2gQVgumgxBEKXqvKPYTDxsUkJ+rzh3FivmDM0hyPVjSSWkPfr\n6NBoAHEJDGVTaV/LaCaYmwu49fB2K933a1vAcqVC2XGJmUyroB85Hx3IRyuT\nZpKxmT6aqgRCqSCaCWBKx60T+DW1Igbq2I51e+2IzyoP7pmpO1RZjS44JnPT\nsd/prDfekODERD4lYjczlI4osir4u+ubn6KVfQX4CwwyWjcTU7P/aCDgock3\nX8cLY/52L7hyAW+t7NxxNNo5aX5Owm8Yf83UTYsKCMng/cMx2haJW2nE6J0k\nbK1DaUL1wW7t7+Cg0QYWr3E+Xco5u2scpwrgC6g4RwUgyDmjwrNOPkLH5njh\nLBx2wP6g7rgV1hY1CxeaNXMdSTUX6iwRq3gpb0l/BylNv4ByZauKeyY2HqmF\nR3AAj+RoLerUVYTr+rOCuhBx7WUe4iydzZSTVtZVQozQys9GXVwT1AKLQb/w\n2LMMGeMlWHc9XLohj0Q1aS83CpuyI/XJmYuK4ZEjtrzS8p9UhxCN7+dvZh/r\ngrU2Gz8Q076bsiTqQ6Kmw1l/4XWAdK6V/gY4HYvFUK4bRTt8v8ahTS+N8urg\nr/LkfunXV39GI38xi9E6gF8qaj2jHLzJx9SRv1fZqYUnnhMeHVsougEa0wl+\nvCZg\r\n=LFKJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDPUYhK1rJGtDbG1+yxLM+QqOvHVJoqRi+6uR4Vh6M4AIgNA5hhIcAbhszsSisDGK/IUKfugBsZH8SANRSvohp1A8="}],"size":4359820,"noattachment":false,"key":"/@midwayjs/ncc/-/@midwayjs/ncc-0.22.0.tgz"},"maintainers":[{"name":"legendecas","email":"legendecas@gmail.com"},{"name":"czy88840616","email":"czy88840616@gmail.com"}],"_npmUser":{"name":"legendecas","email":"legendecas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ncc_0.22.0_1581401974789_0.6273059088832824"},"_hasShrinkwrap":false,"publish_time":1581401975119,"_cnpm_publish_time":1581401975119}},"readme":"# ncc\n\n[![CI Status](https://github.com/zeit/ncc/workflows/CI/badge.svg)](https://github.com/zeit/ncc/actions?workflow=CI)\n[![codecov](https://codecov.io/gh/zeit/ncc/branch/master/graph/badge.svg)](https://codecov.io/gh/zeit/ncc)\n\nSimple CLI for compiling a Node.js module into a single file,\ntogether with all its dependencies, gcc-style.\n\n## Motivation\n\n- Publish minimal packages to npm\n- Only ship relevant app code to serverless environments\n- Don't waste time configuring bundlers\n- Generally faster bootup time and less I/O overhead\n- Compiled language-like experience (e.g.: `go`)\n\n## Design goals\n\n- Zero configuration\n- TypeScript built-in\n- Only supports Node.js programs as input / output\n- Support all Node.js patterns and npm modules\n\n## Usage\n\n### Installation\n```bash\nnpm i -g @zeit/ncc\n```\n\n### Usage\n\n```bash\n$ ncc <cmd> <opts>\n```\nEg:\n```bash\n$ ncc build input.js -o dist\n```\n\nOutputs the Node.js compact build of `input.js` into `dist/index.js`.\n\n> Note: If the input file is using a `.cjs` extension, then so will the corresponding output file.\n> This is useful for packages that want to use `.js` files as modules in native Node.js using\n> a `\"type\": \"module\"` in the package.json file.\n\n#### Commands:\n```\n  build <input-file> [opts]\n  run <input-file> [opts]\n  cache clean|dir|size\n  help\n  version\n```\n\n#### Options:\n```\n  -o, --out [file]         Output directory for build (defaults to dist)\n  -m, --minify             Minify output\n  -C, --no-cache           Skip build cache population\n  -s, --source-map         Generate source map\n  --no-source-map-register Skip source-map-register source map support\n  -e, --external [mod]     Skip bundling 'mod'. Can be used many times\n  -q, --quiet              Disable build summaries / non-error outputs\n  -w, --watch              Start a watched build\n  --v8-cache               Emit a build using the v8 compile cache\n  --stats-out [file]       Emit webpack stats as json to the specified output file\n```\n\n### Execution Testing\n\nFor testing and debugging, a file can be built into a temporary directory and executed with full source maps support with the command:\n\n```bash\n$ ncc run input.js\n```\n\n### With TypeScript\n\nThe only requirement is to point `ncc` to `.ts` or `.tsx` files. A `tsconfig.json`\nfile is necessary. Most likely you want to indicate `es2015` support:\n\n```json\n{\n  \"compilerOptions\": {\n    \"target\": \"es2015\",\n    \"moduleResolution\": \"node\"\n  }\n}\n```\n\n### Package Support\n\nSome packages may need some extra options for ncc support in order to better work with the static analysis.\n\nSee [package-support.md](package-support.md) for some common packages and their usage with ncc.\n\n### Programmatically From Node.js\n\n```js\nrequire('@zeit/ncc')('/path/to/input', {\n  // provide a custom cache path or disable caching\n  cache: \"./custom/cache/path\" | false,\n  // externals to leave as requires of the build\n  externals: [\"externalpackage\"],\n  // directory outside of which never to emit assets\n  filterAssetBase: process.cwd(), // default\n  minify: false, // default\n  sourceMap: false, // default\n  sourceMapBasePrefix: '../', // default treats sources as output-relative\n  // when outputting a sourcemap, automatically include\n  // source-map-support in the output file (increases output by 32kB).\n  sourceMapRegister: true, // default\n  watch: false, // default\n  v8cache: false, // default\n  quiet: false, // default\n  debugLog: false // default\n}).then(({ code, map, assets }) => {\n  console.log(code);\n  // Assets is an object of asset file names to { source, permissions, symlinks }\n  // expected relative to the output code (if any)\n})\n```\n\nWhen `watch: true` is set, the build object is not a promise, but has the following signature:\n\n```js\n{\n  // handler re-run on each build completion\n  // watch errors are reported on \"err\"\n  handler (({ err, code, map, assets }) => { ... })\n  // handler re-run on each rebuild start\n  rebuild (() => {})\n  // close the watcher\n  void close ();\n}\n```\n\n## Caveats\n\n- Files / assets are relocated based on a [static evaluator](https://github.com/zeit/webpack-asset-relocator-loader#how-it-works). Dynamic non-statically analyzable asset loads may not work out correctly\n","_attachments":{},"homepage":"https://github.com/midwayjs/ncc#readme","bugs":{"url":"https://github.com/midwayjs/ncc/issues"},"license":"MIT"}