2012-11-25 22:59:31 +04:00
|
|
|
{
|
2013-08-04 17:42:12 +04:00
|
|
|
"title": "html2canvas",
|
|
|
|
"name": "html2canvas",
|
|
|
|
"description": "Screenshots with JavaScript",
|
2019-05-26 01:54:41 +03:00
|
|
|
"main": "dist/html2canvas.js",
|
|
|
|
"module": "dist/html2canvas.esm.js",
|
|
|
|
"typings": "dist/types/index.d.ts",
|
2018-07-06 18:03:14 +03:00
|
|
|
"browser": "dist/html2canvas.js",
|
2020-08-09 17:49:12 +03:00
|
|
|
"version": "1.0.0-rc.7",
|
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": {
|
2019-04-13 09:17:23 +03:00
|
|
|
"node": ">=8.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": {
|
2019-04-08 00:24:17 +03:00
|
|
|
"@babel/cli": "^7.4.3",
|
|
|
|
"@babel/core": "^7.4.3",
|
|
|
|
"@babel/preset-env": "^7.4.3",
|
|
|
|
"@babel/preset-flow": "^7.0.0",
|
2019-05-26 01:54:41 +03:00
|
|
|
"@types/chai": "^4.1.7",
|
|
|
|
"@types/glob": "^7.1.1",
|
2019-09-25 13:37:59 +03:00
|
|
|
"@types/jest": "^24.0.18",
|
2019-05-26 01:54:41 +03:00
|
|
|
"@types/mocha": "^5.2.6",
|
2019-04-13 09:17:23 +03:00
|
|
|
"@types/node": "^11.13.2",
|
2019-05-26 01:54:41 +03:00
|
|
|
"@types/platform": "^1.3.2",
|
|
|
|
"@types/promise-polyfill": "^6.0.3",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^1.7.0",
|
|
|
|
"@typescript-eslint/parser": "^1.7.0",
|
2019-04-09 07:56:22 +03:00
|
|
|
"appium-ios-simulator": "^3.10.0",
|
2019-04-08 00:24:17 +03:00
|
|
|
"babel-eslint": "^10.0.1",
|
|
|
|
"babel-loader": "^8.0.5",
|
2020-08-08 10:37:50 +03:00
|
|
|
"babel-plugin-add-module-exports": "^1.0.2",
|
2019-04-08 00:24:17 +03:00
|
|
|
"babel-plugin-dev-expression": "^0.2.1",
|
2019-05-26 01:54:41 +03:00
|
|
|
"base64-arraybuffer": "0.2.0",
|
2019-04-07 22:49:10 +03:00
|
|
|
"body-parser": "^1.18.3",
|
2017-08-08 19:50:31 +03:00
|
|
|
"chai": "4.1.1",
|
2019-04-07 22:49:10 +03:00
|
|
|
"chromeless": "^1.5.2",
|
2017-08-30 16:31:51 +03:00
|
|
|
"cors": "2.8.4",
|
2019-05-26 01:54:41 +03:00
|
|
|
"es6-promise": "^4.2.6",
|
2019-04-08 00:24:17 +03:00
|
|
|
"eslint": "^5.16.0",
|
2019-05-26 01:54:41 +03:00
|
|
|
"eslint-config-prettier": "^4.2.0",
|
|
|
|
"eslint-plugin-prettier": "3.0.1",
|
2019-04-07 09:07:52 +03:00
|
|
|
"express": "^4.16.4",
|
2017-08-28 16:27:39 +03:00
|
|
|
"filenamify-url": "1.0.0",
|
2019-05-26 01:54:41 +03:00
|
|
|
"glob": "7.1.3",
|
2018-07-06 17:55:59 +03:00
|
|
|
"html2canvas-proxy": "1.0.1",
|
2019-09-25 13:37:59 +03:00
|
|
|
"jest": "^24.9.0",
|
2020-08-08 10:37:50 +03:00
|
|
|
"jquery": "^3.5.1",
|
2019-04-07 09:07:52 +03:00
|
|
|
"js-polyfills": "^0.1.42",
|
|
|
|
"karma": "^4.0.1",
|
|
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
|
|
"karma-edge-launcher": "^0.4.2",
|
|
|
|
"karma-firefox-launcher": "^1.1.0",
|
|
|
|
"karma-ie-launcher": "^1.0.0",
|
|
|
|
"karma-junit-reporter": "^1.2.0",
|
|
|
|
"karma-mocha": "^1.3.0",
|
2020-04-15 08:03:04 +03:00
|
|
|
"karma-safarinative-launcher": "^1.1.0",
|
2019-04-07 09:07:52 +03:00
|
|
|
"karma-sauce-launcher": "^2.0.2",
|
2019-05-26 01:54:41 +03:00
|
|
|
"mocha": "^6.1.4",
|
2020-04-15 08:03:04 +03:00
|
|
|
"node-simctl": "^5.3.0",
|
2017-08-28 16:27:39 +03:00
|
|
|
"platform": "1.3.4",
|
2019-05-26 01:54:41 +03:00
|
|
|
"prettier": "1.17.0",
|
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",
|
2019-05-26 01:54:41 +03:00
|
|
|
"rollup": "^1.10.1",
|
|
|
|
"rollup-plugin-commonjs": "^9.3.4",
|
|
|
|
"rollup-plugin-json": "^4.0.0",
|
|
|
|
"rollup-plugin-node-resolve": "^4.2.3",
|
|
|
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
|
|
"rollup-plugin-typescript2": "^0.21.0",
|
2019-04-07 22:49:10 +03:00
|
|
|
"serve-index": "^1.9.1",
|
2017-08-08 19:50:31 +03:00
|
|
|
"slash": "1.0.0",
|
2020-08-08 11:45:26 +03:00
|
|
|
"standard-version": "^8.0.2",
|
2019-09-25 13:37:59 +03:00
|
|
|
"ts-jest": "^24.1.0",
|
2019-04-13 09:17:23 +03:00
|
|
|
"ts-loader": "^5.3.3",
|
|
|
|
"ts-node": "^8.0.3",
|
|
|
|
"typescript": "^3.4.3",
|
2019-05-26 01:54:41 +03:00
|
|
|
"uglify-js": "^3.5.11",
|
2017-12-03 12:07:10 +03:00
|
|
|
"uglifyjs-webpack-plugin": "^1.1.2",
|
2019-04-08 00:24:17 +03:00
|
|
|
"webpack": "^4.29.6",
|
2020-08-08 10:37:50 +03:00
|
|
|
"webpack-cli": "^3.3.12"
|
2013-08-04 17:42:12 +04:00
|
|
|
},
|
|
|
|
"scripts": {
|
2019-05-26 01:54:41 +03:00
|
|
|
"prebuild": "rimraf dist/ && rimraf build/ && mkdirp dist && mkdirp build",
|
|
|
|
"build": "tsc --module commonjs && rollup -c rollup.config.ts && npm run build:create-reftest-list && npm run build:testrunner && npm run build:minify",
|
|
|
|
"build:testrunner": "rollup -c tests/rollup.config.ts",
|
|
|
|
"build:minify": "uglifyjs --compress --comments /^!/ -o dist/html2canvas.min.js --mangle -- dist/html2canvas.js",
|
2019-04-13 09:17:23 +03:00
|
|
|
"build:reftest-result-list": "ts-node scripts/create-reftest-result-list.ts",
|
2019-05-26 01:54:41 +03:00
|
|
|
"build:create-reftest-list": "ts-node scripts/create-reftest-list.ts tests/reftests/ignore.txt build/reftests.ts",
|
2019-04-13 09:17:23 +03:00
|
|
|
"build:reftest-preview": "webpack --config www/webpack.config.js",
|
2019-04-07 22:49:10 +03:00
|
|
|
"release": "standard-version",
|
2019-05-26 01:54:41 +03:00
|
|
|
"format": "prettier --write \"{src,www/src,tests,scripts}/**/*.ts\"",
|
|
|
|
"lint": "eslint src/**/*.ts",
|
|
|
|
"test": "npm run lint && npm run unittest && npm run karma",
|
2019-09-25 13:37:59 +03:00
|
|
|
"unittest": "jest",
|
2017-08-30 16:31:51 +03:00
|
|
|
"karma": "node karma",
|
2019-05-26 01:54:41 +03:00
|
|
|
"watch": "rollup -c rollup.config.ts -w",
|
|
|
|
"watch:unittest": "mocha --require ts-node/register --watch-extensions ts -w src/**/__tests__/*.ts",
|
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": {
|
2019-05-26 01:54:41 +03:00
|
|
|
"css-line-break": "1.1.1"
|
2017-07-29 05:07:42 +03:00
|
|
|
}
|
2013-05-29 18:53:47 +04:00
|
|
|
}
|