• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

DeviantJS/es7-babel-starter: Babel Boilerplate for libs & server side projec ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

DeviantJS/es7-babel-starter

开源软件地址:

https://github.com/DeviantJS/es7-babel-starter

开源编程语言:

JavaScript 100.0%

开源软件介绍:

ES7 - Babel Library Boilerplate

  Build Status (#master):   CircleCI

  Coverage (#master):   codecov

  Code Quality Score:   Code Climate

  Code Issues:   Issue Count

Contents

Development Experience

Usage

  • npm start - execute code in src directory with live reload via nodemon transpiled with babel-node
  • npm run serve:dev <target> - execute target code with live reload via nodemon transpiled with babel-node
  • npm run debug src - execute code with debug flag enabled
  • npm run benchmark - run benchmark tests with benchmark.js
  • npm run benchmark:watch - run benchmark tests with benchmark.js and watch for file changes
  • npm run lint - code linting with eslint
  • npm run lint:fix - fix problems automatically with eslint
  • npm test - run tests with mocha and chai with spec as reporter and nyc code coverage
  • npm run test:watch - run tests with mocha and chai and watch for changes
  • npm run test:reporter-list - run tests with mocha and chai with list reporter
  • npm run test:export - export tests results as html files in the ./reports folder via mochasome
  • npm run build:dist - transpile and minify ES6+ code and create sourcemaps with babel & babili
  • npm run serve:dist - serve production files from the ./dist folder via node
  • npm run scan:security - run vulnerability tests via the node security platform nsp
  • npm run scan:updates - check for latest versions of dependencies via ncu

Testing

Testing with Mocha and Chai, HTML Reports via mochawesome

npm test

Benchmarking Suite

Benchmark Testing with Benchmark.js

npm run benchmark

Debugging

Currently a known issues in node-inspector/. in current Version 0.12.8 here prevents use with Node Version 6x.

Current debug workaround for node 6.x:

  • "debug": "nodemon $2 --exec babel-node --debug",

When issues is resolved or on version 4.x / 5.x:

  • "debug": "babel-node-debug $2",

and run it via ...

npm run debug src

Security & Updates

Run vulnerability tests via Node Security Project

Check for dependency updates via NPM Check Updates




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
tugenhua0707/webpack-babel-loader发布时间:2022-04-13
下一篇:
typhonjs-node-escomplex/typhonjs-escomplex: Next generation complexity reporting ...发布时间:2022-04-13
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap