【文件属性】:
文件名称:Learning-NodeJS:掌握NodeJS
文件大小:30.6MB
文件格式:ZIP
更新时间:2021-05-07 18:39:28
JavaScript
最佳实践
$ sudo npm install -g eslint
$ eslint --init
$ eslint script.js(全球)
$ node_modules / .bin / eslint script.js(本地)
示例composer.json
{
" name " : " Example composer " ,
" version " : " 1.0.0 " ,
" description " : " NodeJS APP Descriptin " ,
" main " : " app.js " ,
" scripts " : {
" test " : " echo \" Error: no test specified \" && exit 1 " ,
" start " : "