【文件属性】:
文件名称:gatsby-starter:配置了JestCypressHuskySass和eslintprettier的Gatsby入门套件
文件大小:303KB
文件格式:ZIP
更新时间:2021-04-02 20:55:51
JavaScript
My Gatsby的首发-SASS / Jest / Cypress和其他有趣的东西
:sparkles: 沙哑
运行npx husky npx husky install激活预提交的eslint检查
:test_tube: 测验
开玩笑地进行测试: npm test
运行e2e测试: npm run cy:open
:dizzy: 别名
要添加别名,只需将它们添加到jsconfig.js中。 它们将自动添加到eslint,jest和gatsby配置中。
例子 :
{
" compilerOptions " : {
" jsx " : " react " ,
" baseUrl " : " . " ,
" paths " : {
" ~myAlias " : [ " path/to/alias/* " ]
}
}
}