krabber
Version:
Easy to use webscraper
105 lines (104 loc) • 3.51 kB
JSON
{
"name": "krabber",
"version": "1.1.7",
"description": "Easy to use webscraper",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": "https://gitlab.com/ledgit/krabber.git",
"author": "Ledgit bvba",
"license": "MIT",
"keywords": [
"HTML",
"scraping",
"webscraper",
"webscraping",
"axios",
"JSDOM",
"pagination"
],
"scripts": {
"describe": "npm-scripts-info",
"build": "run-s clean && run-p build:*",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:tslint": "tslint --fix --project .",
"test": "run-s build test:*",
"test:lint": "tslint --project . && prettier \"src/**/*.ts\" --list-different",
"test:unit": "nyc --silent ava",
"watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"",
"cov": "run-s build test:unit cov:html && open-cli coverage/index.html",
"cov:html": "nyc report --reporter=html",
"cov:send": "nyc report --reporter=lcov && codecov",
"cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100",
"doc": "run-s doc:html && open-cli build/docs/index.html",
"doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs",
"doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json",
"reset": "git clean -dfx && git reset --hard && npm i",
"clean": "trash build test",
"release": "run-s reset test cov:check doc:html version",
"version": "standard-version",
"publish": "git push --follow-tags origin master && npm publish"
},
"scripts-info": {
"info": "Display information about the package scripts",
"build": "Clean and rebuild the project",
"fix": "Try to automatically fix any linting problems",
"test": "Lint and unit test the project",
"watch": "Watch and rebuild the project on save, then rerun relevant tests",
"cov": "Rebuild, run tests, then create and open the coverage report",
"doc": "Generate HTML API documentation and open it in a browser",
"doc:json": "Generate API documentation in typedoc JSON format",
"reset": "Delete all untracked files and reset the repo to the last commit"
},
"engines": {
"node": ">=8.9"
},
"dependencies": {
"axios": "^0.19.2",
"clean-deep": "^3.3.0",
"jsdom": "^16.2.2"
},
"devDependencies": {
"@bitjson/npm-scripts-info": "^1.0.0",
"@bitjson/typedoc": "^0.15.0-0",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/jsdom": "^16.2.1",
"ava": "3.8.2",
"codecov": "^3.6.5",
"cz-conventional-changelog": "^3.2.0",
"npm-run-all": "^4.1.5",
"npm-scripts-info": "^0.3.9",
"nyc": "^15.0.1",
"open-cli": "^6.0.1",
"prettier": "^2.0.5",
"standard-version": "^8.0.0",
"trash-cli": "^3.0.0",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-immutable": "^6.0.1",
"typescript": "^3.9.2"
},
"ava": {
"failFast": true,
"files": [
"build/main/**/*.spec.js"
]
},
"prettier": {
"singleQuote": true
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"exclude": [
"**/*.spec.js"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}