Library rewrite

This commit is contained in:
MoyuScript
2017-07-29 10:07:42 +08:00
parent b92d8cba24
commit 441d349948
70 changed files with 2521 additions and 3219 deletions

View File

@@ -3,7 +3,7 @@
"name": "html2canvas",
"description": "Screenshots with JavaScript",
"main": "dist/html2canvas.js",
"version": "0.5.0-beta4",
"version": "1.0.0-alpha.1",
"author": {
"name": "Niklas von Hertzen",
"email": "niklasvh@gmail.com",
@@ -20,32 +20,31 @@
"url": "https://github.com/niklasvh/html2canvas/issues"
},
"devDependencies": {
"base64-arraybuffer": "^0.1.5",
"bluebird": "^3.0.6",
"browserify-derequire": "^0.9.4",
"grunt": "^0.4.5",
"grunt-browserify": "^4.0.1",
"grunt-cli": "^0.1.13",
"grunt-contrib-connect": "^0.11.2",
"grunt-contrib-jshint": "^0.11.3",
"grunt-contrib-uglify": "^0.11.0",
"grunt-contrib-watch": "^0.6.1",
"grunt-execute": "^0.2.2",
"grunt-mocha-cli": "^1.12.0",
"grunt-mocha-phantomjs": "^2.0.0",
"html2canvas-proxy": "0.0.5",
"humanize-duration": "^2.0.1",
"lodash": "^3.10.1",
"pngjs": "^2.2.0",
"requirejs": "^2.1.20",
"sauce-connect-launcher": "^0.13.0",
"wd": "^0.4.0"
"babel-cli": "6.24.1",
"babel-core": "6.25.0",
"babel-eslint": "7.2.3",
"babel-loader": "7.1.1",
"babel-preset-es2015": "6.24.1",
"babel-preset-flow": "6.23.0",
"base64-arraybuffer": "0.1.5",
"eslint": "4.2.0",
"eslint-plugin-prettier": "^2.1.2",
"flow-bin": "0.50.0",
"prettier": "1.5.3",
"rimraf": "2.6.1",
"webpack": "3.4.1"
},
"scripts": {
"test": "grunt travis --verbose",
"start": "grunt server",
"sauceconnect": "tests/sauceconnect.js"
"build": "rimraf dist/ && babel src/ -d dist/npm/",
"build:browser": "webpack",
"format": "prettier --single-quote --no-bracket-spacing --tab-width 4 --print-width 100 --write \"src/**/*.js\"",
"flow": "flow",
"lint": "eslint src/**",
"test": "npm run flow && npm run lint"
},
"homepage": "http://html2canvas.hertzen.com",
"license": "MIT"
"license": "MIT",
"dependencies": {
"punycode": "2.1.0"
}
}