项目作者: superoo7

项目描述 :
Setup Babel for casperjs
高级语言: JavaScript
项目地址: git://github.com/superoo7/casper-starter.git
创建时间: 2017-11-08T03:13:23Z
项目社区:https://github.com/superoo7/casper-starter

开源协议:MIT License

下载


Casper.js Starter

This is a boilerplate for Casper.js with ES6. I use babel in order to transpile ES6 into ES5 for Phantom.js to understand.

Casper.js runs on phantom.js, it is not node.js! Although the syntax looks the same (both uses common js) but phantom does not support ES6.

Installation

  • Git clone this repo
  • npm install or yarn install in this repo
  • To start the project npm run start or yarn start

License

MIT