2012-11-25 22:59:31 +04:00
|
|
|
{
|
2013-08-04 17:42:12 +04:00
|
|
|
"title": "html2canvas",
|
|
|
|
"name": "html2canvas",
|
|
|
|
"description": "Screenshots with JavaScript",
|
2017-12-03 12:07:10 +03:00
|
|
|
"main": "dist/npm/index.js",
|
2017-12-21 18:54:27 +03:00
|
|
|
"version": "1.0.0-alpha.5",
|
2013-08-04 17:42:12 +04:00
|
|
|
"author": {
|
|
|
|
"name": "Niklas von Hertzen",
|
|
|
|
"email": "niklasvh@gmail.com",
|
2017-08-08 19:50:31 +03:00
|
|
|
"url": "https://hertzen.com"
|
2013-08-04 17:42:12 +04:00
|
|
|
},
|
|
|
|
"engines": {
|
2015-12-06 20:01:18 +03:00
|
|
|
"node": ">=4.0.0"
|
2013-08-04 17:42:12 +04:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git@github.com:niklasvh/html2canvas.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/niklasvh/html2canvas/issues"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-07-29 05:07:42 +03:00
|
|
|
"babel-cli": "6.24.1",
|
|
|
|
"babel-core": "6.25.0",
|
|
|
|
"babel-eslint": "7.2.3",
|
|
|
|
"babel-loader": "7.1.1",
|
2017-12-03 12:07:10 +03:00
|
|
|
"babel-plugin-dev-expression": "0.2.1",
|
|
|
|
"babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
|
2017-08-01 17:36:51 +03:00
|
|
|
"babel-plugin-transform-object-rest-spread": "6.23.0",
|
2017-07-29 05:07:42 +03:00
|
|
|
"babel-preset-es2015": "6.24.1",
|
|
|
|
"babel-preset-flow": "6.23.0",
|
|
|
|
"base64-arraybuffer": "0.1.5",
|
2017-08-28 16:27:39 +03:00
|
|
|
"body-parser": "1.17.2",
|
2017-08-08 19:50:31 +03:00
|
|
|
"chai": "4.1.1",
|
2017-10-18 15:34:17 +03:00
|
|
|
"chromeless": "1.2.0",
|
2017-08-30 16:31:51 +03:00
|
|
|
"cors": "2.8.4",
|
2017-07-29 05:07:42 +03:00
|
|
|
"eslint": "4.2.0",
|
2017-08-01 13:51:59 +03:00
|
|
|
"eslint-plugin-flowtype": "2.35.0",
|
|
|
|
"eslint-plugin-prettier": "2.1.2",
|
2017-08-08 19:50:31 +03:00
|
|
|
"express": "4.15.4",
|
2017-08-28 16:27:39 +03:00
|
|
|
"filenamify-url": "1.0.0",
|
2017-10-18 15:34:17 +03:00
|
|
|
"flow-bin": "0.56.0",
|
2017-08-08 19:50:31 +03:00
|
|
|
"glob": "7.1.2",
|
2017-09-04 18:36:19 +03:00
|
|
|
"html2canvas-proxy": "1.0.0",
|
2017-08-08 19:50:31 +03:00
|
|
|
"jquery": "3.2.1",
|
|
|
|
"karma": "1.7.0",
|
|
|
|
"karma-chrome-launcher": "2.2.0",
|
|
|
|
"karma-edge-launcher": "0.4.1",
|
|
|
|
"karma-firefox-launcher": "1.0.1",
|
|
|
|
"karma-ie-launcher": "1.0.0",
|
|
|
|
"karma-mocha": "1.3.0",
|
2017-08-12 08:46:02 +03:00
|
|
|
"karma-sauce-launcher": "1.1.0",
|
2017-08-08 19:50:31 +03:00
|
|
|
"mocha": "3.5.0",
|
2017-08-28 16:27:39 +03:00
|
|
|
"platform": "1.3.4",
|
2017-07-29 05:07:42 +03:00
|
|
|
"prettier": "1.5.3",
|
2017-08-08 19:50:31 +03:00
|
|
|
"promise-polyfill": "6.0.2",
|
2017-12-03 12:07:10 +03:00
|
|
|
"replace-in-file": "^3.0.0",
|
2017-07-29 05:07:42 +03:00
|
|
|
"rimraf": "2.6.1",
|
2017-09-03 16:25:06 +03:00
|
|
|
"serve-index": "1.9.0",
|
2017-08-08 19:50:31 +03:00
|
|
|
"slash": "1.0.0",
|
2017-12-03 12:07:10 +03:00
|
|
|
"uglifyjs-webpack-plugin": "^1.1.2",
|
2017-07-29 05:07:42 +03:00
|
|
|
"webpack": "3.4.1"
|
2013-08-04 17:42:12 +04:00
|
|
|
},
|
|
|
|
"scripts": {
|
2017-08-09 06:10:40 +03:00
|
|
|
"build": "rimraf dist/ && node scripts/create-reftest-list && npm run build:npm && npm run build:browser",
|
2017-12-03 12:36:39 +03:00
|
|
|
"build:npm": "babel src/ -d dist/npm/ --plugins=dev-expression,transform-es2015-modules-commonjs && replace-in-file __VERSION__ '\"$npm_package_version\"' dist/npm/index.js",
|
2017-07-29 05:07:42 +03:00
|
|
|
"build:browser": "webpack",
|
2017-12-09 12:47:25 +03:00
|
|
|
"format": "prettier --single-quote --no-bracket-spacing --tab-width 4 --print-width 100 --write \"{src,www,tests,scripts}/**/*.js\"",
|
2017-07-29 05:07:42 +03:00
|
|
|
"flow": "flow",
|
|
|
|
"lint": "eslint src/**",
|
2017-12-03 12:07:10 +03:00
|
|
|
"test": "npm run flow && npm run lint && npm run test:node && npm run karma",
|
|
|
|
"test:node": "mocha tests/node/*.js",
|
2017-08-30 16:31:51 +03:00
|
|
|
"karma": "node karma",
|
2017-09-03 16:25:06 +03:00
|
|
|
"watch": "webpack --progress --colors --watch",
|
2017-12-03 12:30:52 +03:00
|
|
|
"start": "node tests/server"
|
2013-08-04 17:42:12 +04:00
|
|
|
},
|
2017-08-08 19:50:31 +03:00
|
|
|
"homepage": "https://html2canvas.hertzen.com",
|
2017-07-29 05:07:42 +03:00
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2017-12-15 14:40:04 +03:00
|
|
|
"punycode": "2.1.0",
|
|
|
|
"liststyletype-formatter": "latest"
|
2017-07-29 05:07:42 +03:00
|
|
|
}
|
2013-05-29 18:53:47 +04:00
|
|
|
}
|