搭建腳手架
http://blog.csdn.net/fengyinchao/article/details/52168619代碼規(guī)范 huskey & prettier
husky 及 lint-staged 接入指南markdown 轉(zhuǎn) html
docsify定制API指導(dǎo)頁
Docusaurus定制 UI 組件庫說明文檔
StorybookJS性能監(jiān)控工具
https://github.com/mrdoob/stats.js多package管理方案
LernawebHook 的使用
Webhook 實(shí)踐 —— 自動部署prettier
// https://prettier.io/docs/en/options.html
{
"printWidth":100, // 一行最多 100 characters
"tabWidth": 4,
"useTabs": true, // 行縮進(jìn)
"semi": true,
"singleQuote": true, // jsx 總是雙引號
"trailingComma": "all", // es5|none
"bracketSpacing": true,
"jsxBracketSameLine": true,
"arrowParens": "avoid", // 去除箭頭函數(shù)括號(單參數(shù)時)怒竿,“always”總是保留
"rangeStart": 0,
// "rangeEnd": Infinity,
"parser": "flow",
"requirePragma": false, //只有頂部有特殊注釋才會prettier /** @prettier*/
"insertPragma": false, // 在頂部加一個標(biāo)記 @format,表示文件已經(jīng)prettier過
"proseWrap": "preserve" // always | never 超出一行最大寬度時尊勿,其余部分如何處理
}
- node-ppt
- path-to-regexp
url 的正則表達(dá)式:path-to-regexp