xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

npm & cmd & bash & bin

npm & cmd & bash & bin

bin

node_modules & nested

npm publish & all src files

npm publish & files dist, not all src files

OK

https://www.telerik.com/blogs/vuejs-how-to-build-your-first-package-publish-it-on-npm


$ yarn add nice-handsome-button

$ npm i -S nice-handsome-button

CMD

dev.cmd

#!/usr/bin/env node

echo "^-v-^ app is running in development env!" && npm run start

app.cmd

#!/usr/bin/env node

echo "^v^ app is running in production building!" && npm run build

Bash

dev.sh

#!/usr/bin/env bash

echo "🎉  ^v^ app is running in development env!" && npm run start

app.sh

#!/usr/bin/env bash

echo "🎉  ^v^ app is running in production building!" && npm run build


JSON-LD

script type="application/ld+json"

https://scotch.io/tutorials/build-an-interactive-command-line-application-with-nodejs


<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@type": "Organization",
    "@id": "https://scotch.io#organization",
    "name": "Scotch.io",
    "url": "https://scotch.io",
    "sameAs": [
        "http://www.facebook.com/scotchdevelopment",
        "http://twitter.com/scotch_io",
        "http://instagram.com/scotch_io",
        "http://www.linkedin.com/in/scotch_io",
        "http://plus.google.com/scotch_io"
    ],
    "legalName": "Scotch.io, LLC",
    "logo": {
        "@type": "ImageObject",
        "url": "https://scotch.io/img/school-logo-sticker.png",
        "width": 37,
        "height": 60
    },
    "founder": {
        "@type": "Person",
        "name": "Chris Sevilleja",
        "image": {
            "@type": "ImageObject",
            "url": "https://scotch-res.cloudinary.com/image/upload/w_300,q_auto:good,f_auto,c_fill,g_face/media/1/w7Vhk81SyClJPlDQPMLh_17795826_10154678250924582_8102840950354615336_n.jpg",
            "width": 300,
            "height": 300
        }
    }
}
</script>

refs

https://github.com/xgqfrms/vue-corp-card



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2019-05-23 01:30  xgqfrms  阅读(401)  评论(3编辑  收藏  举报