{"_id":"@antialias/view-cards","_rev":"4-718a63c40931913921874b6829f851ff","name":"@antialias/view-cards","description":"`view-cards` combines webpack dev server, hot module replacement, and devboard to show your devcards with minimal configuration. Just place files called `card.js`, or `*.card.js` in your project and they will be included on the devboard.","dist-tags":{"latest":"3.0.1"},"versions":{"2.2.1":{"name":"@antialias/view-cards","version":"2.2.1","main":"index.js","scripts":{"test":"mocha"},"bin":{"view-cards":"./bin.sh"},"keywords":[],"author":"","license":"ISC","devDependencies":{"cheerio":"^0.20.0","mkdirp":"^0.5.1","mocha":"^2.5.3","request":"^2.72.0","rimraf":"^2.5.2","update-object":"^1.0.0"},"dependencies":{"ejs":"^2.4.2","escape-string-regexp":"^1.0.5","express":"^4.13.4","get-port":"^2.1.0","js-string-escape":"^1.0.1","json-fn":"^0.60.0","json-loader":"^0.5.4","json3":"^3.3.2","lodash.flow":"^3.3.0","lodash.pick":"^4.2.1","openurl":"^1.1.1","path-exists":"^3.0.0","serve-favicon":"^2.3.0","string-replace-loader":"^1.0.2","string-replace-webpack-plugin":"0.0.3","webpack":"^1.13.1","webpack-config-builders":"^1.0.3","webpack-dev-middleware":"^1.6.1","webpack-hot-middleware":"^2.10.0"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/antialias/view-cards.git"},"bugs":{"url":"https://github.com/antialias/view-cards/issues"},"homepage":"https://github.com/antialias/view-cards#readme","description":"`view-cards` combines webpack dev server, hot module replacement, and devboard to show your devcards with minimal configuration. Just place files called `card.js`, or `*.card.js` in your project and they will be included on the devboard.","gitHead":"178c279e162a462eb16defc813533fc40ae45391","_id":"@antialias/view-cards@2.2.1","_npmVersion":"5.0.2","_nodeVersion":"7.10.0","_npmUser":{"name":"antialias","email":"hallock@gmail.com"},"dist":{"integrity":"sha512-5kU07+3wBZoyuJT1snz/pKItrCyBrKWqQ00cNqR8+zWMSZLJ3gtAhHRq44O6DO6fSvmRrsgkWXaBg+ImmgSpwQ==","shasum":"6fd1aa02f759eb60a380feeda6f5a1c6f0d67111","tarball":"https://registry.npmjs.org/@antialias/view-cards/-/view-cards-2.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJ5RiiA2+rdHPShVGcOjkvQOG47C1pp/PN1ZIumlcBlAIgdo8Jx/cmxMWJFg1q7r8AQTruh/jx5Hx1E+desHi4oR4="}]},"maintainers":[{"name":"antialias","email":"hallock@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/view-cards-2.2.1.tgz_1496698145853_0.05913931573741138"}},"2.2.2":{"name":"@antialias/view-cards","version":"2.2.2","main":"index.js","scripts":{"test":"mocha"},"bin":{"view-cards":"./bin.sh"},"keywords":[],"author":"","license":"ISC","peerDependencies":{"devboard":"^0.7.1"},"devDependencies":{"cheerio":"^0.20.0","mkdirp":"^0.5.1","mocha":"^2.5.3","request":"^2.72.0","rimraf":"^2.5.2","update-object":"^1.0.0"},"dependencies":{"ejs":"^2.4.2","escape-string-regexp":"^1.0.5","express":"^4.13.4","get-port":"^2.1.0","js-string-escape":"^1.0.1","json-fn":"^0.60.0","json-loader":"^0.5.4","json3":"^3.3.2","lodash.flow":"^3.3.0","lodash.pick":"^4.2.1","openurl":"^1.1.1","path-exists":"^3.0.0","react":"^15.5.4","react-dom":"^15.5.4","serve-favicon":"^2.3.0","string-replace-loader":"^1.0.2","string-replace-webpack-plugin":"0.0.3","webpack":"^1.13.1","webpack-config-builders":"^1.0.3","webpack-dev-middleware":"^1.6.1","webpack-hot-middleware":"^2.10.0"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/antialias/view-cards.git"},"bugs":{"url":"https://github.com/antialias/view-cards/issues"},"homepage":"https://github.com/antialias/view-cards#readme","description":"`view-cards` combines webpack dev server, hot module replacement, and devboard to show your devcards with minimal configuration. Just place files called `card.js`, or `*.card.js` in your project and they will be included on the devboard.","gitHead":"b4ed2183987bba6efabc7ae0771e304eada11fd4","_id":"@antialias/view-cards@2.2.2","_npmVersion":"5.0.3","_nodeVersion":"7.10.0","_npmUser":{"name":"antialias","email":"hallock@gmail.com"},"dist":{"integrity":"sha512-PE2jwAwzOUD0BgE1g24Bq+/DpiQP8dSmy5dE/PuOU/BRIH6zuyh20awYLjxGhLXiOuJ+cT+KH8m3c7FSfyMJlQ==","shasum":"8e5e9981c3ed75a8c94ba6c6dcb3b38ece8b7868","tarball":"https://registry.npmjs.org/@antialias/view-cards/-/view-cards-2.2.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVK8YeZ7Po29rvBoMP9pvHmZpVFXFB+jn5e3ObzSb0PAiEA5/PwFb6BKW2Kl39MPhz59DCC1/3jKNEg1QC5X6MWkbo="}]},"maintainers":[{"name":"antialias","email":"hallock@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/view-cards-2.2.2.tgz_1498591488619_0.4268506010994315"}},"3.0.0":{"name":"@antialias/view-cards","version":"3.0.0","main":"index.js","scripts":{"test":"mocha"},"bin":{"view-cards":"./bin.sh"},"keywords":[],"author":"","license":"ISC","peerDependencies":{"devboard":"^0.7.1"},"devDependencies":{"cheerio":"^0.20.0","mkdirp":"^0.5.1","mocha":"^2.5.3","request":"^2.72.0","rimraf":"^2.5.2","update-object":"^1.0.0"},"dependencies":{"ejs":"^2.4.2","escape-string-regexp":"^1.0.5","express":"^4.13.4","get-port":"^2.1.0","js-string-escape":"^1.0.1","json-fn":"^0.60.0","json-loader":"^0.5.4","json3":"^3.3.2","lodash.flow":"^3.3.0","lodash.pick":"^4.2.1","openurl":"^1.1.1","path-exists":"^3.0.0","react":"^15.5.4","react-dom":"^15.5.4","serve-favicon":"^2.3.0","string-replace-loader":"^1.2.0","webpack":"^3.0.0","webpack-config-builders":"^1.0.3","webpack-dev-middleware":"^1.6.1","webpack-hot-middleware":"^2.10.0"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/antialias/view-cards.git"},"bugs":{"url":"https://github.com/antialias/view-cards/issues"},"homepage":"https://github.com/antialias/view-cards#readme","description":"`view-cards` combines webpack dev server, hot module replacement, and devboard to show your devcards with minimal configuration. Just place files called `card.js`, or `*.card.js` in your project and they will be included on the devboard.","gitHead":"94c693c3319e5c4687cdc0e85bd21719a269331e","_id":"@antialias/view-cards@3.0.0","_npmVersion":"5.0.3","_nodeVersion":"7.10.0","_npmUser":{"name":"antialias","email":"hallock@gmail.com"},"dist":{"integrity":"sha512-jvwl0QgtXaEmhEMozdh7CEAfLgnHStyqZdvpjzWbL5LN5umQeyvo8Tqv4G6LlevDAt3yxwVhH+/2TT2C6HiGEw==","shasum":"f50d2c292af1903f463bb5046c09f1fe02ac98dc","tarball":"https://registry.npmjs.org/@antialias/view-cards/-/view-cards-3.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTysxtWfBlkEX5OAqXVkRqdVM5TgI1QDjdVWIePSmpfAIhAJIhMbyb/8L3ncPpiQIwTJbs771GP8aBpirT/kw5SEBO"}]},"maintainers":[{"name":"antialias","email":"hallock@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/view-cards-3.0.0.tgz_1498591536078_0.5450332632753998"}},"3.0.1":{"name":"@antialias/view-cards","version":"3.0.1","main":"index.js","scripts":{"test":"mocha"},"bin":{"view-cards":"./bin.sh"},"keywords":[],"author":"","license":"ISC","peerDependencies":{"devboard":"^0.7.1"},"devDependencies":{"cheerio":"^0.20.0","mkdirp":"^0.5.1","mocha":"^2.5.3","proxyquire":"^1.8.0","request":"^2.72.0","rimraf":"^2.5.2","update-object":"^1.0.0"},"dependencies":{"ejs":"^2.4.2","escape-string-regexp":"^1.0.5","express":"^4.13.4","get-port":"^2.1.0","js-string-escape":"^1.0.1","json-fn":"^0.60.0","json-loader":"^0.5.4","json3":"^3.3.2","lodash.flow":"^3.3.0","lodash.pick":"^4.2.1","openurl":"^1.1.1","path-exists":"^3.0.0","react":"^15.5.4","react-dom":"^15.5.4","serve-favicon":"^2.3.0","string-replace-loader":"^1.2.0","webpack":"^3.0.0","webpack-config-builders":"^1.0.3","webpack-dev-middleware":"^1.6.1","webpack-hot-middleware":"^2.10.0"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/antialias/view-cards.git"},"bugs":{"url":"https://github.com/antialias/view-cards/issues"},"homepage":"https://github.com/antialias/view-cards#readme","description":"`view-cards` combines webpack dev server, hot module replacement, and devboard to show your devcards with minimal configuration. Just place files called `card.js`, or `*.card.js` in your project and they will be included on the devboard.","gitHead":"39d83c713d8ef310b6ab005ec00e6a7b3d621345","_id":"@antialias/view-cards@3.0.1","_npmVersion":"5.0.3","_nodeVersion":"7.10.0","_npmUser":{"name":"antialias","email":"hallock@gmail.com"},"dist":{"integrity":"sha512-5W7Yl/DQqF/dNrlUT5rm4+4ic4RqU7cfmDrGj7tFWv91wzZU9tpwm2MhpeinCz6IXS7uFS8XQ8u4T1A3YzJplQ==","shasum":"a767baa2fa9c620c822fe11f51cf2ff6359a0ed7","tarball":"https://registry.npmjs.org/@antialias/view-cards/-/view-cards-3.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLDGJNmUDV43jU912Serq//iD5xHRi1jLnMKW5bX0PgAIgRMj2VHEQH124v/7wqqXcAIhdoE6liY6E5VPo9ivRUUU="}]},"maintainers":[{"name":"antialias","email":"hallock@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/view-cards-3.0.1.tgz_1498591744335_0.8895295984111726"}}},"readme":"`view-cards` combines webpack dev server, hot module replacement, and devboard to show your devcards with minimal configuration. Just place files called `card.js`, or `*.card.js` in your project and they will be included on the devboard.\n\n# installation\n\nnpm install -g view-cards\n\n# usage\n\nRun `view-cards` in the root of the project for which you would like to view cards.\n\n# configuration\n\n`card-config.js` goes in your project root. It can export the following:\n\n## `transformWebpackConfig`\n\nThis is a function that takes as input the webpack config that view-cards uses and can transform it into a new config that works with your devcards. This is where you can add loader configurations, resolve.extensions, and any necessary plugins.\n\n[`webpack-config-builders`](https://www.npmjs.com/package/webpack-config-builders) and [`lodash.flow`](https://www.npmjs.com/package/lodash.flow) work well to help you build and combine functions that can transform the webpack config.\n\nDefaults to `x => x`\n\n## `srcRoot`\n\nThe directory that contains all your devcards. Defaults to `.`\n\n## `cardPattern`\n\nA regular expression that is used to match your card file names. Defaults to `/[\\.\\/^]card\\.jsx?$/`\n\n## `stylesheets`\n\nAn array of URIs to stylesheets that will be added to `<head>` in the the template rendered by express.\n\n## `publicDir`\n\nA path relative to `process.cwd()` that will be the public assets directory for the devcard server.\n\n## `favicon`\n\nPath to the favicon used for the devcard server. Defaults to favicon.ico in the project director if present, otherwise uses view-cards's built-in \"hand of cards\" favicon.\n","maintainers":[{"name":"antialias","email":"hallock@gmail.com"}],"time":{"modified":"2022-04-04T14:21:57.212Z","created":"2017-06-05T21:29:06.038Z","2.2.1":"2017-06-05T21:29:06.038Z","2.2.2":"2017-06-27T19:24:49.434Z","3.0.0":"2017-06-27T19:25:36.231Z","3.0.1":"2017-06-27T19:29:04.493Z"},"homepage":"https://github.com/antialias/view-cards#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/antialias/view-cards.git"},"bugs":{"url":"https://github.com/antialias/view-cards/issues"},"license":"ISC","readmeFilename":"readme.md"}